CentOS 6.x usa yum para instalar el entorno nginx

  
 

1, instale los paquetes necesarios para nginx

[root @ web01 ~] # yum -y install openssl-devel pcre-devel zlib-devel

2, instale la fuente oficial de yum < Br>

[root @ web01 ~] # rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm

3, instale nginx

[root @ web01 ~] # yum -y install nginx

Copyright © Conocimiento de Windows All Rights Reserved