Install apache 2 from source on linux(part1) by p@w@n
Click here to load reader
-
Upload
pawan-kumar -
Category
Documents
-
view
941 -
download
0
Transcript of Install apache 2 from source on linux(part1) by p@w@n
Install Apache 2 from Source on Linux
1. Download Apache
Download the latest version from Apache HTTP Server Project
http://apache.mirrors.lucidnetworks.net//httpd/httpd-2.4.6.tar.gz
# cd /usr/local/src# gzip -d httpd-2.4.6.tar.gz# tar xvf httpd-2.4.6.tar
2. Install Apache
# cd httpd-2.4.6
# ./configure –help
# ./configure –enable-so
Note: During the ./configure, you may get the following error message.
configure: error: in `/opt/httpd-2.2.25/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
configure failed for srclib/apr
# yum install arp*
#yum install gcc*
# ./configure –enable-so
#make
#make install
#cd /usr/local/apache2/bin
# ./apachectl start
Go to the URL
URL:-http://prg.net
It works! BY:- P@w@n +919716303072