Deluxnetwork
English German French Italian Portuguese Spanish Chinese     
 
Penguin



Apache Installation. (by Ryan Forrester www.d9x.net)
----------------------------------------
[root@server root]# cd /root
[root@server root]# mkdir files
[root@server root]# cd files
[root@server root]# wget http://www.d9x.net/downloads/unix/apache_1.3.27.tar.gz
[root@server root]# tar xzvf apache_1.3.27.tar.gz
[root@server root]# cd apache_1.3.27
[root@server root]# ./configure --prefix=/usr/local/apache --enable-module=all --enable-shared=max --disable-module=auth_db --disable-module=auth_dbm

if you get "None of Berkeley-DB 1.x, 2.x or 3.x libraries found." error
install programs: db1, db1-devel
or do: --disable-module=auth_db --disable-module=auth_dbm

[root@server root]# make
[root@server root]# make install



Using Apache
----------------------------------------
[root@server root]# /usr/local/apache/bin/apachectl start
[root@server root]# /usr/local/apache/bin/apachectl stop
[root@server root]# /usr/local/apache/bin/apachectl restart



If apache has problems starting check the error log /usr/local/apache/logs/error_log
In the httpd.conf set: LogLevel debug for best error_log results.



Uninstalling Apache
----------------------------------------
[root@server root]# rm -rf /usr/local/apache



Linux Hosting by www.d9x.net