Apache 2.4 on Ubuntu 13.04 from source
11 May 2013I wanted to test Apache 2.4 on my Ubuntu 13.04 but it was not available as a package, so I went and compiled the sources. In this post you can find the steps needed to make the latest Apache available on your Ubuntu.
Prepare the build server
Download all the necessary files. Apache needs apr, apr-util and pcre to be build.
Unpack the compressed files
Apr and apr-util do not have to be build separately they can be included in Apache.
Pcre needs to be build
Now we can build Apache where we tell it that we have included apr, we tell it where the pcre is located and we also tell it where we want to install it. To speed up the build you can use make -j 4 (or any other amount of threads)
We can start Apache now
Apache is not completely ready now, it needs to be fine tuned. Like adding the user to run under, ip, port, etc..
For those who do not want to go trough all the steps them self here is a video showing how it’s done.