config yum if not done
cat /etc/yum.repos.d/oel6.repo [oel68] name=Oracle Linux $releasever Latest ($basearch) baseurl=http://<ipaddress>/media enabled=1
Install Apache first
yum install httpd* -y
copy mod_wl_22.so to /etc/httpd/modules
start httpd service
[root@psdyy-man lib64]# service httpd start Starting httpd: httpd: Syntax error on line 150 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_wl_22.so into server: libstdc++.so.5: cannot open shared object file: No such file or directory [FAILED] [root@psdyy-man lib64]#Note:to resolve above issue,you need to install compat-libstdc++-33 rpms(yum install compat-libstdc++-33* -y)
add below line to httpd.conf
LoadModule weblogic_module modules/mod_wl_22.so <IfModule mod_weblogic.c> WebLogicCluster ohs1:7003,ohs2:7003 MatchExpression *.* </IfModule>
export JAVA_HOME=/etc/jdk1.6.0_45
export FMW_HOME=/psdyy/fmw
export DOMAIN_HOME=/psdyy/fmw/user_projects/domains/psdyy
export WLS_HOME=/psdyy/fmw/wlserver_10.3
export PATH=$PATH:$JAVA_HOME/bin:$WLS_HOME/common/bin:$WLS_HOME/server/bin:.
Reference
https://docs.oracle.com/middleware/1213/webtier/develop-plugin/apache.htm#PLGWL395