Tuesday, February 21, 2017

Oracle WebLogic Server 12c (12.1.2) on a Linux


 
 Oracle WebLogic Server 12c (12.1.2) on a Linux
http://www.davidghedini.com/pg/entry/oracle_web_logic


http://weblogic-wonders.com/weblogic/2010/12/03/methods-to-apply-patches-in-weblogic-server/

This tutorial covers installing Oracle WebLogic Server 12c (12.1.2) on a Linux system by using WebLogic generic installer.
Prerequisites
You should have already installed Oracle Enterprise Linux 6 on your machine. If you have not already done this follow Oracle Enterprise Linux 6 Installation and Setup Guide
Step 1:Login as a root user and make sure the /etc/hosts file contains correct entries for both the “localhost” and real host names.
          /etc/hosts

         ns1.amit.com

         service iptables stop
   service ip6tables stop
     chkconfig --level 35 iptables off
     chkconfig --level 35 ip6tables off
     vim /etc/sysconfig/selinux

rpm-Uvh jdk-8u121-linux-x64.rpm
groupadd -g 1000 oinstall useradd -u 1100 -g oinstall oracle passwd oracle mkdir -p /u01/app/oracle/middleware chown -R oracle:oinstall /u01 chmod -R 775 /u01 vim /home/oracle/.bash_profile 
MW_HOME=/u01/app/oracle/middleware; export MW_HOME WLS_HOME=$MW_HOME/wlserver; export WLS_HOME JAVA_HOME=/usr/java/jdk1.8.0_121-b13; export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH; export PATH # JDK 7 Requirement USER_MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=350
java --version check java version mkdir-p /host/software/oracle/WebLogic
cd /host/software/oracle/WebLogic/

 mv fmw_12.2.1.2.0_wls_quick.jar /u01/app/oracle/middlewar

ls
su oracle java -jar -Xmx1024m -XX:MaxPermSize=512M wls1211_generic.jar_wls_quick.jar cd /u01/app/oracle/middleware/wls12212/wlserver/common/bin config.sh pack.sh unpack.sh wlscontrol.sh wlsifconfig.sh wlst.sh /u01/app/oracle/middleware/wls12212/user_projects/domains/base_domain star services
sh startWebLogic.sh

 

 
   

 


No comments:

Post a Comment