Steps to Install & Configure Oracle Http Server

Mat David
4 min readSep 26, 2021

--

Install Oracle HTTP Server. Download the software from : https://www.oracle.com/security/identity-management/technologies/downloads/ (Create an account and download)

In this post, you will first install OHS libraries, then configure OHS. Execute the command

OHS to download — fmw_12.2.1.4.0_ohs_linux64.bin. Execute ./fmw_12.2.1.4.0_ohs_linux64.bin. Should have execute permission. Click Next on the Step 1 of the HTTP install screen.

Skip auto updates screen.View the installed components from the oracle home

Oracle 12c Http Server, step 3

Choose Collocated option and click Next. Continue with screen shots as shown.

OHS collocated view
OHS JDK path
OHS pre-requisite check
OHS configuration summary
OHS Install progress

The OHS installation complete screen, showing a successful install

The next step is to configure OHS.

To configure OHS move to the <pathto>/oracle_Common/bin directory and execute the ./config.sh. Choose update an domain as shown below ( If you don’t have an existing Weblogic domain, then choose Create a new domain).
Choose update the existing domain and the correct path to the domain.

Choose Oracle HTTP Server collated as shown below:

Get data source configuration as shown below, database has to be installed and configured. DB install- https://iamblockc.medium.com/install-and-startup-of-oracle-db-7e69f9b6edd1:

OHS DB configuration successful screen

In the JDBC component step , enter the hostname and port of your DB server. Choose the correct schema with the correct prefix that matches your install. and enter the password for individual schema.
Click Next

OHS JDBC Component Schema configuration information

The screen shot shows successful verification of all the schema entered in the previous step.

OHS JDBC Component Schema configuration Test

Click Next and on the System Component screen,click Add, if ohs not present, it will enter ohs as the System component name or enter ohs1 as the component name. (You can customize the system component name)

Enter system component name, component type

On the OHS Server, screen enter Admin host to match your hostname and leave the rest of the configurations as is. Click Next.

In the machine name choose that which pops up on you screen. In my case oam_Machine_1 Leave the Node Manager address to localhost

On Step 10 of the configuration, choose the machine and move ohs1 to right. Click Next

Click update on the OHS configuration summary page.

OHS Configuration summary page

Step 12 show the configuration progress page.

OHS config success page.

To start the OHS, move to the domain bin folder and enter the following start command. NodeManager should be up and running.

$ ./startComponent.sh ohs1
Starting system Component ohs1 …
Initializing WebLogic Scripting Tool (WLST) …
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Reading domain from <pathto>/user_projects/domains/oam_domainPlease enter Node Manager password:
Connecting to Node Manager …

<Apr 19, 2021 3:04:19 PM EDT> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.>
<Apr 19, 2021 3:04:19 PM EDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.>
<Apr 19, 2021 3:04:19 PM EDT> <Info> <Security> <BEA-090909> <Using the configured custom SSL Hostname Verifier implementation: weblogic.security.utils.SSLWLSHostnameVerifier$NullHostnameVerifier.>

Successfully Connected to Node Manager.
Starting server ohs1 …
Successfully started server ohs1 …
Successfully disconnected from Node Manager.
Exiting WebLogic Scripting Tool.
On the virtual host configured to point to the custom Test wallet.

Invoke OHS on http://<hostname>:7777/

--

--

Mat David
Mat David

Written by Mat David

I am an Identity & Access Management Consultant. My tech. writing interests are Access, Identity Mangmt. E-books on Kindle: https://amazon.com/author/mdaviam

No responses yet