Andy Jarrett // Code. Develop. Manage.

Installing NGINX on Ubuntu Oneiric

It's a short and sweet guide to getting nginx up and running on Ubuntu using the CL but hopefully it will help someone else out.

Append the appropriate stanza to /etc/apt/sources.list.

deb http://nginx.org/packages/ubuntu/ oneiric nginx
deb-src http://nginx.org/packages/ubuntu/ oneiric nginx

Install NGINX

sudo -s
apt-get update
apt-get install nginx

Check it has worked

w3m 127.0.01

This should return something like " Welcome to nginx!". If you are lookg for the .CONF file its at /etc/nginx/nginx.conf

For your next steps to see how NGINX processes a request read nginx.org/en/docs/http/request_processing.html then check out wiki.nginx.org/Main


I’m here, learning and working away. If you liked this content and want to keep me going, consider buying me a coffee.
Your support keeps this site running and the coffee brewing! ☕️