在ubuntu中安装nginx无法安装,报错

问答中心分类: Nginx在ubuntu中安装nginx无法安装,报错
715751607@qq.com asked 7 年 ago
应该是:update-rc.d nginx defaults 这条命令错误,错误信息如下:
insserv: script nginx is not an executable regular file, skipped!
 
同时无法通过:service nginx start 管理服务
 
ubuntu版本:
# cat /etc/issue
Ubuntu 16.04 LTS \n \l

2 Answers
oneinstack answered 7 年 ago
可否私信发ip sshroot密码给我?

715751607@qq.com answered 7 年 ago
在本地ubuntu测试安装的,再次安装后成功了,不清楚是什么原因导致的。