Install Nginx on Debian

If you wish what I think about nginx go here.

So here is the simplest way to install fresh version of Nginx on Debian system. I do not prefer to manually compile nginx. Also nginx developing continuously, means your distribution of Linux will have outdated version of nginx. The easiest way is to add nginx repository to your Linux system. 

Open your /etc/apt/sources.list file. Add the following strings after #Nginx.

deb http://nginx.org/packages/debian/ squeeze nginx
deb-src http://nginx.org/packages/debian/ squeeze nginx

edti repository source for nginx

Process update of repository: aptitude update.

updating repository source for nginx

Now install the nginx: aptitude install nginx

Install Nginx on Debian

Here you are! Your nginx is installed to your Linux system.

Leave a Comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.