Back

Apache: Installation

Forward
Selber compilieren/installieren:
INSTALL{,.SSL} lesen
./configure --prefix=PREFIX
     $ make
     # make install
     # PREFIX/bin/apachectl start
Installation aus RPM (Red Hat):
rpm -Uhv apache-1.3.9-4.i386.rpm
VerzeichnisDateienInhalt
/usr/sbinhttpddas Serverprogramm
/etc/httpd/confhttpd.conf
(srm.conf access.conf)
Konfigurations-Dateien
/var/log/httpdaccess_log error_logLog-Dateien
/var/cache/httpd Cache-Dateien (wenn als Proxy)
/usr/lib/apachedie Module
/home/httpd/htmlWWW-Dokumente
icons kleine Bildchen
cgi-binCGI-Programme


Steuerprogramm: /usr/sbin/apachectl (leider nicht im normalen RPM)
start start httpd
stop stop httpd
restart restart httpd if running by sending a SIGHUP or start if not running
fullstatus dump a full status screen; requires lynx and mod_status enabled
status dump a short status screen; requires lynx and mod_status enabled
graceful do a graceful restart by sending a SIGUSR1 or start if not running
configtest do a configuration syntax test
help this screen


Start
/etc/rc.d/init.d/httpd start   oder
/usr/sbin/apachectl start

Test
http://localhost/



Vortrag zum Linux-Stammtisch Januar 2000

Frank Richter, Januar 2000