会社では CentOS、自宅では Ubuntu を使っています。
サービスの起動等の違いを調べたのでメモしておきます。
- chkconfig : CentOS
$ sudo /sbin/chkconfig --help chkconfig バージョン 1.3.30.2 - Copyright (C) 1997-2000 Red Hat, Inc. このソフトウェアは GNU 一般公共使用許諾契約書に従って無償で再配布することができます。 使用法: chkconfig --list [名前] chkconfig --add <名前> chkconfig --del <名前> chkconfig [--level <レベル>] <名前> <on|off|reset|resetpriorities>
$ locate sysv-rc-conf /usr/sbin/sysv-rc-conf /usr/share/doc/sysv-rc-conf /usr/share/doc/sysv-rc-conf/README (snip) $ sudo /usr/sbin/sysv-rc-conf --help Usage: sysv-rc-conf [ *options* ] sysv-rc-conf --list [ *service* ] sysv-rc-conf [ --level *levels* ] *service* <*on|off*>
- init.d の場所 : CentOS
$ locate init.d /etc/init.d /etc/rc.d/init.d /etc/rc.d/init.d/NetworkManager (snip) /etc/rc.d/init.d/zope
- init.d の場所 : Ubuntu
$ locate init.d /etc/init.d /etc/init.d/.legacy-bootordering /etc/init.d/NetworkManager.dpkg-backup /etc/init.d/README /etc/init.d/acpi-support (snip) /etc/init.d/wpa-ifupdown /etc/init.d/x11-common