Linux下WebLogic103的安装与配置.docx
《Linux下WebLogic103的安装与配置.docx》由会员分享,可在线阅读,更多相关《Linux下WebLogic103的安装与配置.docx(49页珍藏版)》请在冰豆网上搜索。
Linux下WebLogic103的安装与配置
Linux下WebLogic10.3的安装与配置
WebLogic10.3安装、配置与管理手册
第二章WebLogic10.3forSUSElinux
§2.1安装准备
下载WebLogic10.3forx86linux安装文件;
安装SuseLinuxenterpriseServer11.0;
检查Suse环境,确保/root空闲空间在2G以上。
如果/root空间不足,则应扩展root空间,或创建一个新的文件系统,并确保该文件系统空间在2G以上。
本手册假定该文件系统的mount点是/soft;如root的空间足够,则在root创建目录/soft作为安装源目录;
创建WebLogic使用的文件系统,该文件系统的mount点建议为/bea,空间应在2G以上,后续将安装WebLogic软件到该文件系统中。
§2.2安装过程
§2.2.1创建bea组和weblogic用户
使用root登录操作系统,执行下列命令创建bea组和weblogic用户。
bea组号为600,weblogic用户号为600,属于bea组,home目录为/bea。
#groupadd-g600bea
#useradd-d/bea-u600-g600weblogic
#passwdweblogic--激活weblogic用户
执行下列命令将/bea分配给weblogic用户。
#cd/
#chownweblogic:
bea/bea
#chmod755/bea
§2.2.2上传安装文件并执行
使用weblogic登录,使用bin模式,上传WebLogic安装文件server103_linux.bin到soft目录,执行下列命令执行安装文件。
$cd/soft
$chmoda+xserver103_linux.bin
$./server103_linux.bin-mode=console
系统自动解压缩安装文件,并启动文本的安装界面。
§2.2.3欢迎界面
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
Welcome:
--------
ThisinstallerwillguideyouthroughtheinstallationofWebLogicPlatform
10.3.0.0.Type"Next"orentertoproceedtothenextprompt.Ifyouwantto
changedataenteredpreviously,type"Previous".Youmayquittheinstalleratanytimebytyping"Exit".
Enter[Exit][Next]>next
§2.2.4指定WebLogic主目录为/bea
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
ChooseBEAHomeDirectory:
--------------------------
"BEAHome"=[Enternewvalueorusedefault"/root/bea"]
EnternewBEAHomeOR[Exit][Previous][Next]>/bea
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
ChooseBEAHomeDirectory:
--------------------------
"BEAHome"=[/bea]
Useabovevalueorselectanotheroption:
1-EnternewBEAHome
2-Changetodefault[/root/bea]
EnteroptionnumbertoselectOR[Exit][Previous][Next]>next
§2.2.5选择安装类型为Custom
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
ChooseInstallType:
--------------------
Selectthetypeofinstallationyouwishtoperform.
->1|Complete
|Installthefollowingsoftwareproductsandexamples:
|-WebLogicServer
|-Workshop
2|Custom
|Choosesoftwareproductsandcomponentstoinstallandperformoptional
|configuration.
EnterindexnumbertoselectOR[Exit][Previous][Next]>2
§2.2.6选择要安装的产品组件
需取消安装Workshop和ServerExamples
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
ChooseProductsandComponents:
-------------------------------
Release10.3.0.0
|_____WebLogicServer[1]x
||_____CoreApplicationServer[1.1]x
||_____AdministrationConsole[1.2]x
||_____ConfigurationWizardandUpgradeFramework[1.3]x
||_____Web2.0HTTPPub-SubServer[1.4]x
||_____WebLogicJDBCDrivers[1.5]x
||_____ThirdPartyJDBCDrivers[1.6]x
||_____WebLogicServerClients[1.7]x
||_____WebLogicWebServerPlugins[1.8]x
||_____UDDIandXquerySupport[1.9]x
||_____ServerExamples[1.10]x
|_____Workshop[2]x
|_____WorkshopforWebLogic[2.1]x
|_____WorkshopRuntimeFramework[2.2]x
*Estimatedsizeofinstallation:
788.3MB
EnternumberexactlyasitappearsinbracketstotoggleselectionOR[Exit][Previous][Next]>2
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
ChooseProductsandComponents:
-------------------------------
Release10.3.0.0
|_____WebLogicServer[1]x
||_____CoreApplicationServer[1.1]x
||_____AdministrationConsole[1.2]x
||_____ConfigurationWizardandUpgradeFramework[1.3]x
||_____Web2.0HTTPPub-SubServer[1.4]x
||_____WebLogicJDBCDrivers[1.5]x
||_____ThirdPartyJDBCDrivers[1.6]x
||_____WebLogicServerClients[1.7]x
||_____WebLogicWebServerPlugins[1.8]x
||_____UDDIandXquerySupport[1.9]x
||_____ServerExamples[1.10]x
|_____Workshop[2]
|_____WorkshopforWebLogic[2.1]
|_____WorkshopRuntimeFramework[2.2]
*Estimatedsizeofinstallation:
406.3MB
EnternumberexactlyasitappearsinbracketstotoggleselectionOR[Exit][Previous][Next]>1.10
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
ChooseProductsandComponents:
-------------------------------
Release10.3.0.0
|_____WebLogicServer[1]x
||_____CoreApplicationServer[1.1]x
||_____AdministrationConsole[1.2]x
||_____ConfigurationWizardandUpgradeFramework[1.3]x
||_____Web2.0HTTPPub-SubServer[1.4]x
||_____WebLogicJDBCDrivers[1.5]x
||_____ThirdPartyJDBCDrivers[1.6]x
||_____WebLogicServerClients[1.7]x
||_____WebLogicWebServerPlugins[1.8]x
||_____UDDIandXquerySupport[1.9]x
||_____ServerExamples[1.10]
|_____Workshop[2]
|_____WorkshopforWebLogic[2.1]
|_____WorkshopRuntimeFramework[2.2]
*Estimatedsizeofinstallation:
360.4MB
EnternumberexactlyasitappearsinbracketstotoggleselectionOR[Exit][Previous][Next]>next
§2.2.7选择要安装的JDK
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
JDKSelection(Any*indicatesBEASuppliedVM):
------------------------------------------------
JDK(s)chosenforusewiththisproductinstallationwillbeinstalled.Supporteddefaultsifnotdeselectedwillbeusedinscriptstring-substitution.
1|AddLocalJdk
2|/bea/jdk160_05[x]*
3|/bea/jrockit_160_05[x]*
*Estimatedsizeofinstallation:
713.2MB
Enter1toaddor>=2totoggleselectionOR[Exit][Previous][Next]>next
§2.2.8安装确认
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
ChooseProductInstallationDirectories:
----------------------------------------
BEAHomeDirectory:
[/bea]
ProductInstallationDirectories:
"WebLogicServer"=[Enternewvalueorusedefault"/bea/wlserver_10.3"]
EnternewWebLogicServerOR[Exit][Previous][Next]>next
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
ThefollowingProductsandJDKswillbeinstalled:
--------------------------------------------------
WebLogicPlatform10.3.0.0
|_____WebLogicServer
||_____CoreApplicationServer
||_____AdministrationConsole
||_____ConfigurationWizardandUpgradeFramework
||_____Web2.0HTTPPub-SubServer
||_____WebLogicJDBCDrivers
||_____ThirdPartyJDBCDrivers
||_____WebLogicServerClients
||_____WebLogicWebServerPlugins
||_____UDDIandXquerySupport
|_____JDKs
|_____SunSDK1.6.0_05
|_____BEAJRockit1.6.0_05SDK
*Estimatedsizeofinstallation:
713.3MB
Enter[Exit][Previous][Next]>next
§2.2.9文件复制
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
Installingfiles..
0%25%50%75%100%
[------------|------------|------------|------------]
[*****************************
PerformingStringSubstitutions...
CreatingDomains...
§2.2.10安装结束
<---------------OracleInstaller-WebLogicPlatform10.3.0.0--------------->
InstallationComplete
Congratulations!
Installationiscomplete.
Press[Enter]tocontinueortype[Exit]>按回车键
§2.3创建管理服务器的域
AdminServerName:
AdminServer
ListenAddress:
192.168.100.1
ListenPort:
8080
SSLListenPort:
8081
SSLenabled:
true
DomainName:
weblogic
§2.3.1运行ConfigurationWizard
$cd/bea/wlserver_10.3/common/bin
./config.sh-mode=console
§2.3.2选择创建新域
<--------------------OracleWebLogicConfigurationWizard------------------->
Welcome:
--------
Choosebetweencreatingandextendingadomain.Basedonyourselection,
theConfigurationWizardguidesyouthroughthestepstogenerateanewor
extendanexistingdomain.
->1|CreateanewWebLogicdomain
|CreateaWebLogicdomaininyourprojectsdirectory.
2|ExtendanexistingWebLogicdomain
|ExtendanexistingWebLogicdomain.Usethisoptiontoadd
|applicationsandservices,ortooverrideexistingdatabaseaccess(JDBC)
|andmessaging(JMS)settings.Youcanalsoincorporateadditional
|functionalityinyourdomain,forexample,byincludingAquaLogicService
|Bus.
EnterindexnumbertoselectOR[Exit][Next]>1
§2.3.3选择域源
<--------------------OracleWebLogicConfigurationWizard------------------->
SelectDomainSource:
---------------------
Selectthesourcefromwhichthedomainwillbecreated.Youcancreatethe
domainbyselectingfromtherequiredcomponentsorbyselectingfroma
listofexistingdomaintemplates.
->1|ChooseWeblogicPlatformcomponents
|YoucanchoosetheWeblogiccomponent(s)thatyouwantsupportedin
|yourdomain.
2|Choosecustomtemplate
|Choosethisoptionifyouwanttouseanexistingtemplate.This
|couldbeacustomcreatedtemplateusingtheTemplateBuilder.
EnterindexnumbertoselectOR[Exit][Previous][Next]>1
<--------------------OracleWebLogicConfigurationWizard------------------->
ApplicationTemplateSelection:
-------------------------------
AvailableTemplates
|_____WebLogicServer(Required)x
EnternumberexactlyasitappearsinbracketstotoggleselectionOR[Exit][Previous][Next]>next
§2.3.4配置管理员及密码
<--------------------OracleWebLogicConfigurationWizard------------------->
ConfigureAdministratorUsernameandPassword:
----------------------------------------------
CreateausertobeassignedtotheAdministratorrole.Thisuseristhe
defaultadministratorusedtostartdevelopmentmodeservers.
|Name|Value|
_|_________________________|_________________________________________|
1|*Username:
|weblogic|
2|*Userpassword:
||
3|*Confirmuserpassword:
||
4|Description:
|Thisuseristhedefaultadministrator.|
Useabovevalueorselectanotheroption:
1-Modify"Username"
2-Modify"Userpassword"