系统准备部分可参见上一篇文章:
http://blog.csdn.net/tanqingru/article/details/7899837
1.安装websphere
[root@xbfye7l02 WAS]# pwd
/apps/soft/WAS/WAS
修改静默文件:
responsefile.e7.txt
只列出改动项,其余默认。
-OPTsilentInstallLicenseAcceptance="true"
-OPTif_cip_modifyexistinginstall=customizationAndMaintenance
-OPT disableNonBlockingPrereqChecking="true"
-OPT checkFilePermissions="true"
-OPT installType="installNew"
-OPT profileType="standAlone"
-OPTfeature="languagepack.console.all"
-OPTfeature="languagepack.server.all"
-OPTPROF_enableAdminSecurity="true"
-OPT PROF_adminUserName=admin
-OPT PROF_adminPassword=********
也可参照这个改动
-OPTsilentInstallLicenseAcceptance="true"
-OPT allowNonRootSilentInstall="true"
-OPT disableOSPrereqChecking="true"
-OPT installType="installNew" -
-OPT feature="noFeature"
-OPT installLocation="/apps/IBM/WebSphere/AppServer"
-OPT profileType="none"
-OPT PROF_enableAdminSecurity="false"
-OPT PROF_adminUserName=”admin”
-OPT PROF_adminPassword=”123456”
安装
[root@xbfye7l02 WAS]# viresponsefile.e7.txt
[root@xbfye7l02 WAS]# ./install -options"responsefile.e7.txt" -silent
2.检查安装过程
[root@xbfye7l02 bin]# ./installver.sh
I CWNVU0470I: [ivu] Starting to analyze:wsfp.wsaddressing.impl
ICWNVU0480I: [ivu] Done analyzing: wsfp.wsaddressing.impl
ICWNVU0470I: [ivu] Starting to analyze: wsnotification
ICWNVU0480I: [ivu] Done analyzing: wsnotification
ICWNVU0470I: [ivu] Starting to analyze: wssecurity.impl
ICWNVU0480I: [ivu] Done analyzing: wssecurity.impl
ICWNVU0400I: [ivu] Total issues found : 0
ICWNVU0340I: [ivu] Done.
[root@xbfye7l02 bin]#
3. 验证安装
[root@xbfye7l02bin]# ./verifyinstallver.sh
ICWNVU0160I: [ivu] Verifying.
ICWNVU0170I: [ivu] The installation root directory is /apps/WebSphere/AppServer/
ICWNVU0300I: [ivu] The total number of user excluded files found is 0.
ICWNVU0300I: [ivu] The total number of IBM excluded files found is 160.
ICWNVU0185I: [ivu] Searching component directory for file listing: files.list
ICWNVU0460I: [ivu] The utility is running.
ICWNVU0460I: [ivu] The utility is running.
ICWNVU0260I: [ivu] The total number of components found is: 389
ICWNVU0270I: [ivu] Gathering installation root data.
ICWNVU0290I: [ivu] Starting the verification for 2 components.
ICWNVU0470I: [ivu] Starting to analyze: installver
ICWNVU0480I: [ivu] Done analyzing: installver
ICWNVU0470I: [ivu] Starting to analyze: installver.bin
ICWNVU0480I: [ivu] Done analyzing: installver.bin
ICWNVU0400I: [ivu] Total issues found : 0
ICWNVU0340I: [ivu] Done.
[root@xbfye7l02 bin]#
[root@xbfye7l02 bin]#
[root@xbfye7l02 bin]#
4.察看websphere 服务器名称一般都是server1
[root@xbfye7l02 bin]# ./serverStatus.sh-all
ADMU0116I: Tool information is being loggedin file
/apps/WebSphere/AppServer/profiles/AppSrv01/logs/serverStatus.log
ADMU0128I: Starting tool with the AppSrv01profile
ADMU0503I: Retrieving server status for allservers
ADMU0505I: Servers found in configuration:
ADMU0506I: Server name: server1
ADMU0509I: The Application Server"server1" cannot be reached. It appears to be
stopped.
5.启动服务器 server1
[root@xbfye7l02 bin]# ./startServer.shserver1
ADMU0116I: Tool information is being loggedin file
/apps/WebSphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log
ADMU0128I: Starting tool with the AppSrv01profile
ADMU3100I: Reading configuration forserver: server1
ADMU3200I: Server launched. Waiting forinitialization status.
ADMU3000I: Server server1 open fore-business; process id is 11617