Howto Install Nginx webserver in Ubuntu 8.04 (Hardy Heron)
Sponsored Link
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.
how do i configure it to run on a different port?
wow, really interesting article, im amazed
:/
great ! not even a link to a doc/faq/website !
🙁
@logik
I have updated the article with more information
@logik
The docs are in Russian comrade! So how well do you read cyrillic?
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/