Nginx安装
一、下载

二、解压缩
tar -zxvf nginx-1.20.2
三、编译
yum install -y gcc pcre-devel zlib-devel
./configure --prefix=/usr/nginx
四、安装
make && make install
五、启动
[root@Nginx nginx-1.20.2]
[root@Nginx nginx]
conf html logs sbin
[root@Nginx nginx]
[root@Nginx sbin]
root 12653 0.0 0.0 112824 980 pts/0 R+ 10:17 0:00 grep --color=auto nginx
[root@Nginx sbin]
[root@Nginx sbin]
root 12669 0.0 0.0 20572 616 ? Ss 10:18 0:00 nginx: master process ./nginx
nobody 12671 0.0 0.0 23100 1376 ? S 10:18 0:00 nginx: worker process
root 12678 0.0 0.0 112824 980 pts/0 R+ 10:18 0:00 grep --color=auto nginx

六、停止服务
[root@Nginx sbin]