找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 855|回复: 0

RPM Nginx安装与调试

[复制链接]

304

主题

42

回帖

1338

积分

管理员

积分
1338
发表于 2021-4-16 02:37:08 | 显示全部楼层 |阅读模式
Nginx安装:
yum -y install nginx*

Nginx服务管理:
1.开机启动
systemctl enable nginx

2.启动服务
systemctl start nginx
nginx

3.重载服务
systemctl reload nginx
pkill -HUP nginx

4.重启服务
systemctl restart nginx

5.关闭服务
systemctl stop nginx
pkill nginx

Nginx进程管理:
pstree |grep nginx
ps -ef |grep nginx

Nginx端口管理:
netstat -tunpl |grep nginx

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|外汇论坛 ( 粤ICP备16021788号 )

GMT+8, 2024-10-23 07:27 , Processed in 0.070504 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表