在redhat和centos上可以使用chkconfig 来管理开机启动项,Ubuntu上可以用 sysv-rc-conf 来代替。
直接使用apt-get 安装即可,使用方法和chkconfig 类似。