|
|
Installing Apache - Without DSO support |
Also available as
|
|
I normally perform the following su'd as root unless otherwise noted Step 1: make the directory, if it does not already exist, to put the tarball and source tree into mkdir /usr/local/src/apacheStep 2: get the tarball, either from www.apache.org or from a local source download or copy <apacheversion>.tar.gz to /usr/local/src/apacheStep 3: unzip and untar the tarball cd /usr/local/src/apachethe above will unzip and untar the tarball into the required directory tree Step 4: configure the makefile ready to compile ./configure --verbose \verbose is enabled just-for-the-hell-of-it prefix defines the base directory to install into, e.g. /usr/local/apache/1.3.11 enable-module=prefix is again installed just-for-the-hell-of-it, plus it provides lots of extra exciting info when the server is running Step 5: finally do the compile and the install make && make installStep 6: start Apache /usr/local/apache/<apacheversion>/bin/apachectl startyou should now have a working Apache server Step 7: test Apache telnet <hostname> <port>telnet <hostname> <port> where <hostname> is the hostname of the machine Apache is installed and running on and <port> is the number of the port that Apache is running on, usually 80, but sometime 8080, configurable via httpd.conf |