First, pre-installation preparation
1. Solve Linux Chinese garbled problem
Modify the/etc/sysconfig/i18n file
#LANG = "en_US. UTF-8 "
#SUPPORTED = "en_US. Utf-8:en_us:en "
#SYSFONT = "Latarcyrheb-sun16"
Switch
Lang= "ZH_CN. GB18030 "
Language= "Zh_CN.GB18030:zh_CN.GB2312:zh_CN"
Supported= "Zh_CN.GB18030:zh_CN:zh"
Sysfont= "Lat0-sun16"
Sysfontacm= "8859-15"
2. Create WebLogic user and installation directory, modify directory permissions
(1) Create WebLogic User
[Email protected] software-install]# Groupadd WebLogic
[Email protected] software-install]# useradd-g WebLogic WebLogic
[Email protected] software-install]# passwd WebLogic
(2) Create WebLogic installation directory, modify directory owner permissions
Note:/WEBLOGIC10. 3 for the installation directory
[Email protected] software-install]# mkdir/weblogic10. 3
[Email protected] software-install]# CHOWN-RF weblogic:weblogic/weblogic10. 3
Second, install weblogic10. 3.3
1. Upload WebLogic installation files to the server
This installation file directory is/Software-install
2. Give the installation file permission to execute
[Email protected] software-install]# chmod a+x/software-install/wls1033_linux32.bin
3. Performing the installation
[Email protected] software-install]#./wls1033_linux32.bin
(1) The installer begins to decompress automatically
(2) Enter next
(3) Enter the installation directory of the WebLogic
Enter New middleware Home OR [exit][previous][next]>/weblogic10. 311
then enter
(4) Choose whether to receive security updates, select 3 here, enter no after entering, and then confirm Yes
Register for Security Updates:
------------------------------
Provide your email address to be informed of security issues, install the product, and initiate Configuration Manager. Http://www.oracle.com/support/policies.html
1| Email:[]
2| My Oracle Support password:[]
3| Receive Security Update:[yes]
Provide your email address to be informed of security issues, install the product, and initiate Configuration Manager. Http://www.oracle.com/support/policies.html
1| Email:[]
2| My Oracle Support password:[]
3| Receive Security Update:[no]
Enter index number to select OR [exit][previous][next]>
(5) Select a typical installation, enter "1"
Select the type of installation you wish to perform.
->1| Typical
| Install the following product (s) and component (s):
| -WebLogic Server
| -Oracle Coherence
2| Custom
| Choose software products and components to install and perform optional
|configuration.
(6) Select Install WebLogic Server
Choose Product Installation Directories:
----------------------------------------
Middleware Home Directory: [/WEBLOGIC10. 3]
Product Installation Directories:
1| WebLogic Server: [/WEBLOGIC10. 3/wlserver_10.3]
2| Oracle Coherence: [/WEBLOGIC10. 3/coherence_3.5]
(7) return
(8) Complete the installation, enter exit
Third, new domain
In fact, all the way to enter!
1. Switch to WebLogic User
[Email protected]/]# su-weblogic
Note: The following error occurred this time:
[Email protected] WEBLOGIC103]# su-weblogic
SU:/bin/bash:permission denied
can take
[Email protected] bin]# chmod 755/bin
Make corrections
2. Performing the configuration
(1) Enter the following directory
[Email protected] WEBLOGIC103]$ CD/weblogic10. 3/wlserver_10.3/common/bin
(2) Execute the following command to begin the formal configuration.
[Email protected] bin]$./config.sh
(3) The following interface all enter
A.
B.
C.
(4) Configure the password for the WebLogic console
(5) Select domain mode for product mode
Enable Development or Production Mode for this domain.
->1| Development Mode
2| Production Mode
Enter index number to select OR [exit][previous][next]> 2
(6) Select Javasdk for JRockit
Java SDK Selection:
-------------------
->1| JRockit SDK 1.6.0_17 @/weblogic10. 3/jrockit_160_17_r28.0.0-679
2| Sun SDK 1.6.0_18 @/weblogic10. 3/jdk160_18
3| Other Java SDK
Enter index number to select OR [exit][previous][next]> 1
(7) Select a Management Server or a node
(8) End of installation
Installation End If you want to start the Domian, you need to add the password file to line, otherwise it will hang!
Iv. Add the password profile for this domain boot.properties
[Email protected] lwdb_domain]$ VI boot.properties
Username=weblogic
password=weblogic,24107.
Save
V. Start domain in the background
1. Go to the installed domain directory
/weblogic10. 3/user_projects/domains/lwdb_domain
2. [Email protected] lwdb_domain]$ nohup./startweblogic.sh &
Vi. deletion of Domain
Go directly to the last directory of domain and execute the delete command as follows:
[Email protected] domains]$ CD/weblogic10. 3/user_projects/domains
[Email protected] domains]$ RM-RF lwdb
Go weblogic 10.3 new domain