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
本文标题:nginx-rpm包简单安装运行
本文链接:https://www.haomeiwen.com/subject/mcdogrtx.html
网友评论