1 yum install -y epel-release
2.yum install -y nginx
3. systemctl start nginx
4.systemctl enable nginx
5. systemctl status nginx
6.测试 localhost:80 出现如下页面,表示nginx安装成功。

7. 打开 /etc/nginx/nginx.conf, 添加如下高亮的部分。重启nginx : systemctl restart nginx

1 yum install -y epel-release
2.yum install -y nginx
3. systemctl start nginx
4.systemctl enable nginx
5. systemctl status nginx
6.测试 localhost:80 出现如下页面,表示nginx安装成功。
7. 打开 /etc/nginx/nginx.conf, 添加如下高亮的部分。重启nginx : systemctl restart nginx
本文标题:1.[创建Local Repository]1. 安装http
本文链接:https://www.haomeiwen.com/subject/widkwftx.html
网友评论