rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
yum install nginx -y
service nginx start
iptables -I INPUT -p tcp --dport 80 -j ACCEPT
service iptables save