August 2017
Intermediate to advanced
278 pages
8h 53m
English
To install the latest NGINX release, add the NGINX mainline repository by adding the following to /etc/yum.repos.d/nginx.repo:
[nginx] name=nginx repo baseurl=http://nginx.org/packages/mainline/OS/OSRELEASE/$basearch/ gpgcheck=0 enabled=1
You'll also need to replace OS with either rhel or centos, and replace OSRELEASE with 5, 6, or 7, for your correct release.
Once you have the repository installed, refresh the packages and then install NGINX.
yum updateyum install nginx
If you have any issues, double check your repository for the correct syntax.
Read now
Unlock full access