Ubuntu deployment Wl review


1. Check whether jdk is installed on the system

I. Check the command

[html] view plain copy
echo $JAVA_HOME 
II. Download the JDK

download file: jdk-7u79-linux-i586.tar.gz
Download address: http://www.oracle.com /technetwork/java/javase/downloads/index.html
2. Download the WeblogIC

download file: wls1213_dev.zip
Download address: http://www.oracle.com/technetwork/cn/middleware/weblogic/downloads/wls-main-091116 -zhs.html


Install JDK

1. Install jdk

(1) Unzip jdk-7u79-linux-i586.tar.gz
[html] view plain copy
tar -zxvf jdk-7u79-linux-i586.tar.gz  
[html] view plain copy
<pre name="code" class="html">mv jdk1.7.0_79 /usr/ 
(2) Configure environment variables
[html] view plain copy
sudo vi /etc/profile 
Add the following:
[html] view plain copy
export JAVA_HOME=/usr/jdk1.7.0_79  
export PATH=$JAVA_HOME/bin:$PATH  
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar  
save, quit.
(3) Make the environment variables take effect in time
[html] view plain copy
source /ect/profile 
(4) Check whether jdk is installed successfully
[html] view plain copy
echo $JAVA_HOME 

Install Weblogic

1. Configure the weblogic environment

(1) Unzip weblogic and install it Go to the specified directory
[html] view plain copy
sudo unzip -d weblogic1213 wls1213_dev.zip 
[html] view plain copy
sudo chmod 777 -R weblogic1213 
[html] view plain copy
sudo mv weblogic1213 /usr/ 
(2) Configure weblogic environment variables
[html] ] view plain copy

Add the following content to sudo vi /etc/profile  :
[html] view plain copy
export MW_HOME=/usr/weblogic1213 
Save and exit.
(3) Make the environment variables take effect in time
[html] view plain copy
source /ect/profile 
2. Install the weblogic service

(1) Open $MW_HOME
[html] view plain copy
cd $MW_HOME 
(2) Check whether the current environment meets the weblogic installation requirements
[html] view plain copy
. $MW_HOME/configure.sh 
(3) Configure weblogic initialization requirements
[html] view plain copy
. $MW_HOME/wlserver/server/bin/setWLSEnv.sh 
(4) Configure weblogic domain (domain)
[html] ] view plain copy
. $MW_HOME/wlserver/common/bin/config.sh  
[html] view plain copy
Running config.sh will pop up a graphical interface, follow the prompts to create a weblogic domain, the last step of adding a domain is slow, please wait patiently ^_^, it is recommended to wait until the prompt "created successfully" and exit. 
(5) Start the weblogic service
[html] view plain copy
. $MW_HOME/user_projects/domains/base_domain/startWebLogic.sh  
Test whether the weblogic service is created successfully:
Enter in the browser address bar: http://localhost:7001/console
can be opened On the weblogic management page, log in with the domain management account and password, and you can enter the weblogic console, indicating that the weblogic service is successfully installed!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326163338&siteId=291194637