Apache: What I did today

--Originally published at Mental Droppings of a Tired Student

This is what I did to build an Apache installation in my directory on the server.

wget http://ftp.wayne.edu/apache//httpd/httpd-2.4.23.tar.gz
gzip -d httpd-2.4.23.tar.gz
tar xvf httpd-2.4.23.tar

cd /home/a01225670/httpd-2.4.23
mkdir /home/a01225670/apache2
./configure –prefix=/home/a01225670/apache2
make install

cd /home/a01225670/apache2
vi /home/a01225670/apache2/conf/httpd.conf

# Look for the line that says Listen 80 in the conf file and change it to whatever higher port number you choose I’m using 5000

# Start the daemon
/home/a01225670/apache2/bin/apachectl -k start


netstat -an | grep 5000
lsof -i:5000