Howto Install Nginx webserver in Ubuntu 8.04 (Hardy Heron)

Sponsored Link
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. Although still in beta, Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption.

Currently Ubuntu Hardy will install Nginx version 0.5.33 using aptitude.

Install Nginx webserver in Ubuntu Hardy

sudo aptitude install nginx

This will install all the required packages for nginx.

Start Nginx webserver

By default nginx will not start automatically so you need to start using the following command

sudo /etc/init.d/nginx start

Testing nginx webserver

You need to point your web browser and enter your server ip address

http://serveripaddress

You should see similar to the following screen.

Start and Stop nginx webserver

If you want to start,stop and restart using the following commands

sudo /etc/init.d/nginx start
...
sudo /etc/init.d/nginx stop
...
sudo /etc/init.d/nginx restart

You can check more documentation from here

This is just beginning of nginx web server articles we are working on to provide PHP support,configuring virtual hosts and more.

You may also like...

6 Responses

  1. ruhaan says:

    how do i configure it to run on a different port?

  2. gp says:

    wow, really interesting article, im amazed

    :/

  3. logik says:

    great ! not even a link to a doc/faq/website !

    🙁

  4. admin says:

    @logik

    I have updated the article with more information

  5. Hawk says:

    @logik

    The docs are in Russian comrade! So how well do you read cyrillic?

  6. Initcron says:

    I have automated nginx setup with php on ubuntu. here is the article with links to scripts http://www.initcron.org/how-tos/autoinstall-nginx-web-server-with-php-on-ubuntu-10-4-lucid/

Leave a Reply

Your email address will not be published. Required fields are marked *