去到红色前面网址,找到源名字把红色部分修改
rpm -ivh http://nginx.org/packages/centos/7/x86_64/RPMS/nginx-1.18.0-2.el7.ngx.x86_64.rpm
systemctl enable nginx
systemctl start nginx
curl http://127.0.0.1:80
去到红色前面网址,找到源名字把红色部分修改
rpm -ivh http://nginx.org/packages/centos/7/x86_64/RPMS/nginx-1.18.0-2.el7.ngx.x86_64.rpm
systemctl enable nginx
systemctl start nginx
curl http://127.0.0.1:80