Académique Documents
Professionnel Documents
Culture Documents
PLAN
Installation dApache:
Install Apache web server sur Linux Install PHP
Configuration dApache:
Httpd.conf Dmarrage Pageweb
INTRODUCTION
INSTALLATION:
INSTALLATION:
Apache partir dune source:
Dans /usr/src/packages/RPMS/i386
INSTALLATION:
Installer :
INSTALLATION:
INSTALLATION dautres modules dapache:
$ tar zxvf httpd-2.0.47.tar.gz httpd-2.0.47/httpd.spec $ mv httpd-2.0.47/httpd.spec . ...edit httpd.spec... $ cp httpd-2.0.47.tar.gz /usr/src/packages/SOURCES $ rpm -b httpd.spec
INSTALLATION:
yum install httpd
INSTALLATION:
Configuration
IP Address et port ServerName
Server Root
Document Root Default Error Log
Configuration
Configuration
ServerName www.alpha-complex.com Listen 192.168.1.1:80
@IP Port Sinon:
Listen 80
Port
Commande:
Configuration
ServerAdmin administrator@someotherdomain.net
ServerRoot /usr/local/apache
Configuration
Httpd.conf
Configuration
dmarre automatiquement: chkconfig --level 235 httpd on chkconfig --list httpd
Dmarrer Apache:
$ /usr/local/apache/bin/httpd
Sinon:
$ /usr/local/apache/bin/httpd -f /home/www/alphacomplex/conf/httpd-test.conf
$ /usr/local/apache/bin/apachectl startssl
Dmarrer Apache:
Pour vrifier:
Dmarrer Apache:
Arrter, redmarrer
ID du Processus parent
Hbergement: /www (root for all hosted domains) /www/your-domain (domain directory) /www/your-domain/html (directory for your web sitefiles) /www/your-domain/html/cgi-bin (CGI directory for executing Perl scripts) /www/your-domain/databases (databases for this web site stored on a per site basis) /www/your-domain/logs (web site access and error logs are stored here) cd /www mkdir your-domain cd your-domain mkdir html mkdir html/cgi-bin mkdir databases mkdir logs
Vhosts:
Vhosts:
'Include conf/vhosts/*.conf'