Installasi Oracle Weblogic Server 12C

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

Installasi Oracle Weblogic Server 12C (versi 12.2.1.4) di RHEL 7.

1. Download Oracle Weblogic Server :


https://www.oracle.com/middleware/technologies/weblogic-server-installers-downloads.html

2. Ekstrak file :
[raplab@localhost wls]$ unzip fmw_12.2.1.4.0_wls_Disk1_1of1.zip

3. Install oracle weblogic server 12c :


[raplab@localhost wls]$ java -jar fmw_12.2.1.4.0_wls.jar

4. Gagal install :
The OpenJDK JVM is not supported on this platfrom
5. Penyebab :
Oracle Weblogic Server tidak mendukung openjdk hanya mendukung oracle jdk
https://docs.oracle.com/en/middleware/fusion-middleware/12.2.1.4/sysrs/system-
requirements-and-specifications.html#GUID-2498F43A-A68A-4FDE-B729-22FE09B9D530

https://docs.oracle.com/en/middleware/fusion-middleware/12.2.1.3/asins/preparing-oracle-
fusion-middleware-installation.html#GUID-8AA3A3BA-27F0-43B8-8F62-1B2DC8C5DBB1

6. Download Oracle JDK :


https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
7. Cek versi java :
[raplab@localhost wls]$ java -version

8. Install Oracle JDK dengan rpm installation


[raplab@localhost jdk-8u251]$ Install jdk rpm -ivh jdk-8u251-linux-x64.rpm
A. Install Oracle Jdk dengan set JAVA_HOME di /etc/profile
https://access.redhat.com/solutions/1445833
https://docs.datastax.com/en/jdk-install/doc/jdk-install/installOracleJdkRHEL.html

Reload config /etc/profile


[root@localhost raplab]$ source /etc/profile

Cek path JAVA_HOME


[root@localhost raplab]$ echo $JAVA_HOME
/usr/java/jdk1.8.0_251-amd64

Cek versi java setalah diinstall oracle jdk 8


[root@localhost raplab]$ java -version
java version “1.8.0_251”
B. Install Oracle JDK dengan alternatife command
https://access.redhat.com/solutions/1445833
https://docs.datastax.com/en/jdk-install/doc/jdk-install/installOracleJdkRHEL.html

Perintah alternatives untuk menambahkan symbolic link


ke instalasi oracle jdk :
[root@localhost raplab]$ alternatives --install /usr/bin/java java /usr/java/jdk1.8.0_251-
amd64/bin/java 200000

Perintah alternatives untuk mengubah jdk ke oracle jdk :


[root@localhost raplab]$ alternatives --config java
Pilih nomor 3

Cek versi java setalah diinstall oracle jdk 8 :


[root@localhost raplab]$ java -version
java version “1.8.0_251”
9. Install oracle weblogic server 12 GUI :

Install dengan menggunakan user biasa


[raplab@localhost Oracle Weblogic Server]$ java -jar fmw_12.2.1.4.0_wls.jar
Tekan y untuk melanjutkan installation

Tentukan inventory directory dan operating system group


default
Next

Skip Auto Updates


Insallation Location
default /home/raplab/Oracle/Middleware/Oracle_Home

Installation Type Weblogic Server


Next

Instal
Next

Finish
10. Install Oracle Weblogic 12c cli silent installation

Install dengan menggunakan user biasa


[raplab@localhost Oracle Weblogic Server]$ java -jar fmw_12.2.1.4.0_wls.jar -silent

Note : Saat pertama kali melakukan installasi silent dibutuhkan directory untuk file installer yang
disebut “inventory directory” dan dibutuhkan file dengan nama oraInst.loc untuk menunjukan
lokasi pointer inventory directory.
Jalankan script /tmp/createCentralInventory……. Untuk
secara otomatis membuat inventory directory
[root@localhost Oracle Weblogic Server]# /tmp/createCentralInventory1591803339319.sh
/home/raplab/oraInventory raplab

Note : Setelah inventory directory dibuat, silent installation masih belum bisa dilakukan tanpa
response file.
Response file Oracle Weblogic Server
Copy sample response file oracle weblogic server
https://docs.oracle.com/middleware/1212/core/OUIRF/response_file.htm#OUIRF390
Note : Pada bagian baris ORACLE_HOME=/scratch/Oracle/products/Oracle_Home disesuaikan
contohnya menjadi ORACLE_HOME=/home/raplab/Oracle/products/Oracle

Jalankan silent installation dengan menggunakan user biasa


[raplab@localhost Oracle Weblogic Server]$ java -jar fmw_12.2.1.4.0_wls.jar -silent
-responseFiles /mnt/hgfs/Source/Oracle\Weblogic\Server/response_file

You might also like