Assumptions
It is assumed that you have an existing server with either Oracle Linux 6.x or 7.x installed on it.
Software
Download the Weblogic Server 12c software
from Oracle
Technology Network.
- Java Development Kit (I used jdk-8u231-linux-x64.tar.gz)
- Download
url:- https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- Fusion Middleware Infrastructure Installer (1.4G)
|
We would use the fustion middleware
infrastructure pack as we would be installing forms and reports 12c services
later.
Make sure Java is installed properly
.Check exact java version using
$ alternatives --config java
Selection Command
-----------------------------------------------
1
/usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
2
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
+ 3 /usr/java/jdk1.8.0_05/bin/java
Setup
The following actions should be performed
by the "root" user.
Make sure the "/etc/hosts" file
contains correct entries for both the "localhost" and real host
names.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
10.0.95.10 test.soumya.com test
Create a new group and user.
groupadd -g 54321 oinstall
useradd -u 54321 -g oinstall oracle
passwd oracle
Create the directories in which the Oracle
software will be installed.
mkdir -p /d01/app/oracle/product/12.2.1.4
chown -R oracle:oinstall /d01
chmod -R 775 /d01/
Create an environment file named app_env
Add the following line in .bash_profile
alias app_env='. /home/oracle/app_env'
vi /home/oracle/app_env
ORACLE_BASE=/d01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/12.2.1.4; export ORACLE_HOME
MW_HOME=$ORACLE_HOME ; export MW_HOME
WLS_HOME=$MW_HOME/wlserver; export WLS_HOME
WL_HOME=$WLS_HOME ;export WLS_HOME
DOMAIN_HOME=/d01/app/oracle/product/12.2.1.4/user_projects/domains/prod_domain; export DOMAIN_HOME
JAVA_HOME=/usr/java/jdk1.8.0_231-amd64; export JAVA_HOME
export OHS_INST=/d01/app/oracle/product/12.2.1.4/user_projects/domains/prod_domain/config/fmwconfig/components/OHS/instances/ohs1 ;export OHS_INST
PATH=$JAVA_HOME/bin:$PATH ; export PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
export FORMS_PATH=/d01/app/oracle/product/12.2.1.4/forms; export FORMS_PATH
[root@mesappprod u01]# rpm -Uvh
jdk-8u241-linux-x64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:jdk1.8-2000:1.8.0_241-fcs ################################# [100%]
Unpacking JAR files...
tools.jar...
plugin.jar...
javaws.jar...
deploy.jar...
rt.jar...
jsse.jar...
charsets.jar...
localedata.jar...
[root@mesappprod u01]# java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b08)
OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
[root@mesappprod u01]# alternatives --config java
-----------------------------------------------
*+ 1 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/jre/bin/java)
2
/usr/java/jdk1.8.0_241-amd64/jre/bin/java
Enter to keep the current selection[+], or
type selection number: 2
For Oracle Linux 6, as specified in MOS Note [ID 1487773.1], amend the
"/etc/security/limits.d/90-nproc.conf" file, making the following
change.
# From
* soft nproc 1024
#To
* - nproc 16384
Run the installer as the "oracle"
user.
[oracle@weblogic_sw]$ unzip
fmw_12.2.1.4.0_infrastructure_Disk1_1of1.zip
$ $JAVA_HOME/bin/java -jar
fmw_12.2.1.4.0_infrastructure.jar
If this is is the
first installation on the machine you will need to specify an inventory
location. Enter the inventory location, like "/u01/app/oraInventory"
and click the "OK" button. In our case we had database installed
previously on the same machine hence it didn’t ask for inventory location.
Select the "Skip Auto Updates"
options, then click the "next" button.
Enter the middleware home
("/u01/app/oracle/product/12.2.1") and click the "Next"
button.
Wait for the prerequisite checks to
complete. If there are failures, correct them and rerun the checks. If there
are no failures, click the "Next" button.
If you are ok with the summary
information, click the "Install" button.
Wait for the installation to complete, then click the
"Next" button.
On the installation complete screen, click
the "Finish" button to launch the Configuration Wizard.
No comments:
Post a Comment