在centos里安装Nginx

 

(1)下载Nginx的RPM包

wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm

(2)安装rpm包

rpm -ivh nginx-release-centos-6-0.el6.ngx.noarch.rpm

(3)采用yum进行安装Nginx

yum install nginx

注意:需要按y进行确认安装

posted @ 2016-07-05 13:50  心浩宇  阅读(114)  评论(0编辑  收藏  举报