Showing posts with label OHS. Show all posts
Showing posts with label OHS. Show all posts

Wednesday, August 12, 2015

OHS 11g Webgate for OAM 11gR2

Install Oracle HTTP Server 11g

Oracle HTTP Server is available as a webserver component in Oracle Web Tier. Download Oracle Web Tier 11g from Oracle.Create a non root user and extract the installer contents from the downloaded Oracle Web Tier zip file and execute runInstaller.




click NextIf you wish to install software updates enter your credentials




select the Install and Configure option and click Next



Be sure you have all the required prerequisites and then click Next.



Create a new Middleware home 



Enter your details to receive security updates.



Select Oracle HTTP Server




Specify Component Details 


Depending on your configuration, select the Auto Port Configuration option or the Specify Ports Using Configuration File 



Verify the installation summary and click Install







Installing Oracle HTTP Server 11g Webgate

Start the Installer by executing  ./runInstaller -jreLoc <WebTier_Home>/jdk


 Click Next to continue.







Specify the Middleware Home and Oracle Home locations.



Click Install to begin the installation.




Click Finish to dismiss the installer.




Post-Installation Steps


Move to the following directory under your Oracle Home for Webgate<Webgate_Home>/webgate/ohs/tools/deployWebGate and run the following command to copy the required  agent from the Webgate_Home directory to the Webgate Instance location.


For example,

-bash-4.1$ ./deployWebGateInstance.sh -w /u02/app/ssodxbstage/oracle/ohs3/instances/ohs_instance3/config/OHS/ohs3 -oh /u02/app/ssodxbstage/oracle/Oracle_OAMWebGate1

Copying files from WebGate Oracle Home to WebGate Instancedir

Run the following command to ensure that the LD_LIBRARY_PATH variable

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/u02/app/ssodxbstage/oracle/ohs3/lib
cd /u02/app/ssodxbstage/oracle/Oracle_OAMWebGate1/webgate/ohs/tools/setup/InstallTools

On the command line, run the following command to copy the apache_webgate.template from the Webgate_Home directory to the Webgate Instance location (renamed to webgate.conf) and update the httpd.conf file to add one line to include the name of webgate.conf

./EditHttpConf -w <Webgate_Instance_Directory> [-oh <Webgate_Oracle_Home>] [-o <output_file>]

-bash-4.1$ ./EditHttpConf -w /u02/app/ssodxbstage/oracle/ohs3/instances/ohs_instance3/config/OHS/ohs3 -oh /u02/app/ssodxbstage/oracle/Oracle_OAMWebGate1
The web server configuration file was successfully updated
/u02/app/ssodxbstage/oracle/ohs3/instances/ohs_instance3/config/OHS/ohs3/httpd.conf has been backed up as /u02/app/ssodxbstage/oracle/ohs3/instances/ohs_instance3/config/OHS/ohs3/httpd.conf.ORIG

Tuesday, September 16, 2014

Installing and Configuring Oracle HTTP Server 12C in a Standalone Domain

We wanted to install Oracle HTTP Server instance in the DMZ to front-end the web Logic Server hosted in the application layer and hence did the standalone installation.
Launch the installation program by entering the following command: ./fmw_12.1.3.0.0_ohs_linux64.bin



This screen introduces you to the product installer.





Enter the path to an existing Oracle Fusion Middleware Infrastructure Oracle home.



Select Standalone HTTP Server (Managed independently of WebLogic server) if you are installing Oracle HTTP Server in a Standalone domain.








If you want to save these options to a response file, click Save Response File and provide the location and name of the response file










Click Finish to dismiss the installer.



Configuring Oracle HTTP Server in a Standalone Domain


To begin domain configuration, go to ORACLE_HOME/oracle_common/common/bin
./config.sh

Select Oracle HTTP Server (Standalone) - 12.1.3.0 [ohs].



Select Oracle Hotspot JDK.




Specify the system component name


Specify the OHS Server details


Select Per Domain as the Node Manager type and specify the Node Manager credentials.


Review the details of each item on the screen and verify that the information is correct.






Starting the Node Manager & Oracle HTTP Server


Navigate to the DOMAIN_HOME/bin and execute $ nohup sh startNodeManager.sh &
To start the web server run script $ ./startComponent.sh ohs1 in the same location

To test the server enter the url as http://hostname:port


Starting Oracle HTTP Server Instances on a Privileged Port (UNIX Only)


On a UNIX system, TCP ports in a reserved range (typically less than 1024) can only be bound by processes with root privilege. Oracle HTTP Server always runs as a non-root user; that is, the user who installed Oracle Fusion Middleware. On UNIX, special configuration is required to allow Oracle HTTP Server to bind to privileged ports.
To enable Oracle HTTP Server to listen on a port in the reserved range (for example, the default port 80 or port 443) as a process without root privilege, use the following steps.