Thursday, March 17, 2016

Apache Web Server 2.2.31 installation on unix host

In this post, I will talk about the how to build/install apache web server from the source and install it on a unix machine (RHEL in my case).
tar -zxvf httpd-2.2.31.tar.gz

./configure --prefix=/opt/apache-2.2/apache_2.2.31 --enable-mods-shared=all --enable-proxy --enable-expires --enable-vhost-alias

configure: error: no acceptable C compiler found in $PATH

yum install gcc
yum install zlib-devel

make

make install

mount -o remount,noexec /tmp/

/usr/sbin/groupadd oinstall

/usr/sbin/useradd -g oinstall oracle

passwd oracle

export LD_LIBRARY_PATH=/oracle/apps/webgate/webgate/apache/lib/

./deployWebGateInstance.sh -w /oracle/apps/webgateinstance -oh /oracle/apps/webgate -ws apache