1. Navigate to
http://httpd.apache.org/docs/2.2/install.html and download the Apache server.
2. File downloaded httpd-2.4.10.tar.gz
$ gzip -d httpd-NN.tar.gz
$ tar xvf httpd-NN.tar
$ cd httpd-NN
3. APR utilities for Apache
Navigate : /home/oracle/Desktop/OIAM/Apache/httpd-2.4.10/srclib/apr-util-1.5.4
# Build and install apr 1.2
cd srclib/apr
./configure --prefix=/home/app/Apache-2.4.10/
make
make install
# Build and install apr-util 1.2
cd ../apr-util
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
make
make install
# Configure httpd
cd ../../
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/
./configure --with-apr=/home/oracle/Desktop/OIAM/Apache/httpd-2.4.10/srclib/apr-1.5.1 --with-apr-util=/home/oracle/Desktop/OIAM/Apache/httpd-2.4.10/srclib/apr-util-1.5.4
>>> OPTION - II <<<
1. Following the link: http://www.dba-oracle.com/t_gogala_easyphp_apache_linux.htm
2. Download the httpd-2.2.27.tar.gz
3. Create the apache-2.2.27 folder in /home/app
4. [oracle@iam-dev apache-2.2.27]$ tar -zxvf httpd-2.2.27.tar.gz
5. [oracle@iam-dev httpd-2.2.27]$ ./configure --prefix=/home/app/apache-2.2.27/ --with-included-apr
6. [oracle@iam-dev httpd-2.2.27]$ su -
7. Important path to notice: make[1]: Leaving directory `/home/app/apache-2.2.27/httpd-2.2.27
8. [root@iam-dev ~]# mkdir /opt/apache-2.2.27
[root@iam-dev ~]# cd /home/app/apache-2.2.27/httpd-2.2.27
[root@iam-dev httpd-2.2.27]# pwd
/home/app/apache-2.2.27/httpd-2.2.27
9. run # make install
10. To check whether Apache installs successfull, navigate to /home/app/apache-2.2.27/bin
then apachectl start
Ref. Links: https://issues.apache.org/bugzilla/show_bug.cgi?id=42089
http://stackoverflow.com/questions/9541460/httpd-could-not-reliably-determine-the-servers-fully-qualified-domain-name-us
=== Apache Services check ===
> netstat -nlp | grep 80
If it's used then navigate to httpd.conf file and eidt ServerName to host:9090 (instead of 80)
./apachectl - k start
service httpd start
+++ TROUBLE SHOOTING +++
2. File downloaded httpd-2.4.10.tar.gz
$ gzip -d httpd-NN.tar.gz
$ tar xvf httpd-NN.tar
$ cd httpd-NN
3. APR utilities for Apache
Navigate : /home/oracle/Desktop/OIAM/Apache/httpd-2.4.10/srclib/apr-util-1.5.4
# Build and install apr 1.2
cd srclib/apr
./configure --prefix=/home/app/Apache-2.4.10/
make
make install
# Build and install apr-util 1.2
cd ../apr-util
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
make
make install
# Configure httpd
cd ../../
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/
./configure --with-apr=/home/oracle/Desktop/OIAM/Apache/httpd-2.4.10/srclib/apr-1.5.1 --with-apr-util=/home/oracle/Desktop/OIAM/Apache/httpd-2.4.10/srclib/apr-util-1.5.4
>>> OPTION - II <<<
1. Following the link: http://www.dba-oracle.com/t_gogala_easyphp_apache_linux.htm
2. Download the httpd-2.2.27.tar.gz
3. Create the apache-2.2.27 folder in /home/app
4. [oracle@iam-dev apache-2.2.27]$ tar -zxvf httpd-2.2.27.tar.gz
5. [oracle@iam-dev httpd-2.2.27]$ ./configure --prefix=/home/app/apache-2.2.27/ --with-included-apr
6. [oracle@iam-dev httpd-2.2.27]$ su -
7. Important path to notice: make[1]: Leaving directory `/home/app/apache-2.2.27/httpd-2.2.27
8. [root@iam-dev ~]# mkdir /opt/apache-2.2.27
[root@iam-dev ~]# cd /home/app/apache-2.2.27/httpd-2.2.27
[root@iam-dev httpd-2.2.27]# pwd
/home/app/apache-2.2.27/httpd-2.2.27
9. run # make install
10. To check whether Apache installs successfull, navigate to /home/app/apache-2.2.27/bin
then apachectl start
Ref. Links: https://issues.apache.org/bugzilla/show_bug.cgi?id=42089
http://stackoverflow.com/questions/9541460/httpd-could-not-reliably-determine-the-servers-fully-qualified-domain-name-us
=== Apache Services check ===
> netstat -nlp | grep 80
If it's used then navigate to httpd.conf file and eidt ServerName to host:9090 (instead of 80)
./apachectl - k start
service httpd start
+++ TROUBLE SHOOTING +++
1. mkdir: cannot create directory `/opt/apache-2.2.29': Permission denied
Add user 'oracle' in httpd.conf and try
https://www.google.com/search?q=Apache+webgate+download&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial&client=firefox-a&safe=active&gws_rd=ssl