Wednesday, October 28, 2015

installing WLS 12.2.1 on Linux RHEL 6.5

Download the generic installer fmw_12. from and put into /opt/install/
Download Java 8 JDK from
install this one:

rpm -i jdk-8u65-linux-x64.rpm

you should now find /usr/java/jdk1.8.0_65/bin/java

groupadd oracle
useradd oracle -g oracle
su - oracle
/usr/java/jdk1.8.0_65/bin/java -jar /tmp/fmw_12.

this fails because I don't have X11, so I have to do silent installation the error message is:

/usr/java/jdk1.8.0_111/bin/java -jar /opt/install/fmw_12.
Launcher log file is /tmp/OraInstall2017-01-02_09-52-00AM/launcher2017-01-02_09-52-00AM.log.
Extracting files.........
Starting Oracle Universal Installer

Checking if CPU speed is above 300 MHz.   Actual 2593.750 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.  DISPLAY environment variable not set.    Failed <<<<
Checking swap space: must be greater than 512 MB.   Actual 3999 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 4663 MB    Passed

Some system prerequisite checks failed.
You must fulfill these requirements before continuing with the installation.

Continue? (yes [y] / no [n]) [n]
You have confirmed that the product cannot be installed on this platform.
Quitting the installation.

Exiting Oracle Universal Installer.
Log(s) for this session can be found in /tmp/OraInstall2017-01-02_09-52-00AM/launcher2017-01-02_09-52-00AM.log.

you should prepare this silent file ( see doc here )

vi installfmw.rsp

(see here for sample response files for WLS 12.2.1)

Response File Version=
#The oracle home location. This can be an existing Oracle Home or a new Oracle Home
#Set this variable value to the Installation Type selected. e.g. Fusion Middleware Infrastructure, Fusion Middleware Infrastructure With Examples.
INSTALL_TYPE=WebLogic Server
#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
#Provide the My Oracle Support 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
#Set this to true if My Oracle Support Password is specified
#Provide the Proxy Host
#Provide the Proxy Port
#Provide the Proxy Username
#Provide the Proxy Password
#Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]

as root:
vi /etc/oraInst.loc


chmod 777 /etc/oraInst.loc

mkdir -p /opt/oracle/inventory
chown oracle:oinstall /opt/oracle/inventory
mkdir /opt/oracle/fmw
chown oracle:oinstall /opt/oracle/fmw

su - oracle

/usr/java/jdk1.8.0_65/bin/java -jar /opt/install/fmw_12. -silent -responseFile /opt/install/installfmw.rsp -invPtrLoc /etc/oraInst.loc

No comments: