(0) Preparation
(0.1) Java
get jdk-8u211-linux-x64.tar.gz
tar xvzf jdk-8u211-linux-x64.tar.gz -C /tmp/
sudo chown -R root:root /tmp/jdk1.8*
mv /tmp/jdk1.8* /usr/lib/jvm/
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8*/bin/java 1065
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8*/bin/javac 1065
update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.8*/bin/jar 1065
update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.8*/bin/javaws 1065
update-alternatives --config java
sudo update-alternatives --config javac
nano $HOME/.bashrc
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_211
(0.2) WebLogic
get fmw_12.2.1.4.0_wls_lite_generic.jar
mkdir /tmp/wls
cp fmw_12.2.1.4.0_wls_lite_generic.jar /tmp/wls/fmw_12.2.1.4.0_wls_lite_generic.jar
java -jar fmw_12.2.1.4.0_wls_lite_generic.jar
#create group
groupadd oracle
#create user
useradd -m -g oracle -d /home/oracle -s /bin/bash oracle
passwd oracle
qwe123!@#
password
No comments:
Post a Comment