Nginx 1.4 on Ubuntu 13.04 from source
12 May 2013I worked with Apache for a long time and I never had the chance to do something with nginx until now. I decided to try nginx and see if I can get it up and running. In this post you can find the steps needed to make the nginx 1.4 available on your Ubuntu.
Prepare the build server
Download all the necessary files. Nginx needs pcre to be build.
Unpack the compressed files
Build nginx where we tell it the pcre location, where we want to install it and we also tell it we don’t want to use gzip at the moment. To speed up the build you can use make -j 4 (or any other amount of threads)
We can start nginx now
Nginx can be used to serve the pages now but it is not configured completely, it needs to be fine tuned.
For those who do not want to go trough all the steps them self here is a video showing how it’s done.