CentOS 6.3 Installation Configuration Weblogic-10 method _linux

Source: Internet
Author: User
Tags extend

Zhoulf 2013-02-22 09:51:52 Original

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

Installation Preparation

Copy Code code as follows:

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

#创建/usr/local/weblogic/Directory
[Root@admin/]# mkdir-p/usr/local/weblogic/

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

Installation

Copy Code code as follows:

#进入/cd/local
[Root@admin/]# cd/usr/local

#赋予. bin executable Permissions
[Root@admin local]# chmod A+x/usr/local/server1001_ccjk_linux32.bin

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

Copy Code code as follows:

[Root@admin local]#./server1001_ccjk_linux32.bin
Extracting 0% ............. .......... ............... ........ 100%
Unable to instantiate GUI, enter console mode by default.
<---------------------------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 the data that you entered previously, enter "Previous". You can exit setup at any time by entering "exit".
Enter [exit][next]> Next

Type [Next] to continue

Copy Code code as follows:

#此时出现授权许可协议, type [Yes] to continue when you finish 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 value above 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

Copy Code code as follows:

#使用WebLogic用户登录系统
[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

Copy Code code as follows:



Welcome:


-------

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

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

2| extension of existing WebLogic domains
| Extend the existing WebLogic domain. Use this option to add applications and services.
| or replace existing database access (JDBC) and message delivery (JMS) settings. There are other ways to
| (for example, by including AquaLogic Service Bus) to 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| Select Weblogic Platform component
| You can select the Weblogic components that you want to be supported in your domain.

2| Select a custom template
| Select this option if you want to use an existing template. This template can be used Template Builder
| The custom template that you 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 an administrator user name and password:
----------------------------------

Create a user to assign to the Administrator role. This user is the default administrator for starting 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 value above or select another option:
1-Modify "User name"
2-Modify "User password"
3-Modify "Confirm User password"
4-Modify "Description"

Enter the option number you want to select or [Exit][previous][next]>2 #选择2, modify the password, I modify to WebLogic

#选择2, change the password, I modify it for WebLogic
To configure an administrator user name and password:
----------------------------------

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

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

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

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

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

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

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

Create a user to assign to the Administrator role. This user is the default administrator for starting 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 value above 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 mode

Enter the index number or [exit][previous][next]> 2 you want to select

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 SDK

Enter the index number or [exit][previous][next]> 2 you want to select

Select configuration options:
-------------------
* Do you want to modify any preconfigured or default settings in the template?
*
* To keep the default settings or template settings and continue naming and creating fields 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 target location or [exit][previous][next]> #直接回车

#安装在默认路径, Direct carriage return (general modification to/opt/mss/mssdomain directory,/OPT/MSS need to manually build, note directory permissions)

To edit Domain information:
----------------
|    Name | Value |
_|________|_____________|
1| *name: | Base_domain |
Enter the value "Name" or [exit][previous][next]> WEBLOGIC10MSS for the following content #输入domain名字weblogic10mss

To edit Domain information:
----------------
|     Name | Value |
_|________|_______________|
1| *name: | Weblogic10mss |
Use the value above 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 Creation Successful! ****

1.4 Start WebLogic

Copy Code code as follows:



[Weblogic@admin bin]$/usr/local/weblogic//user_projects/domains/weblogic10mss/startweblogic.sh


***************************************************


* To start WebLogic Server, use a username and *


* Password assigned to a 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


&lt;2013-2-22 06:33 A.M. 38 sec cst&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000395&gt; &lt;following Extensions Directory contents added to 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&gt;


&lt;2013-2-22 06:33 A.M. 39 sec cst&gt; &lt;Info&gt; &lt;WebLogicServer&gt; &lt;BEA-000377&gt; &lt;starting WebLogic Server With Java HotSpot (TM) Server VM Version 1.5.0_11-b03 from Sun Microsystems inc.&gt;


&lt;2013-2-22 06:33 A.M. 40 sec cst&gt; &lt;Info&gt; &lt;Management&gt; &lt;BEA-141107&gt; &lt;version:weblogic Server 10.0 MP1 Sat Oct 03:00:39 PDT 2007 1005184 &gt;


&lt;2013-2-22 06:35 A.M. 49 sec cst&gt; &lt;Info&gt; &lt;Security&gt; &lt;BEA-090065&gt; &lt;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: Requires a username password (the way it starts, the current window hangs)
Under the directory/usr/local/weblogic//user_projects/domains/weblogic10mss
New File Boot.properties
Edit the file with the contents:

Copy Code code as follows:

Username=weblogic
Password=weblogic

Start as a service and not hang under current shell process

Nohup./startweblogic.sh &

1.5 Login WebLogic Console
http://222.222.222.33:7001/console/

Log on to the console after successful password verification

1.6 Stop WebLogic Service
Through "http://service address: 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.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.