1、nginx安装参看nginx篇
常用的linux语句的使用:
a、systemctl status nginx => 查看nginx的运行状态;
b、systemctl start nginx => 启动nginx
c、systemctl reload nginx => 重载nginx系统 可以使用 nginx -s reload -c /etc/nginx/nginx.conf替代
d、systemctl restart nginx => 重启nginx;
e、systemctl stop nginx => 停止nginx;
f、pstree | grep nginx => nginx的进程管理 也可以使用 ps -ef | grep nginx| grep -v grep
g、netstat -tunpl | grep nginx => 查看端口
原文地址:https://www.cnblogs.com/rickyctbu/p/12500910.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。