Linux/Ubuntu Server/TIPS集
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#topicpath
----
#contents
**バージョン確認 [#k092b32d]
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
** chkconfigがない。 [#f4350efb]
かわりに sysv-rc-conf があるみたい。
# sudo apt install sysv-rc-conf
試してみる。
# sudo sysv-rc-conf --list | grep apache2
apache2 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# sudo sysv-rc-conf apache2 --level 345 off
# sudo sysv-rc-conf --list | grep apache2
apache2 0:off 1:off 2:on 3:off 4:off 5:off 6:off
# sudo sysv-rc-conf apache2 --level 345 on
# sudo sysv-rc-conf --list | grep apache2
apache2 0:off 1:off 2:on 3:on 4:on 5:on 6:off
chkconfigとおんなじじゃないか。
sudo sysv-rc-conf でUIっぽくみることが出来る。。
というか、そもそもchkconfig ってLinux全体でディスコンにな...
[[ubuntu server 16.04.2でsystemdから自動起動 - JP7FKFの備...
** systemctlの件。 [#h28fd996]
$ sudo systemctl get-default
graphical.target
[[Linux女子部 systemd徹底入門>https://www.slideshare.net...
----
この記事は
#vote(おもしろかった,そうでもない)
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}
終了行:
#topicpath
----
#contents
**バージョン確認 [#k092b32d]
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
** chkconfigがない。 [#f4350efb]
かわりに sysv-rc-conf があるみたい。
# sudo apt install sysv-rc-conf
試してみる。
# sudo sysv-rc-conf --list | grep apache2
apache2 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# sudo sysv-rc-conf apache2 --level 345 off
# sudo sysv-rc-conf --list | grep apache2
apache2 0:off 1:off 2:on 3:off 4:off 5:off 6:off
# sudo sysv-rc-conf apache2 --level 345 on
# sudo sysv-rc-conf --list | grep apache2
apache2 0:off 1:off 2:on 3:on 4:on 5:on 6:off
chkconfigとおんなじじゃないか。
sudo sysv-rc-conf でUIっぽくみることが出来る。。
というか、そもそもchkconfig ってLinux全体でディスコンにな...
[[ubuntu server 16.04.2でsystemdから自動起動 - JP7FKFの備...
** systemctlの件。 [#h28fd996]
$ sudo systemctl get-default
graphical.target
[[Linux女子部 systemd徹底入門>https://www.slideshare.net...
----
この記事は
#vote(おもしろかった,そうでもない)
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}
ページ名: