2023-02-23
1、Nginx命令
(1)开启Nginx
安装Nginx之后,在“/usr/local/nginx/sbin”目录中
sudo ./nginx
(2)关闭Nginx,在“/usr/local/nginx/sbin”目录中
sudo ./nginx -s stop
(3)查看Nginx进程
ps -ef | grep nginx
(4)重新加载命令
sudo ./nginx -s reload
标签:命令,sudo,笔记,Nginx,usr,nginx,linux From: https://www.cnblogs.com/isDaHua/p/17147269.html