Saturday, June 17, 2017

How to install latest version of NGINX in Ubuntu 14.04

Execute the below commands to install the latest version NGINX in Ubuntu 14.04 trusty.
 cd /tmp/ && wget http://nginx.org/keys/nginx_signing.key  
 sudo apt-key add nginx_signing.key  
 sudo vi /etc/apt/sources.list.d/nginx.list  
add the below and save.
 deb http://nginx.org/packages/mainline/ubuntu/ trusty nginx  
 deb-src http://nginx.org/packages/mainline/ubuntu/ trusty nginx  
Finally execute the below command.
 sudo apt-get update && sudo apt-get install nginx  

That's it... We are now done with the installation of the latest NGINX version!!!

Reference

[1] https://www.liberiangeek.net/2014/10/install-latest-version-nginx-ubuntu-14-10/

No comments:

Post a Comment