17.6 C
Texas

How to install Oracle HTTP server in Windows 10/Server 2019.

Hello! Oracle’s HTTP server is based on the proven Apache open-source HTTP server technology. It also provides a framework for hosting dynamic and static web pages. Additionally, it allows you to manage Oracle Fusion Middleware applications for users. Let’s see how to install the Oracle HTTP server in Windows 10/Server 2019.

Prerequisite

To be able to install and configure this server, it is necessary to have Java JDK installed. For a complete guide to the installation, check here!

Downloading and installing Oracle’s HTTP server

The first thing you have to do is download the installer from this link. Please note that you have to open an Oracle account in order to download. Don’t worry, it’s free. Once the installer has been downloaded, double-click it to start the process. Additionally, a Java console will be displayed verifying the requirements for installation.

If the Java console checks that everything is in order, then the universal installer will be deployed. On the welcome screen, press Next to continue.

Press Next to continue
Press Next to continue
- Advertisement -

Then, in the Auto Update window, keep the default options and press Next.

Skip the auto-updates
Skip the auto-updates

Then assign a directory for the installation. It is highly recommended placing it at the root of the system. For example, in my case I locate the installation in unit C.

Please assign a directory or create a new one to dump the installation.
Please assign a directory or create a new one to dump the installation.

At this point, it is necessary to set the type of server installation. That is, you can set up a standalone server managed independently of the WebLogic server. Or set up a Collocated server managed through the WebLogic server. Well, in this case, we’ll use the Standalone server option.

Install the Standalone Server
Install the Standalone Server

Then select the JDK home directory.

Select the JDK Home directory.
Select the JDK Home directory.

Then the installer will verify the prerequisites. If some appear with a yellow triangle, they can be corrected after installation.

Checking the prerequisites.

Now the wizard shows a summary of the installation. Please press Install to begin the process.

Now the wizard shows a summary of the installation
Now the wizard shows a summary of the installation

Then the wizard starts the process of installing the server.

Finally, the installation has been successfully completed. Please end the wizard.

Successful installation of oracle's HTTP server
Successful installation of oracle’s HTTP server

Starting the Configuration Wizard

Now it’s time to start the configuration wizard to set up the domain. This action will be done according to the type of server that has been installed. With this in mind, browse to the next path:

ORACLE_HOME\oracle_common\common\bin

Where ORACLE_HOME is your 12c (12.2.1.3.0) Oracle home. In my case, the address is the following.

C:\web\oracle_common\common\bin

Once there, open a Command Prompt and execute the following command:

config.cmd

The configuration wizard will be displayed immediately. Please click on Create a new Domain.

Please create a new domain
Please create a new domain

On the next page, choose the templates. Consequently, select Oracle HTTP Server (Standalone) ohs.

Select the ohs template.
Select the ohs template.

Now select the JDK version.

select the JDK version.
select the JDK version.

Check that the components are ohs and keep the default options. However, you can change the restart time interval

Please check the system components.
Please check the system components.

The next page sets the server values. Please keep the default values

The next page sets the server values. Please keep the default values
The next page sets the server values. Please keep the default values

On this page you must configure the nodes. In addition, you can use the default location or a custom location. Either way, you can use a previously created node or create a new one. In any case, you must add the credentials.

Enter the node’s credentials

Please check the components that will be configured. Press Create to configure the new domain.

The wizard about to create the domain
The wizard about to create the domain

Now wait a few moments while the new domain is configured.

Configuration of the new domain completed
Configuration of the new domain completed

Finally, the configuration of the new domain has been successful.

Starting the Instances

Once the installation is completed, we are ready to start services. In the first place, it is imperative to start the node. With this in mind, navigate to the next address.

ORACLE_HOME\user_projects\domains\base_domain\bin

Where ORACLE_HOME is your 12c (12.2.1.3.0) Oracle home. In my case, the address is the following.

C:\web\user_projects\domains\base_domain\bin

Then open a Command Prompt and execute the following command:

startNodeManager.cmd

It is highly recommended configuring the Node Manager as a Windows service. To find out how to do this, check out our post on WebLogic.

Now it’s time to start the server. With this in mind, from the same directory, execute the following command:

startComponent.cmd system_component_name

Where system_component_name is the Oracle HTTP Server system component name you provided while configuring the domain. In my case:

startComponent.cmd ohs1

Finally, from a web browser, open the following address:

http://localhost:7777
Oracle HTTP Server 12c running on Edge



Oracle HTTP Server 12c
running on Edge

At the end of the day, we saw how to install and configure the Oracle HTTP server on Windows 10/Server 2019. It’s been an arduous but rewarding journey. See you soon!

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article