- Download httpd-2.0.49.tar.gz from one of the mirrors at http://http.apache.org.
- Unpack apache in a source directory. I use /usr/local/src/
cp -p httpd-2.0.49.tar.gz /usr/local/src/
cd /usr/local/src
tar xvzf httpd-2.0.49.tar.gz
This will leave you with /usr/local/src/httpd-2.0.48.
- Read /usr/local/src/httpd-2.0.48/INSTALL for installation detail.
- I'm going to put Apache 2.0.48 in /usr/local/apache. We'll want SSL support (included in Apache 2.0), as well as DSO support. So, in /usr/local/src/httpd-2.0.48, setup the Apache build:
cd /usr/local/src/httpd-2.0.49
./configure --prefix=/usr/local/apache --enable-ssl --enable-so
- When configure completes, compile Apache and install it:
make
make install
- You should now have an Apache instance in /usr/local/apache. Verify config:
/usr/local/apache/bin/apachectl configtest
- If you get a Syntax OK message, startup Apache:
/usr/local/apache/bin/apachectl start
- Verify Apache is running with http://localhost. You should see the Apache welcome page. If you're installing Apache remotely, you should be able to check http://IP_ADDRESS where IP_ADDRESS is the address of the machine where Apache is installed.
- Shutdown Apache until you can get the connector installed:
/usr/local/apache/bin/apachectl stop