1.下载安装包
gtk.x86_64_1.8.9004.20190423_2015.zip ---Installation Manager安装包
sdk.repo.8035.java8.linux.zip ---java安装包
was.repo.90501.nd.zip ---was安装包
2.解压缩
unzip gtk.x86_64_1.8.9004.20190423_2015.zip -d /app/IM
unzip sdk.repo.8035.java8.linux.zip -d /app/JAVA_INSTALL
unzip was.repo.90501.nd.zip -d /app/WAS_ND_9.0
3. 创建一个放Installation Manager的目录
mkdir eclipse
4.安装Installation Manager
/app/IM/userinstc -acceptLicense -InstallationDirectory /app/IM/eclipse
安装完后提示
Installed com.ibm.cic.agent_1.8.9004.20190423_2015 to the /app/IM/eclipse directory.
5.查看java和was的版本号用于安装命令使用
/app/IM/eclipse/tools/imcl listAvailablePackages -repositories /app/WAS_ND_9.0
com.ibm.websphere.ND.v90_9.0.5001.20190828_0616
/app/IM/eclipse/tools/imcl listAvailablePackages -repositories /app/JAVA_INSTALL/
com.ibm.java.jdk.v8_8.0.5035.20190422_0948
6.WAS9需要同时安装JAVA和WAS
/app/IM/eclipse/tools/imcl install com.ibm.websphere.ND.v90_9.0.5001.20190828_0616 com.ibm.java.jdk.v8_8.0.5035.20190422_0948 -repositories /app/WAS_ND_9.0/repository.config,/app/JAVA_INSTALL/repository.config -installationDirectory /app/WebSphere/AppServer -sharedResourcesDirectory /app/IBM/IMShared -acceptLicense -properties cic.selector.nl=zh
安装完提示
Installed com.ibm.websphere.ND.v90_9.0.5001.20190828_0616 to the /app/WebSphere/AppServer directory.
Installed com.ibm.java.jdk.v8_8.0.5035.20190422_0948 to the /app/WebSphere/AppServer directory.
到这里就安装好了
7.创建dmgr(概要文件)
/app/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName Dmgr01 -profilePath /app/WebSphere/AppServer/profiles/Dmgr01 -templatePath /app/WebSphere/AppServer/profileTemplates/dmgr/ -hostname xxxxxxx -enableAdminSecurity true -adminUserName xxx -adminPassword xxx -personalCertValidityPeriod 15 -signingCertValidityPeriod 25
-create 创建指令
-profileName 指定dmgr名称
-profilePath 指定dmgr文件的安装路径
-templatePath 指定dmgr文件模板的类型
-hostname 所要绑定的主机名
-enableAdminSecurity 开启安全协议,即将协议由 http变为https
-adminUserName 创建控制台管理用户
-adminPassword 创建控制台管理密码
-personalCertValidityPeriod 证书期限,不设定有可能导致概要节点无法使用
-signingCertValidityPeriod 证书期限,不设定有可能导致概要节点无法使用
8.创建Node
/app/WebSphere/AppServer/bin/manageprofiles.sh -create -profileName AppSrv01 -profilePath /app/WebSphere/AppServer/profiles/AppSrv01 -templatePath /app/WebSphere/AppServer/profileTemplates/default/ -hostname xxxxx -enableAdminSecurity true -adminUserName xxx -adminPassword xxx -personalCertValidityPeriod 15 -signingCertValidityPeriod 25
9.注册Node 到dmgr
/app/WebSphere/AppServer/profiles/Dmgr01/bin/startManager.sh
/app/WebSphere/AppServer/profiles/AppSrv01/bin/addNode.sh hostname是啥就填啥 8879