Installation, setup and configure of Web Server Apache on Linux
Installation, setup and configure of Web Server Apache on Linux CentOS, Fedore, Red Hat and step by step.
Step 1 : Download httpd
Download httpd-2.0.59.tar.gz to /usr/local/src
[root@CIS /]# cd /usr/local/src
[root@CIS /]# tar xzvf httpd-2.0.59.tar.gz
[root@CIS /]# cd httpd-2.0.59
Step 2 : Apache build install
[root@CIS /]# cd /usr/local/src/httpd-2.0.59
[root@CIS /]# ./configure \
-- enable-so \
-- enable-module=all \
-- enable-shared=max \
-- enable-dav=yes \
-- enable-ssl \
-- with-ssl=/usr/local/ssl
-- enable-setenvif
[root@CIS /]# make
[root@CIS /]# make install
Step 3 : Apache start
in /etc/rc.d/rc.local
/usr/local/apache2/bin/apachectl start
[root@CIS /]# /etc/rc.d/
[root@CIS /]# vi rc.local
[root@CIS /]# ps aux | grep httpd
Step 4 : Make directory
[root@CIS /]# mkdir /home/cis
[root@CIS /]# mkdir /home/cis/public_html
[root@CIS /]# chown cis.cis /home/cis/public_html
[root@CIS /]# chmod 711 /home/cis
[root@CIS /]# chmod 711 /home/cis/public_html
Step 5 : Admin of Apache
in /usr/local/apache2/conf/httpd.conf
ServerAdmin cis@configureinstallsetup.com
[root@CIS /]# cd /usr/local/apache2/conf/
[root@CIS /]# vi httpd.conf
Step 6 : Default File
in /usr/local/apache2/conf/httpd.conf
DirectoryIndex index.php index.html index.cgi index.pl index.htm
[root@CIS /]# /usr/local/apache2/conf/
[root@CIS /]# vi httpd.conf
- 229 reads
Recent popular content



















