Apache Installieren

Apache auf Linux Systemen Installieren

##################################################
#Anleitung zur Installation für APACHE-Webserver:#
##################################################


-apache bei apache.org oder
-apache startscript
alle dies Dateien nach /opt/src kopieren
apache, in /opt/src entpacken
##################################################
# apache (mit DSO-Support) installieren #
##################################################

Apache installieren:
--------------------
#falls etc/httpd/httpd.conf schon vorhanden: mv etc/httpd/httpd.conf etc/httpd/httpd.conf_SuSE
#oder mv /etc/httpd /etc/httpd_old

tar xvfz apache_1.3.x.tar.gz
cd apache_1.3.x
./configure --prefix=/opt/apache --sysconfdir=/etc/httpd --enable-rule=SHARED_CORE --enable-module=so
make
make install
/opt/apache/bin/apachectl start


Start- und Stopscripte anpassen:
--------------------------------
#falls startscript schon vorhanden: mv /sbin/init.d/apache /sbin/init.d/apache_old
cp /opt/src/apache.startscript /sbin/init.d/apache
#link in /sbin/init.d restellen, falls noch nicht vorhanden
cd /sbin/init.d/rc2.d
ln -s ../apache S21apache

################################################################
## FAQ ##
################################################################


Q:Fehler: configure too old 'touch configure'!
A:Datum des Rechners überprüfen und anpassen
./configure nochmal audführen

Q:bei der ausführung von "make":error limits.h not found!
A:Sicherstellen, dass lx_SuSE(serie d) installiert ist
cd /usr/src
mv linux linux_old
ln -s linux-2.2.14.SuSE/ linux
cd /opt/src/apache_1.3.12
make
make install