部署前准备创建Weblogic用户组groupaddweblogicuseradd–gweblogicweblogicpasswdweblogic(修改weblogic用户密码)创建Weblogic部署目录,修改目录及安装文件的权限mkdir/opt/middleware/weblogic815chown–Rfweblogic:weblogic/opt/middleware/weblogic815chownweblogic:weblogicweblogic815_linux32.binchmoda+xweblogic815_linux32.bin用weblogic用户登录系统su-weblogic安装Weblogic8.1.5执行./weblogic815_linux32.bin–mode=console进入控制台安装的欢迎界面Extracting0%....................................................................................................100%UnabletoinstantiateGUI,defaultingtoconsolemode.-----------------BEAInstaller-WebLogicPlatform8.1SP5-----------------Welcome:--------ThisinstallerwillguideyouthroughtheinstallationofWebLogicPlatform8.1SP5.TypeNextorentertoproceedtothenextprompt.Ifyouwanttochangedataenteredpreviously,typePrevious.YoumayquittheinstalleratanytimebytypingExit.Enter[Exit][Next]键入[Next]继续此时出现授权许可协议,读完后键入[1]继续-----------------BEAInstaller-WebLogicPlatform8.1SP5-----------------BEASystemsLicenseAgreement:------------------------------BEASYSTEMS,INC.SOFTWARELICENSEAGREEMENTUSEOFSOFTWAREORDEREDFROMBEASYSTEMS,INC.(BEA)ISPROVIDEDONLYUNDERLICENSEFROMBEA.PLEASEREADTHEFOLLOWINGLICENSECAREFULLYANDINDICATEYOURACCEPTANCEBYCLICKINGTHEACCEPTANCEBOX.CERTAINCAPITALIZEDTERMSAREDEFINEDINSECTION11.1.LICENSETERMSa.WebLogicSDKUse.ThetermsofthisSection1(a)areapplicabletoyouifyouhaveregisteredasaWebLogicSDKcustomer.SubjecttothetermsofthisAgreement,BEAgrantstoyouanon-exclusive,non-transferable,royalty-freelicensetouseWebLogicSDKsolelyforDevelopmentUseandScale-LimitedPersonalUseforthenumberofusersand/ordevelopersandthenumberofCPU's,Serversand/orattheSites,asspecifiedatthetimeofregistration.ThirdpartysoftwareproductsormodulessuppliedbyBEA,ifany,maybeusedsolelywiththeSoftware.AllrightsnotspecificallygrantedtoyouhereinareretainedbyBEA.b.WebLogicSDKProUse.ThetermsofthisSection1(b)areapplicabletoyouifyouhaveregisteredasaWebLogicSDKProcustomer.SubjecttothetermsofthisAgreement,BEAgrantstoyouanon-exclusive,non-transferable,SelectOption:1-Yes,Iagreewiththetermsofthelicense2-No,Idonotagreewiththetermsofthelicense提示选择一个BEA主目录-----------------BEAInstaller-WebLogicPlatform8.1SP5-----------------ChooseBEAHomeDirectory:--------------------------BEAHome=[/home/weblogic/bea]InputnewBEAHomeOR[Exit][Previous][Next]输入:/opt/middleware/weblogic815/bea确认BEA主目录*BEAhomechoice-1|Yes,UsethisBEAhomedirectory[/opt/middleware/weblogic815/bea]2|No,returntoBEAhomedirectoryselection输入[1]继续-----------------BEAInstaller-WebLogicPlatform8.1SP5-----------------ChooseInstallType:---------------------1|Complete|InstallthecompleteBEAWebLogicPlatform.2|CustomInstallation|Choosesoftwarecomponentstoinstallandperformoptionalconfiguration.EnterindexnumbertoselectOR[Exit][Previous][Next]选择安装类型,键入[1]继续,完全安装-----------------BEAInstaller-WebLogicPlatform8.1SP5-----------------ChooseProductDirectory:-------------------------ProductInstallationDirectory=[/opt/middleware/weblogic815/bea/weblogic81]InputnewProductInstallationDirectoryOR[Exit][Previous][Next]选择安装路径,默认,键入[Next]继续-----------------BEAInstaller-WebLogicPlatform8.1SP5-----------------ChooseProductDirectory:--------------------------1|Yes,usethisproductdirectory|[/opt/middleware/weblogic815/bea/weblogic81]2|No,selectanotherproductdirectoryEnterindexnumbertoselectOR[Exit][Previous][Next]确认安装路径,键入[1]继续-----------------BEAInstaller-WebLogicPlatform8.1SP5-----------------Installingfiles..0%25%50%75%100%[------------|------------|------------|------------][***************************************************]-----------------BEAInstaller-WebLogicPlatform8.1SP5-----------------InstallingJDK....0%25%50%75%100%[------------|------------|------------|------------][***************************************************]-----------------BEAInstaller-WebLogicPlatform8.1SP5-----------------InstallationCompleteCongratulations!WebLogicPlatform8.1SP5hasbeensuccessfullyinstalledto/opt/middleware/weblogic815/bea/weblogic81.PressanykeytocontinueOR[Exit]安装完毕创建服务使用weblogic用户登录系统cd/opt/middleware/weblogic815/bea/weblogic81/common/bin./config.sh进入设置UnabletoinstantiateGUI,defaultingtoconsolemode.---------------------BEAWebLogicConfigurationWizard---------------------CreateorExtendaConfiguration:---------------------------------Choosebetweencreatingandextendingaconfiguration.Basedonyourselection,theConfigurationWizardguidesyouthroughthestepstogenerateaneworextendanexistingconfiguration.-1|CreateanewWebLogicconfiguration|StartheretocreateaWebLogicconfigurationinyourprojects|directory.2|ExtendanexistingWebLogicconfiguration|StartheretoextendanexistingWebLogicconfiguration.Usethis|optiontoaddapplicationsandservices,includingDatabaseaccess(JDBC)|andMessaging(JMS).Thisoptionalsoenablesyoutoextendfunctionality|byenablingWebLogicWorkshop.EnterindexnumbertoselectOR[Exit][Next]创建一个新的weblogic配置,键入[1]继续---------------------BEAWebLogicConfigurationWizard---------------------SelectaDomainTemplate:-------------------------Pleaseselectatemplatefromthelistorselectanotherdirectoryofte