Quantcast
Channel: Java mon amour
Viewing all articles
Browse latest Browse all 1124

installing WLS 12.2.1 on Linux RHEL 6.5

$
0
0
Download the generic installer fmw_12.2.1.0.0_wls.jar from http://www.oracle.com/technetwork/middleware/fusion-middleware/downloads/index.html and put into /opt/install/
Download Java 8 JDK from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
install this one:
http://download.oracle.com/otn-pub/java/jdk/8u65-b17/jdk-8u65-linux-x64.rpm


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.2.1.0.0_wls.jar
#this fails because I don't have X11, so I have to do silent installation

vi installfmw.rsp


(see here for sample response files for WLS 12.2.1)



[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=/opt/oracle/fmw

#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.
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=



as root:

vi /etc/oraInst.loc

inventory_loc=/opt/oracle/inventory
inst_group=oinstall


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.2.1.0.0_wls.jar -silent -responseFile /cs/oracle/data/installfmw.rsp -invPtrLoc /etc/oraInst.loc


Viewing all articles
Browse latest Browse all 1124

Trending Articles