Install and configure Weblogic in Linux

Source: Internet
Author: User
 
Environment Description
System --
Linux RHEL5 32bit
Environment --
In the LAN, 192.168.0.140 (Windows) is connected to the server through xshell.
Software --
1. JDK: 1.5.0 _ 15 2. WebLogic: 10 3. WebLogic cracking File
1. install and configure JDK // If the application does not require a later version of JDK, you can install JDK independently.
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 for/usr/local/JDK
2. Configure Environment Variables
2.1 Modify/etc/profile # vi/etc/profile # Add 3 rows to/etc/profile export java_home =/usr/local/JDK export Path =: $ PATH export classpath = $ java_home/lib
2.2 enable/etc/profile setting to take effect immediately # source/etc/profile
2.3 check JDK # Java-version // test. The following information indicates that JDK installation 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)
Ii. Install WebLogic
1. Create a WebLogic user group and WebLogic user # groupadd-G 600 WebLogic # useradd-D/home/Weblogic-G 600 WebLogic
2. Install WebLogic # xhost + # su WebLogic $ export display = 192.168.0.140: 0.0 // Where 192.168.0.140 is the remote machine running xshell $./server100_linux32.bin/server100_linux32.bin is the Weblogic Installation File
Jump out of the graphical installation interface 2.1 welcome interface next 2.2 agree next 2.3 install Weblogic in the/home/WebLogic/BEA directory by default next 2.4 select "complete" next 2.5 default next 2.6 agree next 2.7 default path: Next 2.8 waiting for installation to complete
3. Create a new domain weblogictest
1. Create a weblogictest domain in WebLogic to start the Weblogic configuration program #/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 the username and password 1.4 select "development mode" specify "Other JDK"/usr/local/JDK 1.5 default 1.6 Domain Name: weblogictest domain location: Default
4. Crack WebLogic // crack the File Link
1. Copy 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 }"
5. Modify WebLogic memory Parameters
# Vi/home/WebLogic/BEA/user_projects/domains/weblogictest/bin/setdomainenv. sh modify 216,221,229 behavior: mem_args = "-xms512m-xmx1024m" mem_dev_args = "-XX: compilethreshold = 8000-XX: permsize = 256 m "mem_args =" $ {mem_args }$ {mem_dev_args}-XX: maxpermsize = 512 M"
6. Start WebLogic
#/Home/WebLogic/BEA/user_projects/domains/weblogictest/bin/startweblogic. Sh // start WebLogic

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.