零碎:Centos7
Nginx:1.20

Nginx装置:
yum -y install nginx
1.开机启动
systemctl enable nigin
2.启动服务
systemctl start nginx

nginx
3.重载服务
systemctl reload nginx

pkill -HUP nginx
4.重启服务
systemctl restart nginx
5.敞开服务
systemctl stop nginx

pkill nginx
6.Nginx过程治理
pstree |grep nginx

ps -ef |grep nginx
7.Nginx端口治理
netstat -tunpl |grep nginx
8.Nginx启动测试
间接拜访80端口就行