CentOS-6.3 Installation Configuration Weblogic-10

Source: Internet
Author: User

Installation Instructions

Installation Environment: Centos-6.3-x64
Software: Server1001_ccjk_linux32.bin
Installation method: Bin file Installation
Installation Location:/usr/local/weblogic/
: http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html

Installation Preparation

#创建weblogic用户组.
[Email protected]/]# Groupadd WebLogic
[Email protected]/]# useradd-g WebLogic WebLogic
[Email protected]/]# passwd WebLogic #修改weblogic密码

#创建/usr/local/weblogic/Directory
[Email protected]/]# mkdir-p/usr/local/weblogic/

#修改目录所有者权限
[Email protected]/]# CHOWN-RF weblogic:weblogic/usr/local/weblogic/

Installation

#进入/cd/local
[Email protected]/]# cd/usr/local

#赋予. bin executable Permissions
[Email protected] local]# chmod a+x/usr/local/server1001_ccjk_linux32.bin

Execute./Server1001_ccjk_linux32.bin, enter the console installation Welcome screen:

[Email protected] local]#./server1001_ccjk_linux32.bin
Extracting 0% ... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... .... 100%
Unable to instantiate GUI, default into console mode.
<---------------------------BEA Installer-bea Products--------------------------->
Welcome:
-------
This installer will guide you through the installation of the BEA products. Enter "Next" or press ENTER to continue to the next prompt. If you want to change previously entered data, enter "Previous". You can exit the installer at any time by entering "exit".

Input [exit][next]> Next

Type [Next] to continue

#此时出现授权许可协议, type [Yes] to continue when you are finished reading
Enter the option number or [down][exit][previous]> 1 you want to select

#提示选择一个BEA主目录:/usr/local/weblogic/
Enter new value BEA home directory or [exit][previous][next]>/usr/local/weblogic/

#选择 BEA Home Directory:
"BEA home Directory" = [/usr/local/weblogic/]
Use the above values or select another option:
1-Enter new value BEA home directory
2-Change to default value [/root/bea]
Enter the option number or [exit][previous][next]> 1 you want to select

#执行下一步操作Next
Enter new value BEA home directory or [exit][previous][next]> Next

#选择安装类型:
Enter the index number to select or [exit][previous][next]> Next

#选择产品安装目录:
Enter the index number to select or [exit][previous][next]> Next

#自动创建完域后
Creating domain ...
[exit]> Enter

1.3 New Domain

#使用WebLogic用户登录系统
[Email protected] local]# Cd/usr/local/weblogic//wlserver_10.0/common/bin
[[Email protected] bin]# CD/
[Email protected]/]# su-weblogic
[Email protected] ~]$ Cd/usr/local/weblogic//wlserver_10.0/common/bin
[Email protected] bin]$ pwd
/usr/local/weblogic//wlserver_10.0/common/bin

[Email protected] bin]$./config.sh

Welcome:
-------

Choose between creating and extending the domain. Depending on your selection, the Configuration Wizard will guide you through the steps to build a new domain or extend an existing domain.

->1| New WebLogic Domain
| Create the WebLogic domain in your project directory.

2| Extending an existing WebLogic domain
| Extend the existing WebLogic domain. Use this option to add applications and services,
| or replace the existing database access (JDBC) and messaging (JMS) settings. There are other ways to
| (for example, by including AquaLogic Service Bus) Add additional functionality to the domain.

Enter the index number or [exit][next]> you want to select #直接回车

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

Select the source from which you want to create the domain. You can create a domain by selecting it in the desired component or by selecting it in the list of existing domain templates.

->1| Selecting Weblogic Platform Components
| You can select the Weblogic components that you want to be supported in your domain.

2| Choosing a custom template
| Select this option if you want to use an existing template. This template can be used with the templates Builder
| The custom template that was created.
Enter the index number or [exit][previous][next]> you want to select #直接回车

Application template selection:
-------------------------

Available templates
|_____weblogic Server (Required) x
|_____workshop for WebLogic Platform [2]

Enter the exact same number in parentheses to toggle the selection or [exit][previous][next]> #直接回车

To configure the administrator user name and password:
----------------------------------

Create a user to assign to the Administrator role. This user is the default administrator 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 above 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 select or [exit][previous][next]>2 #选择2, change password, I change to WebLogic

#选择2, change the password, I modified it to WebLogic
To configure the administrator user name and password:
----------------------------------

Create a user to assign to the Administrator role. This user is the default administrator to start the development mode server.

"*user Password:" = []
Enter a new value *user password: or [exit][reset][accept]>weblogic

#选择3, confirm the password, I also input weblogic
Enter the option number or [exit][previous][next]> 3 you want to select

To configure the administrator user name and password:
----------------------------------

Create a user to assign to the Administrator role. This user is the default administrator to start the development mode server.

"*confirm user password:" = []
Enter new value *confirm user password: or [exit][reset][accept]> WebLogic

To configure the administrator user name and password:
----------------------------------

Create a user to assign to the Administrator role. This user is the default administrator 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 above 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 to select or [exit][previous][next]> Next

Domain mode configuration:
----------------
Enable development or production mode for this domain.
->1| Development Model
2| Production model

Enter the index number to select 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 select or [exit][previous][next]> 2

Select configuration options:
-------------------
* Do you want to modify any of the pre-configured settings or default settings in the template?
*
* To keep the default settings or template settings and continue to name and create the domain directly, leave the "no" selected.
1| is
->2| No
Enter the index number to select or [exit][previous][next]>2

Select the target domain directory for this domain:
-------------------------------
"Target Location" = [Enter new value or use value "/usr/local/weblogic//user_projects/domains"]
Enter a new value destination location or [exit][previous][next]> #直接回车

#安装在默认路径, direct return (generally modified to/opt/mss/mssdomain directory,/OPT/MSS need to be built manually, note directory permissions)

Edit Domain Information:
----------------
|    Name | Value |
_|________|_____________|
1| *name: | Base_domain |
Enter the value "Name" or [exit][previous][next]> Weblogic10mss of the following content #输入domain名字weblogic10mss

Edit Domain Information:
----------------
|     Name | Value |
_|________|_______________|
1| *name: | Weblogic10mss |
Use the above values or select another option:
1-Modify "Name"
2-Discard Changes
Enter the option number or [exit][previous][next]> you want to select #直接回车

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

1.4 Start WebLogic

[Email protected] 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. for *
* 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=128m-da-dplatform.home=/usr/loca l/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/sysext_manifest_classpath:/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
<2013-2-22 06:33 A.M. 38 sec 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/beehive_zh_cn.jar:/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> 
<2013-2-22 06:33 A.M. 39 sec cst> <Info> <WebLogicServer> <BEA-000377> <starting WebLogic Server With Java HotSpot (TM) Server VM Version 1.5.0_11-b03 from Sun Microsystems inc.>
<2013-2-22 06:33 A.M. 40 sec cst> <Info> <Management> <BEA-141107> <version:weblogic Server 10.0 MP1 Sat Oct 03:00:39 PDT 1005184 >
<2013-2-22 06:35 A.M. 49 sec cst> <Info> <Security> <BEA-090065> <getting boot identity from user.& Gt
Enter username to boot WebLogic server:

Enter username to boot WebLogic server:weblogic Enter password to boot WebLogic server: User name password required (above to start, the current window will hang)
Under the directory/usr/local/weblogic//user_projects/domains/weblogic10mss
New File Boot.properties
Edit the file with the following file contents:

Username=weblogic
Password=weblogic

Starts as a service and does not hang under the current shell process
Nohup./startweblogic.sh &

1.5 Login to the WebLogic console

http://222.222.222.33:7001/console/

After the password verification is successful, log on to the console

1.6 Stop WebLogic Service

Via "http://Service 7001/console", Shutdownserver
To stop a service with a script:
Under the #/usr/local/weblogic//user_projects/domains/weblogic10mss path, there is a stopweblogic.sh file that can be executed.

CentOS-6.3 Installation Configuration Weblogic-10

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.