Install and configure Weblogic 10 in CentOS 6.3

Source: Internet
Author: User

Installation instructions

Installation environment: CentOS-6.3-x64
Software: server1001_ccjk_linux32.bin
Installation Method: binfile Installation
Installation path:/usr/local/weblogic/
: Http://www.Oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html

Installation preparation

# Create a weblogic user group.
[Root @ admin/] # groupadd weblogic
[Root @ admin/] # useradd-g weblogic
[Root @ admin/] # passwd weblogic # modify the weblogic Password

# Create/usr/local/weblogic/directory
[Root @ admin/] # mkdir-p/usr/local/weblogic/

# Modifying directory owner Permissions
[Root @ admin/] # chown-Rf weblogic: weblogic/usr/local/weblogic/

 

Install

# Enter/cd/local
[Root @ admin/] # cd/usr/local

# Grant. bin executable permissions
[Root @ admin local] # chmod a + x/usr/local/server1001_ccjk_linux32.bin

 

Run./server1001_ccjk_linux32.bin to enter the welcome page for console installation:

[Root @ admin local] #./server1001_ccjk_linux32.bin
Extracting 0% ...................................... ...................... 100%
The GUI cannot be instantiated. The Console mode is used by default.
<--------------------------- BEA Installer-BEA Products --------------------------->
Welcome:
-------
This installer will guide you through BEA Products installation. Enter "Next" or press Enter to continue the Next prompt. If you want to change the previously entered data, enter "Previous ". You can Exit the installer at any time by entering "Exit.

Enter [Exit] [Next]> Next

Type [Next] to continue

# The authorization agreement is displayed. After reading the authorization agreement, type [Yes] to continue.
Enter the option number to be selected or [Down] [Exit] [Previous]> 1

# The following message is displayed:/usr/local/weblogic/
Enter the BEA main directory or [Exit] [Previous] [Next]>/usr/local/weblogic/

# Select the BEA home directory:
"BEA main directory" = [/usr/local/weblogic/]
Use the preceding values or select another option:
1-Enter the new value BEA home directory
2-change to the default value [/root/bea]
Enter the option number or [Exit] [Previous] [Next]> 1

# Next
Enter the new value BEA main directory or [Exit] [Previous] [Next]> Next

# Select the installation type:
Enter the index number or [Exit] [Previous] [Next]> Next

# Select the product installation directory:
Enter the index number or [Exit] [Previous] [Next]> Next

# After the domain is automatically created
Creating domain...
[Exit]> enter

1.3 create a domain

# Using WebLogic users to log on to the system
[Root @ admin local] # cd/usr/local/weblogic // wlserver_10.0/common/bin
[Root @ admin bin] # cd/
[Root @ admin/] # su-weblogic
[Weblogic @ admin ~] $ Cd/usr/local/weblogic // wlserver_10.0/common/bin
[Weblogic @ admin bin] $ pwd
/Usr/local/weblogic // wlserver_10.0/common/bin

[Weblogic @ admin bin] $./config. sh

 

 

Welcome:
-------

Select between create and extend domains. Based on your selection, Configuration Wizard guides you through the steps to generate a new domain or expand an existing domain.

-> 1 | create a WebLogic domain
| Create a WebLogic domain in your project directory.

2 | extend the existing WebLogic domain
| Extends the existing WebLogic domain. You can use this option to add applications and services,
| Or replace the current database access (JDBC) and message passing (JMS) settings. You can also use other methods
| (For example, add other features to the domain by including the AquaLogic Service Bus.

Enter the index number or [Exit] [Next]> # Press enter.

Select a domain Source:
-------------

Select the source from which you want to create a domain. You can create a domain by selecting from the required components or from the list of existing domain templates.

-> 1 | select the Weblogic Platform Component.
| You can select the Weblogic component that you want to support in your domain.

2 | select a custom template
| If you want to use an existing template, select this option. This Template can be created using Template Builder.
| Created custom template.
Enter the index number or [Exit] [Previous] [Next]> # Press enter.

Application Template Selection:
-------------------------

 

Available templates
| _____ WebLogic Server (Required) x
| _____ Workshop for WebLogic Platform [2]

Enter a number that is exactly the same as that in brackets to switch between options or [Exit] [Previous] [Next]> # Press enter.

Configure the administrator username and password:
----------------------------------

Create a user to be assigned to the administrator role. This user is the default Administrator used to start the Development Mode Server.

| Name | Value |
_ | _________________________ | _________________________________________ |
1 | * User name: | weblogic |
2 | * User password: |
3 | * Confirm user password: |
4 | Description: | This user is the default administrator. |

Use the preceding values or select another option:
1-modify "User name"
2-modify "User password"
3-modify "Confirm user password"
4-modify "Description"

Enter the option number to be selected or [Exit] [Previous] [Next]> 2 # select 2 and change the password to weblogic.

# Select 2 and change the password to weblogic
Configure the administrator username and password:
----------------------------------

Create a user to be assigned to the administrator role. This user is the default Administrator used to start the Development Mode Server.

"* User password:" = []
Enter the new value * User password: or [Exit] [Reset] [Accept]> weblogic

# Select 3. Confirm the password. I also enter weblogic.
Enter the option number or [Exit] [Previous] [Next]> 3

Configure the administrator username and password:
----------------------------------

Create a user to be assigned to the administrator role. This user is the default Administrator used to start the Development Mode Server.

"* Confirm user password:" = []
Enter the new value * Confirm user password: or [Exit] [Reset] [Accept]> weblogic

 

Configure the administrator username and password:
----------------------------------

Create a user to be assigned to the administrator role. This user is the default Administrator used to start the Development Mode Server.

| Name | Value |
_ | _________________________ | _________________________________________ |
1 | * User name: | weblogic |
2 | * User password: | ******** |
3 | * Confirm user password: | ********* |
4 | Description: | This user is the default administrator. |

Use the preceding values or select another option:
1-modify "User name"
2-modify "User password"
3-modify "Confirm user password"
4-modify "Description"
5-Discard changes

Enter the option number or [Exit] [Previous] [Next]> Next

 

Domain mode configuration:
----------------
Enable the development or production mode for this domain.
-> 1 | Development Mode
2 | production mode

Enter the index number to be selected or [Exit] [Previous] [Next]> 2

 

Java SDK selection:
----------------

-> 1 | JRockit SDK 1.5.0 _ 11 @/usr/local/weblogic // jrockit_150_11
2 | Sun SDK 1.5.0 _ 11 @/usr/local/weblogic // jdk150_11
3 | other Java sdks

 

 

Enter the index number to be selected or [Exit] [Previous] [Next]> 2

Select Configuration Options:
-------------------
* Do you Want to modify any pre-configuration settings or default settings in the template?
*
* To retain the default settings or template settings and directly continue the naming and domain creation, select "no ".
1 | Yes
-> 2 | No
Enter the index number to be selected or [Exit] [Previous] [Next]> 2

Select the target domain directory for this domain:
-------------------------------
"Target location" = [enter a new value or usage value "/usr/local/weblogic // user_projects/domains"]
Enter the target location of the new value or [Exit] [Previous] [Next]> # Press enter.

# Install it in the default path and press enter (generally, you need to manually create the/opt/mss/mssdomain directory and/opt/mss directory. Note the directory permission)

Edit domain information:
----------------
| Name | Value |
_ | ________ | _____________ |
1 | * Name: | base_domain |
Enter the following value: "Name" or [Exit] [Previous] [Next]> weblogic10mss # enter the domain Name weblogic10mss.

 

Edit domain information:
----------------
| Name | Value |
_ | ________ | _______________ |
1 | * Name: | weblogic10mss |
Use the preceding values or select another option:
1-modify "Name"
2-Discard changes
Enter the option number or [Exit] [Previous] [Next]> # Press enter.

Creating domain...
0% 25% 50% 75% 100%
[------------ | ------------]
[*************************************** * ***********]
* *** The domain is successfully created! ****

 

1.4 start weblogic

[Weblogic @ admin bin] $/usr/local/weblogic // user_projects/domains/weblogic10mss/startWebLogic. sh
**************************************** ***********
* To start WebLogic Server, use a username and *
* Password assigned to an admin-level user. *
* Server administration, use the WebLogic Server *
* Console at http: // hostname: port/console *
**************************************** ***********
Starting weblogic with Java version:
Java version "1.5.0 _ 11"
Java (TM) 2 Runtime Environment, Standard Edition (build 1.5.0 _ 11-b03)
Java HotSpot (TM) Server VM (build 1.5.0 _ 11-b03, mixed mode)
Starting WLS with line:
/Usr/local/weblogic // jdk150_11/bin/java-server-Xms256m-Xmx512m-XX: MaxPermSize = 128 m-da-Dplatform. home =/usr/local/weblogic // wlserver_10.0-Dwls. home =/usr/local/weblogic // wlserver_10.0/server-Dweblogic. home =/usr/local/weblogic // wlserver_10.0/server-Dwli. home =/usr/local/weblogic // wlserver_10.0/integration-Dweblogic. management. discover = true-Dwlw. iterativeDev = false-Dwlw. testConsole = false-Dwlw. logErrorsToConsole =-Dweblogic. ext. dirs =/usr/local/weblogic // patch_wlw1001/profiles/default/users:/usr/local/weblogic // patch_wls1001/profiles/default/sysext_manifest_classpath-Dweblogic. name = AdminServer-Djava. security. policy =/usr/local/weblogic // wlserver_10.0/server/lib/weblogic. policy weblogic. server
<06:33:38 A.M. CST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/Usr/local/weblogic // wlserver_10.0/platform/lib/L10N/activityservers_ja.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/activityservers_ko.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/activityservers_zh_CN.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/activityservers_zh_TW.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/beehive_ja.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/beehive_ko.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/restart:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/beehive_zh_TW.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/p13n_ja.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/p13n_ko.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/p13n_zh_CN.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/p13n_zh_TW.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/testclient_ja.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/testclient_ko.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/testclient_zh_CN.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/testclient_zh_TW.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/war-classes_ja.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/war-classes_ko.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/war-classes_zh_CN.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/war-classes_zh_TW.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/wlp_ja.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/wlp_ko.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/wlp_zh_CN.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/wlp_zh_TW.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/workshop_ja.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/workshop_ko.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/L10N/workshop_zh_CN.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/L10N/workshop_zh_TW.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/p13n/p13n-schemas.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/p13n/p13n_common.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/p13n/p13n_system.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/wlp/netuix_common.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/wlp/netuix_schemas.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/wlp/netuix_system.jar: /usr/local/weblogic // wlserver_10.0/platform/lib/wlp/wsrp-client.jar:/usr/local/weblogic // wlserver_10.0/platform/lib/wlp/wsrp-common.jar>
<06:33:39 A.M. CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot (TM) Server VM Version 1.5.0 _ 11-b03 from Sun Microsystems Inc.>
<06:33:40 A.M. CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.0 MP1 Sat Oct 27 03:00:39 PDT 2007 1005184>
<06:35:49 A.M. CST> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:

Enter username to boot WebLogic server: weblogic Enter password to boot WebLogic server: Enter the user name and password (start in the above method, the current window will be suspended)
In the/usr/local/weblogic // user_projects/domains/weblogic10mss directory
New File boot. properties
Edit the file with the following content:

Username = weblogic
Password = weblogic

Started as a service, not in the current shell Process
Nohup./startWebLogic. sh &

1.5 log on to the weblogic Console

Http: // 222.222.222.33: 7001/console/

After the password is verified, log on to the console

1.6 stop WebLogic Service

Through "http: // service address: 7001/console", shutdownserver
Use scripts to stop the service:
Under the path #/usr/local/weblogic // user_projects/domains/weblogic10mss, run the stopWebLogic. sh file.

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.