1.安装nginx的rpm包
rpm -ivh /local/nginx-1.20.1-1.el7.ngx.x86_64
2.查看是否安装成功
rpm -qa nginx
3.启动nginx
systemctl start nginx
4.查看是否运行成功
ps -df |grep nginx
5.查看nginx所在文件夹
find / -name nginx
1.安装nginx的rpm包
rpm -ivh /local/nginx-1.20.1-1.el7.ngx.x86_64
2.查看是否安装成功
rpm -qa nginx
3.启动nginx
systemctl start nginx
4.查看是否运行成功
ps -df |grep nginx
5.查看nginx所在文件夹
find / -name nginx