日期:2014-05-16  浏览次数:20644 次

在Linux环境下静默安装WAS6.1 [WAS的安装]
1.解冻WAS。。

 gzip -dc ??.tar.gz | tar -xvf -


2.编辑WAS自带的responsefile.nd.txt文件。

#主要有以下几个设定。
-OPT silentInstallLicenseAcceptance="true"         # 是否安装license
-OPT allowNonRootSilentInstall="true"              # 是否不以ROOT用户安装
-OPT disableOSPrereqChecking="true"                # 是否不对系统进行检测
-OPT installType="installNew"                      # 是否全新安装
-OPT profileType="none"                            # 创建一个什么类型的profile
-OPT feature="languagepack.console.all"
-OPT feature="languagepack.server.all"
-OPT PROF_enableAdminSecurity="false"              # 是否创建管理安全性
-OPT installLocation="/usr/WAS7/AppServer"         # 安装目录

4.等待数分钟后,画面上会出现[INSTCONFSUCCESS]的字段。

  -〉装载成功

5.再察看一下,这里的日志。
  
/opt/IBM/WebSphere/AppServer/logs/install/log.txt

(Jul 21, 2010 9:57:39 AM), Process, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Running configuration command: 90SConfigMigrationScript, percent complete: 57%
(Jul 21, 2010 9:57:40 AM), Process, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Running configuration command: 90SCloudscapeModifyPermission, percent complete: 71%
(Jul 21, 2010 9:57:40 AM), Process, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Running configuration command: 90SCreateEmptyDirs, percent complete: 85%
(Jul 21, 2010 9:57:40 AM), Process, com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Running configuration command: 97SInstallInvokeWSProfile, percent complete: 100%
(Jul 21, 2010 9:57:45 AM), Process, com.ibm.wizard.platform.linux.LinuxProductServiceImpl, wrn, The installer could not successfully add the product information into the RPM database. Installation will continue as this is not critical to the installation of the product.
(Jul 21, 2010 9:57:55 AM), Process, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: install
(Jul 21, 2010 9:57:55 AM), Process, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(Jul 21, 2010 9:57:55 AM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS