Environment description
System- |
Linux RHEL5 32bit |
Environment-- |
LAN in 192.168.0.140 (Windows) connects to server via Xshell |
Software- |
1.jdk:1.5.0_15 2.weblogic:10 3.weblogic hack file |
First, install the configuration JDK//If the application does not require a higher version of the JDK, you can not install the JDK separately
1. Install JDK # chmod a+x jdk-1_5_0_15-linux-i586.bin #./jdk-1_5_0_15-linux-i586.bin # MV JDK1.5.0_15/USR/LOCAL/JDK JDK installation path is/USR/LOCAL/JDK
2. Configure Environment variables
2.1 Modify/etc/profile # vi/etc/profile # Add 3 lines to/etc/profile export JAVA_HOME=/USR/LOCAL/JDK export path=: $PATH export CLASS Path= $JAVA _home/lib
2.2 Make/etc/profile settings effective immediately # Source/etc/profile
2.3 Detect JDK # Java-version//test, the following message appears stating that the installation of the JDK is correct
Java version "1.5.0_15" Java (tm) 2 Runtime environment, Standard Edition (build 1.5.0_15-b04) Java HotSpot (tm) Client VM ( Build 1.5.0_15-b04, Mixed mode, sharing)
Second, installation WebLogic
1. Create WebLogic user group and WebLogic user # groupadd-g WebLogic # useradd-d/home/weblogic-g
2. Install WebLogic # xhost + # su WebLogic $ export display=192.168.0.140:0.0//where 192.168.0.140 is running Xshell for the remote machine $./server100_li Nux32.bin//server100_linux32.bin Installing files for WebLogic
Jump out of the graphical Installation Interface 2.1 Welcome interface Next 2.2 Agree next 2.3 default to install WebLogic in/home/weblogic/bea directory next 2.4 Select "complete" Next 2.5 default next 2.6 agree Next 2.7 Default path next 2.8 wait for installation to complete
Third, create a new domain Weblogictest
1. Create weblogictest Domain startup WebLogic Configuration program in WebLogic #/home/weblogic/bea/wlserver_10.0/common/bin/config.sh
The configuration window appears
1.1 Select "Create a new WebLogic domain" 1.2 default 1.3 weblogic/123123123//Specify user name, password 1.4 select "Development Mode" specify "other JDK "/USR/LOCAL/JDK 1.5 default 1.6 domain name:weblogictest domain location: default
Iv. cracked WebLogic//cracked file link
1. Copy the License.bea and Weblog_crack.jar to the BEA installation directory:/home/weblogic/bea
2. Modify/home/weblogic/bea/user_projects/domains/weblogictest/bin/startweblogic.sh
Change classpath= "${classpath}${classpathsep}${medrec_weblogic_classpath}" to: Classpath= "/home/weblogic/bea/weblogic_ Crack.jar:${classpath}${classpathsep}${medrec_weblogic_classpath} "
Five, modify WebLogic memory parameters
# vi/home/weblogic/bea/user_projects/domains/weblogictest/bin/setdomainenv.sh Modified 216,221,229 behavior: MEM_ARGS= "-Xms512m -xmx1024m "mem_dev_args="-xx:compilethreshold=8000-xx:permsize=256m "mem_args=" ${mem_args} ${MEM_DEV_ARGS}-XX: Maxpermsize=512m "
Six, start WebLogic
#/home/weblogic/bea/user_projects/domains/weblogictest/bin/startweblogic.sh//Start WebLogic
Under Linux, install configuration WebLogic