Oleksandr Bondar

The blog

How to install nginx

October 27th, 2007

Suppose you are logged in as root.

cd /usr/src/
wget http://sysoev.ru/nginx/nginx-0.5.32.tar.gz
tar -xf nginx-0.5.32.tar.gz
cd nginx-0.5.32
apt-get install libpcre3 libpcre3-dev
./configure
make
make install

Configure nginx now:
/usr/local/nginx/conf/nginx.conf

Example to configure

Leave a Reply