CentOS7 Nginx设置开机启动

设置开机启动

systemctl enable nginx

开启nginx服务

systemctl start nginx

重启nginx服务

systemctl restart nginx

停止nginx服务

systemctl stop nginx

查看nginx服务状态

systemctl status nginx

    原文作者:可爱飞行猪
    原文地址: https://www.jianshu.com/p/82675d6326e2
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞