2) Preparing to Install Apache 
1Telnet/SSH into your server if you have not already.
2From the shell prompt, type the following:
cd /usr/local/src
tar xfz apache_xxx.tar.gz
tar xfz php-xxx.tar.gz
3Now we need to figure out where Apache is currently running, so we can configure the new version for the same location. Type:
ps –ef
Look for a line like this:
nobody 32319 340 0 19:48 ? 00:00:00 /usr/local/etc/httpd/bin/httpd
This says Apache is installed in /usr/local/etc/httpd. This may be different on your system, if so, replace /usr/local/etc/httpd with your Apache location in the following steps.
4Now type:
cd /usr/local/src/apache_xxx
./configure --prefix=/usr/local/etc/httpd
This will configure Apache and get ready for compiling in a later step.
User Contributed Notes: 2) Preparing to Install Apache Add a Comment