Install Nginx on CentOS 7
Install Nginx on CentOS 7 Table of Contents Introduction Requirements Install Nginx Start Nginx Introduction Nginx is a popular light-weight and high performance web server and commonly used as a proxy. It is quite flexible and a good alternative to Apache. Requirements CentOS 7 or Red Hat Enterprise Linux 7 Local Linux and ProfitBricks firewall ports need to be opened for external requests Install Nginx Many distributions include Nginx as part of the default distribution repository. However, this version can become outdated and it is recommended installing from a repository containing the latest version. One common repository added to CentOS and Red Hat Enterprise Linux (RHEL) servers is the Extra Packages for Enterprise Linux (EPEL). The following command will add the EPEL repository to CentOS 7 or RHEL 7. sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm Optionally, the Nginx project also maintains a repository c...