centos install nginx¢os 添加网易源

五、安装nginx
由于centos没有默认的nginx软件包,需要启用REHL的附件包

  1. rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
  2. yum -y install nginx
reference:
http://hi.baidu.com/passprot/blog/item/a93dcd0ed770b4ec36d122cf.html


你可能感兴趣的:(Install)