This article is from: http://www.cnpublic.com/2009/08/install-nginx-on-ubuntu-904/! Nginx ("enginex") is a high-performance HTTP and reverse proxy server and an IMAP/POP3/SMTP proxy server. Nginx is developed by the Rambler.ru site, where IgorSysoev is the second highest traffic in Russia.
This article comes from:Http://www.cnpublic.com/2009/08/install-nginx-on-Ubuntu-904/Reprinted please indicate the source!
Nginx ("engine x") is a high-performance HTTP and reverse proxy server and an IMAP/POP3/SMTP proxy server.
Nginx was developed by the Rambler.ru site with the highest access volume in Russia as Igor Sysoev. It has been running on this site for more than two and a half years.
Igor publishes source code in the form of a class BSD license. Although it is still a test version, Nginx is already stable, rich feature sets,
The sample configuration files and low system resource consumption are well known.
Next we will talk about the process of installing the nginx-0.7.61 in Ubuntu 9.04.
I. Preparations
First of all, of course we want to download nginx, Here http://sysoev.ru/nginx/nginx-0.7.61.tar.gz
Download the related installation packages. ubuntu needs to install the following packages.
$ Sudo apt-get install libpcre3 &&\
$ Sudo apt-get install zlib1g &&\
$ Sudo apt-get install libpcre3-dev &&\
$ Sudo apt-get install zlib1g-dev &&\
$ Sudo apt-get install libssl &&\
$ Sudo apt-get install libssl-dev
If other packages are found to be missing during the build process, you can continue to install them through apt-get.
Iii. Compilation and Installation
$ Tar-xzvf nginx-0.7.61.tar.gz
$ Cd nginx-0.7.61/
$./Configure
$ Make
$ Sudo make install
4. Run the test
$ Cd/usr/local/nginx/sbin
$ Sudo./nginx
Enter http: // localhost in the browser if you see:
Welcome to nginx!
Congratulations! The installation is successful!