Ubuntu: nginx.service is masked

service nginx start
提示

Failed to start nginx.service: Unit nginx.service is masked.

解决方案:
执行如下三条指令

systemctl unmask nginx.service
systemctl unmask nginx.socket
systemctl start nginx.service
相关文章
添加新评论
取消评论
*
*
*
勇士!消灭0条评论,这么艰巨的任务就靠你了!