码迷,mamicode.com
首页 > 其他好文 > 详细

安装 IBM WAS

时间:2016-05-01 17:48:28      阅读:502      评论:0      收藏:0      [点我收藏+]

标签:was

Install rpms:

yum install -y libstdc++.i686 libstdc++-devel.i686 gtk2.i686 gtk2-engines.i686 PackageKit-gtk-module.i686 PackageKit-gtk-module.x86_64 libcanberra-gtk2.x86_64 libcanberra-gtk2.i686


Install IM:

/opt/IBM/InstallationManager/eclipse/tools/installc -silent -acceptLicense


Unstall IM:

/var/ibm/InstallationManager/uninstall/uninstallc


List Availabe Packages:

/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /root/was/repository.config


Install WAS:

/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.NDTRIAL.v85_8.5.5000.20130514_1044 -repositories /root/was/repository.config -acceptLicense


Uninstall WAS:

/opt/IBM/InstallationManager/eclipse/tools/imcl uninstall com.ibm.websphere.NDTRIAL.v85_8.5.5000.20130514_1044 -installationDirectory /opt/IBM/WebSphere/AppServer
rm -rf /opt/IBM/WebSphere/AppServer


Check Installed Packages:

/opt/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages


Create DM Profiles:

/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/management -serverType DEPLOYMENT_MANAGER -profileName Dmgr01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin -cellName Cell01 -nodeName CellManager01

Create Custom Profiles:

/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName Custom01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/Custom01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed -nodeName CustomNode -cellName CustomCell -isDefault


Create Cell Profiles:

first:

/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/cell/dmgr -nodeProfilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 -profileName Dmgr01 -cellName DefaultCell01 -nodeName DefaultNode01 -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin -appServerNodeName ServerNode

secound:

/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/cell/default -dmgrProfilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 -portsFile /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/portdef.props -nodePortsFile /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/nodeportdef.props -profileName AppSrv01 -cellName DefaultCell01 -nodeName DefaultNode01 -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin -appServerNodeName ServerNode


Delete Profiles:

/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -delete -profileName Dmgr01
/opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -validateAndUpdateRegistry


Add Note to DM:

/opt/IBM/WebSphere/AppServer/bin/addNode.sh was1 8879 -username wasadmin -password wasadmin

Delete Note:

/opt/IBM/WebSphere/AppServer/removeNode.sh -force


安装 IBM WAS

标签:was

原文地址:http://huhaiqing.blog.51cto.com/6338282/1769345

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!