ubuntu(debian系)でchkconfig
chkconfigってlinuxの共通コマンドだと思ってました。
違うんだ…。
sysv-rc-configってのが、chkconfig相当のコマンドみたい。
sysv-rc-configをインストール
sudo apt-get install sysv-rc-config sudo sysv-config --list [ランレベルごとの起動on/off出力] sudo sysv-config [サービス名] on or off [サービスで起動on/offの設定]
ちなみに、serviceコマンドはインストールされてないらしい。
sudo apt-get install debian-helper-scripts sudo apt-get install sysvconfig
memo
apt-getでインストール可能なパッケージを調べる方法
sudo apt-cache search [パッケージ名]