ubuntu中并没有chkconfig,但我们可以使用sysv-rc-conf代替
一、chkconfig安装
1.1 安装 sysv-rc-conf
#apt-get install sysv-rc-conf
1.2链接chkconfig
#cp /usr/sbin/sysv-rc-conf /usr/sbin/chkconfig
二、测试
执行 chkconfig 命令
# chkconfig