chkconfig: command not found
时间:2019-01-08 00:36:01
收藏:0
阅读:1059
问题描述
- Ubuntu 16.04 下安装 Nginx 服务器,在添加 nginx 服务时出现如下信息
# chkconfig --add nginx
chkconfig: command not found
问题原因
- Ubuntu 中
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
评论(0)