|
|||
|
|||
Nginx (pronounced “engine x”) is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. Written by Igor Sysoev in 2005, Nginx now hosts between 1% and 4% of all domains worldwide .Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption.
Basic HTTP features: Handling of static files, index files, and autoindexing; open file descriptor cache; User redirection to IMAP/POP3 backend using an external HTTP authentication server;
At the time of writing, the latest stable version is 0.6.35 and if you need more information check nginx main site http://nginx.net/
sudo aptitude install libpcre3 libpcre3-dev libpcrecpp0 libssl-dev zlib1g-dev
Download latest stable version from here or using the following command #wget http://sysoev.ru/nginx/nginx-0.6.35.tar.gz
Now you have nginx-0.6.35.tar.gz file unpack this file using the following command #tar -zvxf nginx-0.6.35.tar.gz
cd nginx-0.6.35
Now you need to start installation so for this you need to check what options you want to use from here http://wiki.codemongers.com/NginxInstallOptions In this installation we are using only two options ./configure --sbin-path=/usr/local/sbin --with-http_ssl_module
After completion of installation you should see similar to the following details which are very useful make a note of them nginx path prefix: “/usr/local/nginx” nginx binary file: “/usr/local/sbin” nginx configuration file: “/usr/local/nginx/conf/nginx.conf”
Start Nginx using the following command #/usr/local/sbin/nginx
Now you can navigate your web browser and point the follow url http://yourserverip
If you want nginx startup script download from here in to the /etc/init.d directory Now you need to make scipt executable #chmod +x /etc/init.d/nginx
Now we have the base script prepared, we need to add it to the default run levels using the following command #/usr/sbin/update-rc.d -f nginx defaults From now you can use the following commands to start,stop and restart nginx.By default nginx will not provide this scripts #/etc/init.d/nginx start # /etc/init.d/nginx stop # /etc/init.d/nginx restart
| |||
|
Please register, you are currently just a guest here.
|
|||
| Similar Articles: | |||
|
|
|||
|
|||
|
|||
|
|
|||
|
|||
|
|||
|
|
|||
Members of Guest cannot leave comments. |
|||
Welcome to XNUXER.OR.ID, by visit our site we like to help you to get main information about internet security and opensource so dont forget to update your knowledge every time using our website.
To access file download or private information here you must register, please register here.
| Top Contributors: | |||
| 1 | webmaster | 166 | |
Articles: |
| This Hour: 0 |
| Today: 0 |
| This Month: 0 |
| All Time: 164 |
| Membership: |
| Registered Today :18 |
| This Hour:1 |
| This Month:333 |
| Total:4540 |
| Banned:0 |
| What do you think about our website? |