Install and configure Weblogic815 in Linux

Source: Internet
Author: User

1. installation:

Create bea group and weblogic users
Use root to log on to the operating system and run the following command to create the bea group and weblogic users. Bea group number is 600, weblogic user number is 600, belongs to the bea group, and the home directory is/bea.
# Groupadd-g 600 bea
# Useradd-d/bea-u 600-g 600 weblogic
# Passwd weblogic -- activate weblogic users
Run the following command to allocate/bea to the weblogic user.
# Cd/
# Chown weblogic: bea/bea
# Chmod 755/bea
§ 2. 2.2 upload and execute the Installation File
Log on to weblogic and use the bin mode. Upload the WebLogic Installation File server103_linux.bin to the soft directory and run the following command to execute the installation file.
$ Cd/soft
$ Chmod a + x server103_linux.bin
$./Server103_linux.bin-mode = console

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" = [/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/bea.

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 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 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 directoryEnter 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%.

2. Configure Configuration Wizard
After the 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.

Create the user name and password on the Management page (the password must be at least 8 characters). NEXT, NEXT;
Click Create to Create a DOMAIN.

Iii. 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. Configure Weblogic connection pool

Access the console through http: // localhost: 7001/console

In the left-side menu, choose mydomain (custom Domain Name)> service> JDBC> connection buffer pool.

Click "configure a new JDBC Connection Pool ..."

Data Type Selection: Oracle

Database Driver: Oracle's Driver (Thin) Version: 9.0.1, 0.2.0, 10

Click "continue" in the lower right corner"

Write the name of the connection pool you want to set in the name (in this example: myconnection1) -- you can name it yourself

Database Name: name of the database to be accessed --- must be the global database name SID of oracle

Host Name: Name or IP address of the host written to the database server (in this example, 192.168.1.20)

Default port: 1521

Enter the database user name and password based on the actual situation

Click "continue"

On the next page, click "test driver configuration" to display "connection successful"

Click "Create and deploy"

The configuration item of myconnection1 appears in the list of the new page.

Connection Pool configured

5. Publish web Applications

Click "Web Application Medules", select "Deploy New Web Applocation Medules", and create an Application.
5. Select the default directory for this WebServer: (Note: The directory contains the WEB-INF directory, the folder containing the web. xml file under the WEB-INF directory can be set to the default directory ). Click webwebapp's previous ticket here. Click "target modules"

If WEB_INF/applicationContext-resoure.xml has data source configuration, datasource configuration JINI name must be consistent

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.