安装 IBM WAS

Install rpms:

1
2
3
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:

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


Unstall IM:

1
/var/ibm/InstallationManager/uninstall/uninstallc


List Availabe Packages:

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


Install WAS:

1
2
3
4
/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:

1
2
3
4
/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:

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


Create DM Profiles:

1
2
3
4
5
6
7
8
9
/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:

1
2
3
4
5
6
7
/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:

1
2
3
4
5
6
7
8
9
10
/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:

1
2
3
4
5
6
7
8
9
10
11
12
/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:

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


Add Note to DM:

1
2
3
/opt/IBM/WebSphere/AppServer/bin/addNode .sh was1 8879 \
-username wasadmin \
-password wasadmin

Delete Note:

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


测试:

登陆控制台:https://wasserver:9043/ibm/console/发系统自带测试包

访问自带包:http://wasserver:9080/snoop 





     本文转自1321385590 51CTO博客,原文链接:http://blog.51cto.com/linux10000/1769345,如需转载请自行联系原作者




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值