Build/Install Apache 2.0

  1. Download httpd-2.0.49.tar.gz from one of the mirrors at http://http.apache.org.
  2. 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.
  3. Read /usr/local/src/httpd-2.0.48/INSTALL for installation detail.
  4. 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
  5. When configure completes, compile Apache and install it:
    make
    make install
  6. You should now have an Apache instance in /usr/local/apache. Verify config:
    /usr/local/apache/bin/apachectl configtest
  7. If you get a Syntax OK message, startup Apache:
    /usr/local/apache/bin/apachectl start
  8. 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.
  9. Shutdown Apache until you can get the connector installed:
    /usr/local/apache/bin/apachectl stop

  Main Continue to Mono