安装所需的组件和文件:
agent.installer.linux.gtk.x86_1.5.2000.20120223_0907.zip
WAS_ND_V8.5_1_OF_3.zip
WAS_ND_V8.5_2_OF_3.zip
WAS_ND_V8.5_3_OF_3.zip
WAS_V85_SUPPL_1_OF_3.zip
WAS_V85_SUPPL_2_OF_3.zip
WAS_V85_SUPPL_3_OF_3.zip
执行以下命令来解压安装:
#mkdir InstalMgr ND NDCP #cd InstalMgr #unzip BINAIRY_DIRECTORY/agent.installer.linux.gtk.x86_1.5.2000.20120223_0907.zip #cd ../ND #unzip BINAIRY_DIRECTORY/WAS_ND_V8.5_1_OF_3.zip #unzip BINAIRY_DIRECTORY/WAS_ND_V8.5_2_OF_3.zip #unzip BINAIRY_DIRECTORY/WAS_ND_V8.5_3_OF_3.zip #cd ../NDCP #unzip BINAIRY_DIRECTORY/WAS_V85_SUPPL_1_OF_3.zip #unzip BINAIRY_DIRECTORY/WAS_V85_SUPPL_2_OF_3.zip #unzip BINAIRY_DIRECTORY/WAS_V85_SUPPL_3_OF_3.zip
管理器安装步骤
#cd BINARIES_DIRECTORY #cd InstalMgr #./installc -acceptLicense -accessRights admin -installationDirectory "/opt/WebSphere85/IMGR" -dataLocation "/opt/WebSphere85/Imdata" -silent
安装需要大约5分钟,之后你应该有以下信息:
Installed com.ibm.cic.agent_1.5.2000.20120223_0907 to the /opt/WebSphere85/IMGR/eclipse directory.
8.5安装步骤
[root@was01 samples]# ll -rw-r--r--. 1 root root 18517 5月 14 2013 WASv85.nd.install.xml
#cd BINARIES_DIRECTORY #cd IMGR/eclipse/tools #./imcl -acceptLicense -showProgress input /BINARIES_DIRECTORY/responsefiles/samples/WASv85.nd.install.xml -log /opt/WebSphere85/temp/WASv85.nd.install.log
安装需要大约10分钟,之后你应该有以下信息:
25% 50% 75% 100% ------------------|------------------|------------------|------------------| .............................................................................................. Installed com.ibm.websphere.ND.v85_8.5.0.20120501_1108 to the /opt/WebSphere85/AppServer directory.
IBM Http Server 8.5安装步骤
# cd BINARIES_DIRECTORY # cd IMGR/eclipse/tools # ./imcl -acceptLicense -showProgress input /opt/WebSphere85/temp/WASv85.ihs.install.xml -log /opt/WebSphere85/temp/WASv85.ihs.install..log
安装需要大约10分钟,之后你应该有以下信息:
25% 50% 75% 100% ------------------|------------------|------------------|------------------| ..............................................................................................
查看 WASv85.ihs.install.xml
<?xml version="1.0" encoding="UTF-8"?> <agent-input clean="true" temporary="true"> <server> <repository location='/opt/WebSphere85/NDCP/'/> </server> <install modify='false'> <offering id='com.ibm.websphere.IHS.v85' profile='IBM HTTP Server for WebSphere Application Server V8.5' features='core.feature,arch.64bit' installFixes='none'/> </install> <profile id='IBM HTTP Server for WebSphere Application Server V8.5' installLocation='/opt/WebSphere85/IHS'> <data key='eclipseLocation' value='/opt/WebSphere85/IHS'/> <data key='user.import.profile' value='false'/> <data key='user.ihs.httpPort' value='80'/> <data key='user.ihs.http.server.service.name' value='IBM HTTP Server for WebSphere Application Server V8.5'/> <data key='user.ihs.installHttpService' value='false'/> <data key='user.ihs.http.server.service.name.key' value='IBMHTTPServerforWebSphereApplicationServerV8.5'/> <data key='cic.selector.nl' value='en'/> </profile> </agent-input>
安装 com.ibm.websphere.IHS.v85_8.5.0.20120501_1108 到 /opt/WebSphere85/IHS 目录.
IBM Http服务器插件安装步骤
# cd BINARIES_DIRECTORY # cd IMGR/eclipse/tools # ./imcl -acceptLicense -showProgress input /opt/WebSphere85/temp/WASv85.plg.install.xml -log /opt/WebSphere85/temp/WASv85.plg.install.log
安装需要大约10分钟,之后你应该有以下信息:
25% 50% 75% 100% ------------------|------------------|------------------|------------------| ..............................................................................................
查看 WASv85.ihs.install.xml
<?xml version="1.0" encoding="UTF-8"?> <agent-input clean="true" temporary="true"> <server> <repository location='/opt/WebSphere85/NDCP/'/> </server> <install modify='false'> <offering id='com.ibm.websphere.PLG.v85' profile='Web Server Plug-ins for IBM WebSphere Application Server V8.5' features='core.feature,com.ibm.jre.6_64bit' installFixes='none'/> </install> <profile id='Web Server Plug-ins for IBM WebSphere Application Server V8.5' installLocation='/opt/WebSphere85/Plugins'> <data key='eclipseLocation' value='/opt/WebSphere85/Plugins'/> <data key='user.import.profile' value='false'/> <data key='cic.selector.nl' value='en'/> </profile> </agent-input>
附:查看 websphere and IHS的进程
#ps -ef |grep -i websphere|grep -v grep #ps -ef |grep -i httpd|grep -v grep