# chkconfig --add nginx
chkconfig: command not found
chkconfig
已经被 sysv-rc-conf
所替代,chkconfig
命令如下:# chkconfig --add nginx
# chkconfig nginx on
# apt-get update
# apt-get install sysv-rc-conf
# sysv-rc-conf nginx on
原文:https://www.cnblogs.com/wumz/p/10236694.html