安装过程
安装 sysv-rc-conf
sudo apt-get install sysv-rc-conf
确认是否存在
ls /usr/sbin/ | grep sysv
更名
cp /usr/sbin/sysv-rc-conf /usr/sbin/chkconfig
确认修改成功
ls /usr/sbin/ | grep chk
赋予权限
chmod 755 chkconfig
测试
sudo chkconfig
成功
安装 sysv-rc-conf
sudo apt-get install sysv-rc-conf
确认是否存在
ls /usr/sbin/ | grep sysv
更名
cp /usr/sbin/sysv-rc-conf /usr/sbin/chkconfig
确认修改成功
ls /usr/sbin/ | grep chk
赋予权限
chmod 755 chkconfig
测试
sudo chkconfig
成功