1. Preparations before installation
1.1 first confirm that the platform of the Weblogic version you want to install has passed the BEA certification, complete Certification Platform list please refer to http://e-docs.bea.com/wls/certifica..._810/index.html
1.2 determine an installation directory. We recommend that the directory have at least 1 GB space. You can use du to check 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 Bea
1.4 create 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 WebLogic
2. Installation Steps
WebLogic generally has three installation methods on Unix/Linux platforms: Graphical window mode, Console mode, and unattended installation mode. Because the Console mode is the most widely used and is not restricted by any other hardware conditions (the X-Windows server is required for the specific mode, if the driver of the machine graphics card cannot be recognized by the current UNIX operating system, therefore, we will only introduce the installation mode of the console.
2.1 install the JRE Environment
WebLogic installation requires the support of JRE. According to the installation of the Unix/Linux platform, WebLogic installation media is also divided into two types, one comes 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
Supported platforms
Built-in 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 aix (5.1, 5.2)
No
2.2 obtain and upload WebLogic installation media to a temporary directory
If there is no installation media at hand, we can download a we... on the http://commerce.bea.com ...? GB remaining space
2.3 Installation started
2.3.1. Bin Installation Method
Grant the. Bin executable permission first.
Chmod A + x filename. Bin
Then execute
./Filename. Bin-mode = console
2.3.2. Jar Installation Method
Then execute
Java-jar filename. jar-mode = console
2.4 console Installation
2.4.1 after completing step 2.3, go to the welcome page for console installation, and enter [next] to continue
2.4.2 if the license agreement appears at this time, enter [Yes] to continue
2.4.3 The system prompts you to select a bea home directory, as shown below:
Choose Bea home directory:
"Bea home" = [/home/WebLogic/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.
2.4.4 confirm the BEA main directory
Choose Bea home directory:
-> 1 | Yes, use this Bea home directory [/home/Bea]
2 | No, return to bea home directory Selection
Enter 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 m
| Application domains. recommended for advanced users.
Type [1] continue
2.4.6 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] to continue.
2.4.7 confirm installation path
Choose product directory:
-> 1 | Yes, use this product directory
[/Home3/weblogicxx]
2 | No, select another product directory
Enter index numbers to select or [exit] [previous] [next]>
Type [1] continue
2.4.8 the installation starts now. a simulated progress bar will appear and you will be patient until the installation ends successfully on 100%.
Appendix:
WebLogic on Linux Installation Summary
Environment Description:
Operating system version: RedHat Enterprise Advanced Server 3.0
WebLogic 8.1 SP2
Preparations before installation
First, make sure that the platform of the Weblogic version you want to install has been certified by BEA. For the complete list of certified platforms, see http://e-docs.bea.com/wls/certifications/certs_810/index.html
Determine an installation directory. We recommend that the directory have at least 1 GB space. You can use du to check disk space usage.
Create a bea user group account groupadd-g gid groupname
For example, groupadd-G 600 Bea
Create a WebLogic user account useradd-D userhome-g gid Username
For example, useradd-D/home/Weblogic-G 600 WebLogic
Installation Steps
WebLogic generally has three installation methods on Unix/Linux platforms: Graphical window mode, Console mode, and unattended installation mode. Here we will only introduce the installation mode of the graphic window.
Get a copy of the installation media, if there is no installation media at hand, we can download a WebLogic trial version on the http://commerce.bea.com, and then upload it to a temporary directory on the host through FTP, we recommend that you have at least 1 GB of space for this temporary directory.
Log on to X-Window
Open a terminal window or find the directory where the unit media is located.
Grant the. Bin executable permission first.
Chmod A + x server812_linux32.bin
Then execute
./Server812_linux32.bin
This will pop up the same installation interface as on Windows. Specify bea_home as/home/WebLogic/BEA and use the default installation directory/home/WebLogic/BEA/weblogic81, the installation will be very smooth. If there are problems, most of them are problems with your installation media. After the installation is complete, select start Quickstart. After Quickstart is started, click Create a new domain and use the default settings. Here we assume that the administrator user and password are WebLogic/weblogic.
Configuration Service
3.1 Build a service script
Create a wls812 file under/etc/init. d. The file content is omitted, and the attachment will be uploaded later.
3.2 build a script to close the service
Create a shut. Sh in/home/WebLogic/BEA/user_projects/domains/mydomain to stop the Weblogic service. Content omitted. Upload the file to the attachment later.
3.3 Service Usage
Log on to the system as the root user and run/etc/init. d/wls812. The prompt is as follows:
Usage: Weblogic {START | stop | restart | reload}
The specific method is as follows:
Start:/etc/init. d/wls812 start
Stop:/etc/init. d/wls812 stop
Restart:/etc/init. d/wls812 restart or/etc/init. d/wls812 reload
View the Service Execution log: tail-f/home/WebLogic/BEA/domains/mydomain/nohup. Out