WebLogic在Linux上的安装及项目部署全套方案Word格式文档下载.docx
- 文档编号:7041794
- 上传时间:2023-05-07
- 格式:DOCX
- 页数:30
- 大小:812.78KB
WebLogic在Linux上的安装及项目部署全套方案Word格式文档下载.docx
《WebLogic在Linux上的安装及项目部署全套方案Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《WebLogic在Linux上的安装及项目部署全套方案Word格式文档下载.docx(30页珍藏版)》请在冰点文库上搜索。
为用户创建密码:
passwd用户名
4:
创建安装目标录.mkdir文件夹名
5:
给用户授权
Chown–R用户组名.用户安装目录
Chmod–R755安装目录
Xhost+(这句话专门好用必然要记得对oracle也很适用)
6:
注意:
将安装文件所在文件夹授予新建Weblogic用户与安装目录相同的权限.不然即便在Weblogic用户的根目录之下,文件由Weblogic用户上传,Weblogic用户仍然没有安装权限(安装文件所在文件夹是由root用户创建的吗?
待确认)
安装
运行安装文件,会弹出个图形窗口(假设弹不出图形窗口那就麻烦老多了,详情请翻到此文档最后。
),尔后依照提示就能够够一步步进行安装(中文的,很方便),而且很多都能够直接利用默许设置.需要注意的是:
这儿能够去掉中间”我希望通过……”的勾选,然后直接下一步
(本图非实截图,从别处借用,只是选项和内容大体一致)
在安装完成的界面上,会有一个运行QuickStart的选项,若是勾选运行,会进入图形化的配置向导,创建新的域或扩展现有域.
配置
进入安装目录,执行命令:
./config.sh-mode=console进入操纵台配置向导
进入图形化配置向导
此处以创建新的域为例,直接下一步.
继续下一步
在那个地址能够修改你的域名和域位置,然后下一步
创建治理该域(数据源配置,项目部署等)的用户名和密码,Weblogic默许要求密码不能少于八位,且不能少了数字和字符.
配置好以后选择下一步.
选择效劳器启动模式和JDK,那个版本自带有JDK6.0,能够选择默许,只是前面的开发模式和生产模式需要有所选择,我最终配置成功的是开发模式,此处以之为准.
7:
选择可选配置,能够不选,也能够全选.临时没发觉阻碍.
8:
配置治理效劳器,一样能够把SSL勾选上.
9:
直接默许下一步
10:
11:
再下一步
12:
配置数据库(可选)
13:
点创建,完成配置.
三:
部署项目
启动效劳:
进入weblogi安装目录/weblogic/user_projects/domains/你适才创建的域名/
执行:
然后就能够够登录
进行数据源的配置和项目的部署
配置数据源
用你适才配置的用户名和密码登录
在左侧的导航条选中效劳-----JBDC-------数据源.
这儿其实有很多说明和帮忙,而且仍是中文的,大伙儿能够进一步深切研究.
选中导航栏的数据源,右边显现你之前配置的数据源.选择新建,进入下面的页面
4
依照提示填上数据源的名称和JNDI的名称,和选择数据库的类型,数据库驱动类(注意驱动类版本与你所利用的数据库的版本)
若是你要发布包括润乾报表的项目,你此处的数据源名字必需和你在编辑报表时所配置的数据源名称一致(源能够不一致,但名称必需一致),不单单是ReportConfig.xml中的数据源名.
默许下一步
依照提示填写数据库信息,其中的主机名能够是IP.
测试数据库访问,并能够直接完成数据源的配置.
这一步很重要,因为项目都是部署在这些效劳器内的,若是你没有为你的数据源选择目标,那么他就可不能发布到该效劳器上,也确实是说在该效劳器上是没有数据源的,你部署这去的项目就找不到数据源.
这是建完的结果,注意,若是你的数据源后面的目标为空,那么说明那个数据源是没有被利用的,也确实是说,它是不能够访问的.若是要使创建的数据源能够利用,能够选中该数据源的名字,必点击,进入下面一步.
点击目标
勾选以后,保留
再点击导航栏的数据源,就能够够看到该数据已经有目标了.你的项目部署到相应的效劳器上后就有数据源能够访问了.
3部署项目
点击导航栏的部署,再在右边选择安装
在这会先显现文件夹,直到你选中能够发布的文件或文件夹.
一样而言,WebLogic都将项目部署在你所创建的域下面的applications文件夹下.能够是War包,也能够是文件夹,若是是文件夹,有可能会在你定位到WebRoot时才能选中发布,如此发布的项目是不成功的.
下一步
这儿必需选择一个效劳器,固然也能够多项选择,默许是没选的,选了以后下一步.
能够直接点击完成.如此,你的项目就部署成功了.
你的项目必需是活动的,且健康状况是OK的,才是能够访问的.
若是不是,勾选它,更新或启动.
无图形安装配置模式
执行./platform814_linux32.bin-mode=console
进入操纵台安装的欢迎界面,键入[Next]继续
现在显现授权许可协议,读完后键入[Yes]继续
提示选择一个BEA主目录:
输入:
/var/web/jsp/bea
确认BEA主目录,
键入[1]继续
选择安装类型,键入[1]继续
选择安装途径,默许,输入[next]继续。
确认安装途径。
安装完毕。
注:
(两个补丁文件见补丁包的说明)
1.3创建效劳
利用WebLogic用户登录系统:
[weblogic@jcmsbin]$cd/var/web/jsp/bea/weblogic81/common/bin
UnabletoinstantiateGUI,defaultingtoconsolemode.
进入设置:
CreateorExtendaConfiguration:
---------------------------------
Choosebetweencreatingandextendingaconfiguration.Basedonyourselection,theConfigurationWizardguidesyouthroughthestepsto
generateaneworextendanexistingconfiguration.
->
1|CreateanewWebLogicconfiguration
|StartheretocreateaWebLogicconfigurationinyourprojectsdirectory.
2|ExtendanexistingWebLogicconfiguration
|StartheretoextendanexistingWebLogicconfiguration.Usethisoptiontoaddapplicationsandservices,includingDatabase
|access(JDBC)andMessaging(JMS).ThisoptionalsoenablesyoutoextendfunctionalitybyenablingWebLogicWorkshop.
EnterindexnumbertoselectOR[Exit][Next]>
1
SelectaDomainTemplate:
-------------------------
Pleaseselectatemplatefromthelistorselectanotherdirectoryoftemplates.
*[/home/weblogic/bea/weblogic81/common/templates/domains]
|BEASystems,Inc.
|CreateabasicWebLogicPlatformdomain,withoutinstallingsampleapplications.Domainscreatedfromthistemplatewillsupportthe
|WebLogicServer,WebLogicWorkshop,WebLogicIntegrationandWebLogicPortalruntimefunctionality,includingsupportforJ2EE
|applications,Webapplications,WebServices,customcontrols,businessprocessesandportals.Usedomainscreatedfromthistemplate
|fordevelopmentofWebLogicPlatformapplications.
|CreateabasicWebLogicPortaldomain,withoutinstallingsampleapplications.Domainscreatedfromthistemplatewillsupportthe
|WebLogicServer,WebLogicWorkshopandWebLogicPortalruntimefunctionality,includingsupportforJ2EEapplications,Webapplications,
|WebServices,customcontrolsandportals.UsedomainscreatedfromthistemplatefordevelopmentofWebLogicPortalapplications.
|BEASystems,Inc.
|CreateabasicWebLogicIntegrationdomain,withoutinstallingsampleapplications.Domainscreatedfromthistemplatewillsupport
|theWebLogicServer,WebLogicWorkshopandWebLogicIntegrationruntimefunctionality,includingsupportforJ2EEapplications,Web
|applications,WebServices,customcontrolsandbusinessprocesses.UsedomainscreatedfromthistemplatefordevelopmentofWebLogic
|Integrationapplications.
|BEASystems,Inc.
EnterindexnumbertoselectOR[Down][Exit][Previous][Next]>
down
|CreateabasicWebLogicWorkshopdomain,withoutinstallingsampleapplications.Domainscreatedfromthistemplatewillsupportthe|WebLogicServerandWebLogicWorkshopruntimefunctionality,includingsupportforJ2EEapplications,Webapplications,WebServicesand|customcontrols.UsedomainscreatedfromthistemplatefordevelopmentofWebLogicWorkshopapplications.
|CreateabasicWebLogicServerdomainwithoutinstallingsampleapplications.
|CreatetheWebLogicServerExamplesdomaininadirectoryoutsideoftheinstalledkit.TheExamplesdomaincontainsacollectionof
|examplestoshowbestpracticesforcodingindividualJ2EEAPIs.
|CreatetheAvitekMedicalRecordsdomaininadirectoryoutsideoftheinstalledkit.TheAvitekMedicalRecordsisaWebLogicServer|sampleapplicationsuitethatconciselydemonstratesallaspectsoftheJ2EEplatform.
8|Selectanotherdirectorylocation
EnterindexnumbertoselectOR[Up][Exit][Previous][Next]>
5
*Theselectedtemplateisthesameastheoneyouareworkingon.Doyou
*wanttoreloadthetemplate?
1|Yes
2|No
ChooseConfigurationOption:
*Doyouwanttorunthewizardinexpressmode?
EnterindexnumbertoselectOR[Exit][Previous][Next]>
ConfigureAdministrativeUsernameandPassword:
--------------------
CreateauserautomaticallyassignedtotheAdministrativeRole.Thisuseristhedefaultadministratorusedtostartdevelopmentmode
servers.
|Name|Value|
_|_________________________|_________________________________|
1|*Username:
|weblogic|
2|*Userpassword:
||
3|*Confirmuserpassword:
4|Description:
|Thedefaultadministrationuser|
SelectOption:
1-Modify"
Username"
2-Modify"
Userpassword"
3-Modify"
Confirmuserpassword"
4-Modify"
Description"
EnteroptionnumbertoselectOR[Exit][Previous][Next]>
2
"
*Userpassword:
"
=[]
Inputnew*Userpassword:
OR[Exit][Reset][Accept]>
[输入八位密码]
|******|
5-DiscardChanges
3
*Confirmuserpassword:
Inputnew*Confirmuserpassword:
[确认八位密码]///口令必需与上面的一样
|********|
next
DomainModeConfiguration:
--------------------------
EnableDevelopmentorProductionModeforthisdomain.
1|DevelopmentMode
2|ProductionMode
JavaSDKSelection:
-------------------
1|JRockitSDK1.4.2_04-8130@/home/weblogic/bea/jrockit81sp3_142_04
2|SunSDK1.4.2_04@/home/weblogic/bea/jdk142_04
3|OtherJavaSDK
Selectthetargetdomaindirectoryforthisconfiguration:
--
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- WebLogic Linux 安装 项目 部署 全套 方案
![提示](https://static.bingdoc.com/images/bang_tan.gif)