Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Install And Configure Oracle Http Server 12c

192 views

Published on

Install And Configure Oracle Http Server 12c

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Install And Configure Oracle Http Server 12c

  1. 1. Install & Configure OHS 12c In this article I will show how you to install and configure Oracle http server, the product that used in this article like the following: - • Oracle HTTP Server 12c. • Operating system: Windows Server 2018. o You can use the same steps for any operating system the only different will be the media type from OTN. • You can download Oracle HTTP Server 12c from here. Oracle HTTP Server (OHS) is the Web server component for Oracle Fusion Middleware. It provides a HTTP listener for Oracle WebLogic Server and the framework for hosting static pages, dynamic pages, and applications over the Web. Key aspects of Oracle HTTP Server are its technology, its serving of both static and dynamic content and its integration with both Oracle and non-Oracle products. Installation Steps: - • Installing JDK, You can download the JDK from here. • Linux tar -xvzf /u01/software/jdk- 8u211-linux-x64.tar.gz • Windows jdk-8u211-windows-i586.exe • Start the installation by pressing on setup.exe (Windows) – RunInstaller (Linux), in this Linux Case you should create Oracle user and install packages to ensure everything will goes without any error during the installation, welcome screen press next.
  2. 2. Install & Configure OHS 12c • The next Screen which the OHS Location, Choose the location and press next.
  3. 3. Install & Configure OHS 12c • The next screen shows you which way you want to manage the OHS, the first option without weblogic and using command line, 2nd option using weblogic thru console. • Pre-requisites check screen, make sure everything done successfully.
  4. 4. Install & Configure OHS 12c • Security Update Screen, in case you want to keep up to date, you can skip this screen. • Once this is done the summary screen will be the next press finish, and the installation will start, be noted this is only software installation without configuration or creating OHS instance. • After it’s done go to the following path same as in the picture below
  5. 5. Install & Configure OHS 12c • Choose create new domain and press next if you have existing domain you can update it.
  6. 6. Install & Configure OHS 12c • Choose all template and press next. • Remember JDK That we installed in the first step now this one should your Java Path same as the below one. • The following screen shows you the instance name default one is “ohs1” and the interval with delay “no need to change them if you don’t know what you do”
  7. 7. Install & Configure OHS 12c • Next screen will show the Server IP, Listen Port for OHS, admin host, and SSL port • Node Manager configuration screen, you should set username and password for the node manager, I Prefer to have node manager per domain in case of failure of any reason.
  8. 8. Install & Configure OHS 12c • Congratulation!!! you are done you can setup your configuration now. You can test your work by go to browser and press: http://server-IP:7777
  9. 9. Install & Configure OHS 12c The installation and Domain configuration part is done, let’s now configure the redirection which is the purpose of OHS. On the OHS server where we have the configuration for our old application the HTTP server Virtual Server entry look like this: You will find the below entry in the HTTPD.CONF file This is a server configuration file which typically contains directives that affect how the server runs, such as user and group IDs it should use, and location of other files. Because the server configuration file is the main file that the server starts with, Oracle HTTP Server does not include any directive that says where to locate it. The location is passed on command line when the server starts. It is located at: • UNIX: ORACLE_HOME/ohs/conf/httpd.conf • Windows: ORACLE_HOMEohsconfhttpd.conf Another file called mod_wl_ohs.conf, which is responsible and redirection Example: - Imagine the following, you want to direct application called application1 located in server 1.10.0.35 and it’s working on port 4335 how will you do this in OHS: - <Location /application1> SetHandler weblogic-handler WebLogicHost 1.10.0.35 WebLogicPort 4335 </Location> Now the user will not have to enter the port all they have to do enter OHS server IP (best practice should be added to DNS) and application1 http://ohs-server-name/application1

×