Oracle WebLogic Server Installation

Oracle WebLogic Server 12c: Installation


Installing Oracle WebLogic Server 12c (12.2.1) on a Linux (OEL 5.7) system by using WebLogic generic installer.

Prerequisites:


You should have already installed Oracle Enterprise Linux 5.7 on your machine.

Step#1: Make sure the /etc/hosts file contains correct entries for both the “localhost” and real host names.




Step#2: Create a new group and user using following commands to install Oracle WebLogic 12c

groupadd oinstall
useradd -g oinstall oracle
passwd oracle

Step#3: Create the directories in which the Oracle WebLogic software will be installed using following commands

mkdir -p /u01/app/oracle/product/ofm12.2.1
mkdir -p /u01/app/oracle/config/domains
mkdir -p /u01/app/oracle/config/applications
chown -R oracle:oinstall /u01
chmod -R 775 /u01/

Step#4: Downloads

1. fmw_12.2.1.0.0_wls_Disk1_1of1.zip
2. jdk-8u91-linux-x64.tar.gz

Step#5: Make directories for binaries and transfer WebLogic and Oracle JDK binaries into it.

mkdir -p /oracle/fmwndjdk




Step#6: Run following command to do the Oracle JDK setup in /u01/app/oracle folder

cd /u01/app/oracle
tar zxvf /oracle/fmwndjdk/jdk-8u91-linux-x64.tar.gz

Step#7: Set the following entries on your server session or add into the /home/oracle/.bash_profile file. Adjust paths as required..

#Added lines for Oracle WebLogic 12c

export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/ofm12.2.1
export MW_HOME=$ORACLE_HOME
export WLS_HOME=$MW_HOME/wlserver
export WL_HOME=$WLS_HOME
export DOMAIN_BASE=$ORACLE_BASE/config/domains
export DOMAIN_HOME=$DOMAIN_BASE/techienote
export JAVA_HOME=/u01/app/oracle/jdk1.8.0_91
export PATH=$JAVA_HOME/bin:$PATH

If you have added above in .bach_profile then you need to log off and log in again with the oracle user.

Step#8: Run following command to start the installation

$JAVA_HOME/bin/java -jar /oracle/fmwndjdk/fmw_12.2.1.0.0_wls.jar

Then..

>> Next.
>> Set Oracle Home as: /u01/app/oracle/product/ofm12.2.1 and then click Next.
>> Choose WebLogic Server Installation and click Next.




Step#9: 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.




I have ignored this error.

Step#10: Either enter your support details, or uncheck the security updates checkbox. Click the Next button. If you chose not to receive security updates, click the Yes button on the warning dialogue.

Step#11: If you are OK with the summary information, click the Install button.





Step#12: As we have chose the Production Mode options for the domain, we will need to create a boot.properties file for the scripts referred to later to work without credentials. Adjust the DOMAIN_HOME and credentials appropriately.

export DOMAIN_HOME=$ORACLE_BASE/config/domains/techienote
mkdir -p $DOMAIN_HOME/servers/AdminServer/security
echo "username=weblogic" > $DOMAIN_HOME/servers/AdminServer/security/boot.properties
echo "password=or@cle123" >> $DOMAIN_HOME/servers/AdminServer/security/boot.properties



Step#13: The $ORACLE_BASE/config/domains/techienote directory now contains a script that can be used to start / stop the server. Remember to use the “&” if you want access to the command line to be returned.

To start the AdminServer you need to run following command

nohup $DOMAIN_HOME/bin/startWebLogic.sh > $DOMAIN_HOME/bin/start_AdminServer.log &


To stop the AdminServer you need to run following command

nohup $DOMAIN_HOME/bin/stopWebLogic.sh > $DOMAIN_HOME/bin/stop_AdminServer.log &


Step#14: Once the server is started you can access the administrator console using the http://hostname:port/console URL. Log in using the username and password provided in the previous step.

http://singlenode:7001/console







Reference
1. http://www.techienote.com/step-by-step-installing-oracle-weblogic-server-12c-on-oracle-enterprise-linux-6/
2. Oracle documents
3. Authentic Papers

5 comments:

  1. This information really worth saying, i think you are master of the content and thank you so much sharing that valuable information and get new skills after refer that post.
    Linux Training in Chennai

    ReplyDelete
  2. This information you provided in the blog that is really unique I love it!! Thanks for sharing such a great blog. Keep posting..
    Weblogic Server training in Gurgaon
    Weblogic Server course in Gurgaon
    Weblogic Server training institute in Gurgaon

    ReplyDelete
  3. Thank you for sharing such great information very useful to us.
    Linux Course in Gurgaon

    ReplyDelete
  4. Good Post and its informative one. Thank you for sharing this good article, it was so good to read and very useful to update my skill as updated one.

    Linux Training in Electronic City

    ReplyDelete
  5. Good Post and its informative one. Thank you for sharing this good article, it was so good to read and very useful to update my skill as updated one.

    Linux Training in Electronic City

    ReplyDelete