设置开机启动
systemctl enable nginx
开启nginx服务
systemctl start nginx
重启nginx服务
systemctl restart nginx
停止nginx服务
systemctl stop nginx
查看nginx服务状态
systemctl status nginx
设置开机启动
systemctl enable nginx
开启nginx服务
systemctl start nginx
重启nginx服务
systemctl restart nginx
停止nginx服务
systemctl stop nginx
查看nginx服务状态
systemctl status nginx
本文标题:CentOS7 Nginx设置开机启动
本文链接:https://www.haomeiwen.com/subject/qzvcbttx.html
网友评论