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!!!
No comments:
Post a Comment