Install Nginx on CentOS using YUM
To install Nginx web server using YUM on CentOS or Ubuntu. Click here and choose the Pre-Built Packages for your OS. Copy the pre-built package (RPM) link and then open your SSH and type: rpm -Uvh http://nginx.org/packages/rpm-file.rpm