Advertisement
niammuddin

Install Nginx Debian Latest Version

Aug 25th, 2014
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #Start with downloading and installing PGP keys
  2. wget -O key http://nginx.org/keys/nginx_signing.key && sudo apt-key add key && sudo rm -f key
  3.  
  4. #Add these lines to /etc/apt/sources.list
  5. deb http://nginx.org/packages/debian/ squeeze nginx
  6. deb-src http://nginx.org/packages/debian/ squeeze nginx
  7.  
  8. #Update apt lists
  9. sudo apt-get update
  10.  
  11. #Upgrade or install nginx
  12. sudo apt-get upgrade
  13. #or
  14. sudo apt-get install nginx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement