WebLogic installation in Linux

Source: Internet
Author: User
I. Software Installation 1. preparations before installation 1.1 first, make sure that the platform of the Weblogic version you want to install has passed the BEA certification, for a complete list of authentication platforms, see [url] http://e-docs.bea.com/wls/certifications/certs_810/index.html#/url]1.2 to determine an installation directory. We recommend that you have at least 1 GB space in this directory, you can use du to view disk space usage. 1.3 create a bea user group account.
Groupadd-g gid groupname
Note: GID indicates the ID of the group to be created, generally greater than 500
For example, groupadd-G 600 bea1.4 creates a WebLogic user account.
Useradd-D userhome-g gid Username
Note: userhome represents the user's home directory. GID is the group ID created in the previous step.
For example, useradd-D/home/Weblogic-G 600 weblogic2. installation procedure
WebLogic generally has three installation methods on Linux: Graphical window mode, Console mode, and unattended installation mode. Because the Console mode is the most widely used and is not limited by any other hardware conditions (we will only introduce the console installation mode here ). 2.1 install the JRE Environment
WebLogic installation requires support from JRE. According to the different installation platforms, WebLogic installation media can be divided into two types, one with JRE (Suffix. BIN), a JRE environment (suffixed. jar). Taking WebLogic Server 8.1 with SP2 as an example, the supported Unix/Linux platforms are as follows (as of 2004.2.23)
WebLogic Server 8.1 with SP2
Does the supported platform contain JDK?
HP-UX (11.0, 11. I, PA-RISC) Yes
Sun Solaris (8, 9, iSCSI) Yes
Red Hat Enterprise Linux (2.1, Pentium) Yes
Red Hat Enterprise Linux (2.1, itanium) Yes
SuSE sles (8, Pentium) Yes
United Linux (1.0, Pentium) Yes
IBM Linux (5.1, 5.2) no2.2 get and upload WebLogic installation media to a temporary directory
If no media is installed at hand, we can download a WebLogic trial version on the [url] http://commerce.bea.com [/url] and upload it to a temporary directory on the host via FTP, we recommend that you have at least 1 GB of space in this temporary directory. 2.3. Start to install 2.3.1. bin Installation Method
Grant the. Bin executable permission first.
Chmod A + x filename. Bin
Then execute
./Filename. Bin-mode = lele2.3.2. Jar Installation Method
Then execute
Java-jar filename. jar-mode = lele2.4 after 2.4.1 is installed on the console, go to the welcome page for console installation and type [next] to continue 2.4.2. The authorization agreement is displayed, after reading, type [Yes] Continue 2.4.3 and prompt to select a bea main directory, as shown below:
Choose Bea Home Directory: "Bea home" = [/root/Bea] input new BEA home or [exit] [previous] [next]>
If you want to change the default Bea home directory, enter the complete directory path again. Otherwise, type [next] to continue, such as/home/bea2.4.4 to confirm the BEA home directory.
Choose Bea Home Directory:-> 1 | Yes, use this Bea home directory [/home/Bea] 2 | no, return to bea home directory selectionenter index number to select or [exit] [previous] [next]>
Type [1] Continue 2.4.5 select the installation type
Choose install type:-> 1 | complete installation | install the complete BEA Weblogic Platform. 2 | custom installation | choose software components to install and optionally create custom | application domains. recommended for advanced users.
Type [1] Continue 2.4.6 and select the installation path
Choose product directory: product installation directory = [/home/BEA/weblogicxx] input new product installation directory or [exit] [previous] [next]>
If you want to change the default installation directory, enter the complete directory path again. Otherwise, type [next] and continue 2.4.7 to confirm the installation path.
Choose product directory:-> 1 | Yes, use this product directory [/home3/weblogicxx] 2 | no, select another product directoryenter index numbers to select or [exit] [previous] [next]>
Enter [1] Continue 2.4.8 and start installation now. a simulated progress bar will appear, waiting patiently until the installation of 100% is completed successfully. 2. After the Configuration Wizard software is installed, configure the domain, enter the Weblogic installation directory (for example,/home/BEA/weblogic81/common/bin), and find the file config. sh, execute it #. /config. SH; the configuration page appears. Select the "Create a New WebLogic configuration" option. Select the configured module as "Basic WebLogic domain", click "Express" for quick configuration, and click the [next] button to create the user name and password on the Management page (no less than 8 passwords ), next, next;
Click Create to create a domain. 3. Start WebLogic
Before starting WebLogic, you can write the service user name and password to the startup script.
Enter the configured domain directory (for example,/home/BEA/user_projects/domains/mydomain), edit the startweblogic. Sh STARTUP script, and execute $ VI startweblogic. Sh.
Enter the user name and password in "wls_user = wls_pw =", save and quit;
Run $./startweblogic. Sh to start weblogic. 4. Stop the Weblogic service.
There are multiple types of services to stop WebLogic:
1. Kill the process
2. "http: // service address: 7001/console", shutdownserver
3. Stop the service using scripts:
Under the path #/home/BEA/user_projects/domains/mydomain, there is a stopweblogic. Sh file. Run the command.
Related Article

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.