1、#yum install -y nginx
若没有nginx源--->#yum install -y epel-release
2、启动
#systemctl start nginx
3、浏览器访问:localhost
可以看到nginx页面。
关于访问php页面的设置,
请查看http://mp.blog.csdn.net/postedit/79107920
最后nginx修改的部分
1、#yum install -y nginx
若没有nginx源--->#yum install -y epel-release
2、启动
#systemctl start nginx
3、浏览器访问:localhost
可以看到nginx页面。
关于访问php页面的设置,
请查看http://mp.blog.csdn.net/postedit/79107920
最后nginx修改的部分