Monday, January 12, 2015

How to install Apache Webserver in Oracle Linux

1. Following the link: http://www.dba-oracle.com/t_gogala_easyphp_apache_linux.htm [Thankful to Don Burleson ]

2. Download the httpd-2.2.27.tar.gz

3. Create the apache-2.2.27 folder in /homw/app

4. [oracle@abc apache-2.2.27]$ tar -zxvf httpd-2.2.27.tar.gz

5. [oracle@abc httpd-2.2.27]$ ./configure --prefix=/home/app/apache-2.2.27/ --with-included-apr

6. [oracle@abc 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@abc ~]# mkdir /opt/apache-2.2.27
[root@abc ~]# cd /home/app/apache-2.2.27/httpd-2.2.27
[root@abc 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



Thanks
Vishwa





















No comments:

Post a Comment