57
56

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ubuntu版chkconfigのsysv-rc-confを使う

Posted at

サーバ起動時にApacheも自動で起動させたいときなど、chkconfigコマンドで設定を行うことで実現できる。

しかしUbuntu12.10からchkconfigが使えなくなって、代わりに「sysv-rc-conf」というのが用意されている。

##sysv-rc-confのインストール

$ sudo apt-get install sysv-rc-conf

##使い方

使い方はchkconfigと同じ

ex ) apache2をサーバー起動時に自動で起動させる

$ sysv-rc-conf apache2 on
57
56
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
57
56

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?