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.
Then, in the Auto Update window, keep the default options and press Next.
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.
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.
Then 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.
Now the wizard shows a summary of the installation. Please press Install to begin the process.
Then the wizard starts the process of installing the server.
Finally, the installation has been successfully completed. Please end the wizard.
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.
On the next page, choose the templates. Consequently, select Oracle HTTP Server (Standalone) ohs.
Now select the JDK version.
Check that the components are ohs and keep the default options. However, you can change the restart time interval
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.
Please check the components that will be configured. Press Create to configure the new domain.
Now wait a few moments while the new domain is configured.
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
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!