Apache: What I did today

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
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

References:

http://stackoverflow.com/questions/3940909/configure-apache-to-listen-on-port-other-than-80/34536957#34536957

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s