タグ

2011年5月10日のブックマーク (2件)

  • chkconfig (RedHat系) と sysv-rc-config (Debian系) - チラシの裏

    RedHat系にはランレベル毎のサービス起動スクリプトのON/OFFを調べる or ON/OFFを設定するchkconfigというコマンドがある。 てっきりLinux共通のコマンドだと思っていた。( ゜Д゜)ヒョエー どうやらRedHat系のコマンドだったらしい。知らなかった(無知全開) というわけで、Ubuntu(Debian系)でも同様のコマンドを探索。 意外と簡単に発見。 sysv-rc-conf というコマンドだそうな。 インストールは簡単。 $ sudo apt-get install sysv-rc-conf 使い方としては、基的にはchkconfigと一緒。 $ sudo sysv-rc-conf --list でランレベル毎の起動ON/OFFが出力される。 $ sudo sysv-rc-conf [service] on/off で起動のON/OFFが設定できる。 ついで

    chkconfig (RedHat系) と sysv-rc-config (Debian系) - チラシの裏
  • ubuntu(debian系)でchkconfig - suusuke@Hatena

    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 sysvconfigmemo apt-getでインストール可能なパッケージを調べる方法 sudo apt-cache search

    ubuntu(debian系)でchkconfig - suusuke@Hatena
    sirocco
    sirocco 2011/05/10
    これか?「sysv-rc-configってのが、chkconfig相当のコマンドみたい」