1、CentOS 6.5,先执行:
- rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
2,查看 yum 的 nginx 信息 []
- # yum info nginx
3,安装并启动 nignx
- [ ~]# yum install nginx
- [ ~]# service nginx start
Starting nginx: [OK]
4,然后进入浏览器,输入测试,如果看到
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to .
Commercial support is available at .
恭喜你,你成功了!
来源: http://www.bubuko.com/infodetail-1869040.html