3.9.09

:: build apache httpd on centos

:: what is
please take a look at this.

:: download apache 2.2.13
[ root:~ ]# mkdir downlad/
[ root:~ ]# cd downlad/
[ root:downlad ]# wget http://apache.cbn.net.id/httpd/httpd-2.2.13.tar.bz2

:: compiling apache 2.2.13
[ root:downlad ]# tar -xjf httpd-2.2.13.tar.bz2
[ root:downlad ]# cd httpd-2.2.13
[ root:httpd-2.2.13 ]# ./configure --prefix=/usr/local/apache2 --enable-mods-shared=most --enable-module=most --enable-so --enable-cache --enable-file-cache --enable-disk-cache --enable-mem-cache
[ root:httpd-2.2.13 ]# make && make install

:: run the httpd
[ root:httpd-2.2.13 ]# /usr/local/apache2/bin/apachectl start

:: testing
[ root:httpd-2.2.13 ]# netstat -lpn | grep :80
tcp 0 0 :::80 :::* LISTEN 14060/httpd
your httpd running ( the port 80 opened ) on your server now.
or
you can open your web browser and goto url : http://yourdomain.tld or http://youriphttpserver


:: link
+ GoogleLinux