- Websphere_liberty——轻量级application Web Server
- 准备安装包
IMS ---- agent.installer.linux.gtk
Liberty core ------- liberty.CORE_16.0.zip
SDK -------com.ibm.java.jdk.v8_8.0.zip
2.安装步骤
IMS安装步骤:
解压IM安装文件agent.installer.linux.gtk,进入解压目录执行安装命令
./installc -acceptLicense -installationDirectory /app/IBM/InstallationManager/eclipse/ -nl zh
Liberty core 16002 安装步骤:
检查安装包的完整性 /app/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /app/software/Liberty/16002/repository.config
正常输出结果:com.ibm.websphere.liberty.CORE_16.0.2.20160526_2338
安装命令:
/app/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.liberty.CORE_16.0.2.20160526_2338 -installationDirectory /app/WebSphere/AppServer -repositories /app/software/Liberty/16002/repository.config -sharedResourcesDirectory /app/IBM/shared -acceptLicense -showVerboseProgress
更新补丁Lberty FP18004 安装步骤 :
检查安装包的完整性 /app/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /app/software/Liberty/18004/repository.config
正常输出结果:com.ibm.websphere.liberty.CORE_18.0.4.20181121_0300
com.ibm.websphere.liberty.TRIAL.v85_8.5.18004.20181121_0300
com.ibm.websphere.liberty.v85_8.5.18004.20181121_0300
安装命令
/app/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.liberty.CORE_18.0.4.20181121_0300 -installationDirectory /app/WebSphere/AppServer -repositories /app/software/Liberty/18004/repository.config -acceptLicense -showVerboseProgress
IBM JDK 安装步骤:
检查安装包的完整性 /app/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories/app/software/Liberty/JAVA/repository.config
com.ibm.java.jdk.v8_8.0.5026.20181120_0517
安装命令
/app/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.java.jdk.v8_8.0.5026.20181120_0517 -repositories /app/software/Liberty/JAVA/repository.config -installationDirectory /app/WebSphere/AppServer/ -acceptLicense -showProgress
3.最后检查安装项目和目录
检查命令: /app/IBM/InstallationManager/eclipse/tools/imcl listInstalledPackages -long
输出结果: /app/IBM/InstallationManager/eclipse : com.ibm.cic.agent_1.8.7001.20170920_1141 : IBM?? Installation Manager : 1.8.7.1
/app/IBM/WebSphere/AppServer : com.ibm.java.jdk.v8_8.0.5026.20181120_0517 : IBM SDK, Java Technology Edition, Version 8 : 8.0.5.26
/app/IBM/WebSphere/AppServer : com.ibm.websphere.liberty.CORE_18.0.4.20181121_0300 : IBM WebSphere Application Server Liberty Core : 18.0.0.4
至此Liberty的安装到此结束。
- 基本配置
1.创建实例
进入/WebSphere/AppServer/bin
执行 ./server create 实例名
2.发布应用
修改server.xml端口,可以定义文根
war包放在apps或者dropings