The objective of this post is to install the Oracle HTTP Server 12.2.1 on Oracle Linux platform. The prerequisites for this task JDK 1.8 and Oracle infrastructure 12.2.1 required if you wish to install Collocated OHS with WebLogic.
You could be selective while installing OHS there are two options:
Now unzip the downloaded zip file which contains a bin file. Copy the bin file at the target installation machine (any location). Best practice is to use shared folder location which can be reusable for other machines as well.
Oracle Linux 7 vagrant box which had some of the libraries and some of them were missing. My first run was failed with the following:
Here the fix is simple you need to install the missing /Failed libraries. To install you must be in the super user that is root user. [sudo -i] from the sudoer user.
Thanks to Friend Francesco Rizzo, who reviewed the blog and provided his valuable feedback to add the standalone OHS installation can be included in as follows:
Happy to see 100 and 'completed successfully'!!
We are the first who published silent mode installation of Oracle HTTP Server in 12.2.1 version.
You could be selective while installing OHS there are two options:
- Collocated OHS [WebLogic required]
- Standalone OHS [independ of WebLogic]
Oracle HTTP Server 12.2.x installation in silent mode |
Preparation for OHS 12.2.1 installation
You can Download the zip V78157-01.zip from https://edelivery.oracle.com/Now unzip the downloaded zip file which contains a bin file. Copy the bin file at the target installation machine (any location). Best practice is to use shared folder location which can be reusable for other machines as well.
Oracle Linux 7 vagrant box which had some of the libraries and some of them were missing. My first run was failed with the following:
OHS 12.2.1 installation errors: System libraries missing |
Here the fix is simple you need to install the missing /Failed libraries. To install you must be in the super user that is root user. [sudo -i] from the sudoer user.
Install the below libraries on the Oracle Linux 7 OS
yum install -y compat-libcap1-1.10 yum install -y compat-libstdc++-33-3.2.3-x86_64; yum install -y compat-libstdc; yum install -y compat-libstdc yum install -y compat-libstdc* yum install -y libstdc++-devel* yum install -y sysstat-10* yum install -y gcc* yum install -y ksh* yum install -y glibc-devel* yum install -y libaio-devel*
Sample OHS response file
Create a response for installing OHS (Collocated HTTP Server) in silent mode. You can modify the ORACLE_HOME as per your environment setup.[ENGINE] #DO NOT CHANGE THIS. Response File Version=1.0.0.0.0 [GENERIC] #The oracle home location. This can be an existing Oracle Home or a new Oracle Home ORACLE_HOME=/home/oracle/products/12.2.1/Oracle_Home #Set this variable value to the Installation Type selected. e.g. Fusion Middleware Infrastructure, Fusion Middleware Infrastructure With Examples. INSTALL_TYPE=Collocated HTTP Server (Managed through WebLogic server) #Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name. MYORACLESUPPORT_USERNAME= #Provide the My Oracle Support Password MYORACLESUPPORT_PASSWORD=Note: Please ignore last line that contains closing secure line#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration DECLINE_SECURITY_UPDATES=true #Set this to true if My Oracle Support Password is specified SECURITY_UPDATES_VIA_MYORACLESUPPORT=false #Provide the Proxy Host PROXY_HOST= #Provide the Proxy Port PROXY_PORT= #Provide the Proxy Username PROXY_USER= #Provide the Proxy Password PROXY_PWD= #Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port] COLLECTOR_SUPPORTHUB_URL=
Standalone OHS Response file for silent mode installation
Thanks to Friend Francesco Rizzo, who reviewed the blog and provided his valuable feedback to add the standalone OHS installation can be included in as follows:
[ENGINE] #DO NOT CHANGE THIS. Response File Version=1.0.0.0.0 [GENERIC] #Set this to true if you wish to skip software updates DECLINE_AUTO_UPDATES=true #My Oracle Support User Name MOS_USERNAME= #My Oracle Support Password MOS_PASSWORD=Now lets run this...#If the Software updates are already downloaded and available on your local system, then specify the path to the directory where these patches are available and set SPECIFY_DOWNLOAD_LOCATION to true AUTO_UPDATES_LOCATION= #Proxy Server Name to connect to My Oracle Support SOFTWARE_UPDATES_PROXY_SERVER= #Proxy Server Port SOFTWARE_UPDATES_PROXY_PORT= #Proxy Server Username SOFTWARE_UPDATES_PROXY_USER= #Proxy Server Password SOFTWARE_UPDATES_PROXY_PASSWORD= #The oracle home location. This can be an existing Oracle Home or a new Oracle Home ORACLE_HOME=/u02/oracle/products/fmw #Set this variable value to the Installation Type selected as either Standalone HTTP Server (Managed independently of WebLogic server) OR Collocated HTTP Server (Managed through WebLogic server) INSTALL_TYPE=Standalone HTTP Server (Managed independently of WebLogic server) #Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name. MYORACLESUPPORT_USERNAME= #Provide the My Oracle Support Password MYORACLESUPPORT_PASSWORD= #Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration DECLINE_SECURITY_UPDATES=true #Set this to true if My Oracle Support Password is specified SECURITY_UPDATES_VIA_MYORACLESUPPORT=false #Provide the Proxy Host PROXY_HOST= #Provide the Proxy Port PROXY_PORT= #Provide the Proxy Username PROXY_USER= #Provide the Proxy Password PROXY_PWD= #Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port] COLLECTOR_SUPPORTHUB_URL=
OHS 12c Silent mode installation command
Finally run the below command with arguments as -silent and responseFile which is created in the above step also provide the inventory location which used for FMW products used earlier to install OHS./fmw_12.2.1.0.0_ohs_linux64.bin -silent \ -responseFile /home/oracle/silent/ohsinstall.rsp \ -invPtrLoc /home/oracle/silent/oraInst.loc
[oracle@localhost ~]$ ./fmw_12.2.1.0.0_ohs_linux64.bin -silent \ -responseFile /home/oracle/silent/ohsinstall.rsp \ -invPtrLoc /home/oracle/silent/oraInst.loc 0%...................................................................................................100% Launcher log file is /tmp/OraInstall2015-12-28_04-25-11PM/launcher2015-12-28_04-25-11PM.log. Starting Oracle Universal Installer Checking if CPU speed is above 300 MHz. Actual 2298.123 MHz Passed Checking swap space: must be greater than 512 MB. Actual 2047 MB Passed Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required) Checking temp space: must be greater than 300 MB. Actual 43547 MB Passed Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2015-12-28_04-25-11PM Log: /tmp/OraInstall2015-12-28_04-25-11PM/install2015-12-28_04-25-11PM.log Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. Reading response file.. Skipping Software Updates Starting check : CertifiedVersions Expected result: One of redhat-7,redhat-6,oracle-6,oracle-7,SuSE-11 Actual Result: oracle-7 Check complete. The overall result of this check is: Passed CertifiedVersions Check: Success. Starting check : Packages Checking for binutils-2.23.52.0.1; found binutils-2.23.52.0.1-55.el7-x86_64. Passed Checking for compat-libcap1-1.10; found compat-libcap1-1.10-7.el7-x86_64. Passed Checking for compat-libstdc++-33-3.2.3-x86_64; found compat-libstdc++-33-3.2.3-72.el7-x86_64. Passed Checking for libgcc-4.8.2-x86_64; found libgcc-4.8.5-4.el7-x86_64. Passed Checking for libstdc++-4.8.2-x86_64; found libstdc++-4.8.5-4.el7-x86_64. Passed Checking for libstdc++-devel-4.8.2-x86_64; found libstdc++-devel-4.8.5-4.el7-x86_64. Passed Checking for sysstat-10.1.5; found sysstat-10.1.5-7.el7-x86_64. Passed Checking for gcc-4.8.2; found gcc-4.8.5-4.el7-x86_64. Passed Checking for gcc-c++-4.8.2; found gcc-c++-4.8.5-4.el7-x86_64. Passed Checking for ksh-...; found ksh-20120801-22.el7_1.3-x86_64. Passed Checking for make-3.82; found make-1:3.82-21.el7-x86_64. Passed Checking for glibc-2.17-x86_64; found glibc-2.17-106.0.1.el7_2.1-x86_64. Passed Checking for glibc-devel-2.17-x86_64; found glibc-devel-2.17-106.0.1.el7_2.1-x86_64. Passed Checking for libaio-0.3.109-x86_64; found libaio-0.3.109-13.el7-x86_64. Passed Checking for libaio-devel-0.3.109-x86_64; found libaio-devel-0.3.109-13.el7-x86_64. Passed Check complete. The overall result of this check is: Passed Packages Check: Success. Starting check : Kernel Checking for VERSION=3.8.0; found VERSION=3.10.0-327.el7.x86_64. Passed Checking for hardnofiles=4096; found hardnofiles=4096. Passed Checking for softnofiles=4096; found softnofiles=4096. Passed Check complete. The overall result of this check is: Passed Kernel Check: Success. Starting check : TotalMemory Expected result: 1024MB Actual Result: 3788MB Check complete. The overall result of this check is: Passed TotalMemory Check: Success. Starting check : CheckJDKVersion Expected result: 1.8.0_51 Actual Result: 1.8.0_51 Check complete. The overall result of this check is: Passed CheckJDKVersion Check: Success. Validations are enabled for this session. Verifying data Copying Files Percent Complete : 10 Percent Complete : 20 Percent Complete : 30 Percent Complete : 40 Percent Complete : 50 Percent Complete : 60 Percent Complete : 70 Percent Complete : 80 Percent Complete : 90 Percent Complete : 100 The installation of Oracle HTTP Server 12.2.1.0.0 completed successfully. Logs successfully copied to /home/oracle/oraInventory/logs.
Happy to see 100 and 'completed successfully'!!
We are the first who published silent mode installation of Oracle HTTP Server in 12.2.1 version.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.