for ihs linux_Install WAS6.1+IHS for Linux(64bit)

 2023-09-11 阅读 26 评论 0

摘要:#Install WAS6.1+IHS for Linux(64bit)#安装WAS6.1[root@localhost C88TFML]# cd WAS/[root@localhost WAS]# vi responsefile.nd.txt设置下面几项:-OPT silentInstallLicenseAcceptance="true" –接受License-OPT disableOSPrereqCheckin

#Install WAS6.1+IHS for Linux(64bit)

#安装WAS6.1

[root@localhost C88TFML]# cd WAS/

[root@localhost WAS]# vi responsefile.nd.txt

设置下面几项:

-OPT silentInstallLicenseAcceptance="true"                    –接受License

-OPT disableOSPrereqChecking="true"                            -取消对系统的检测

-OPT installType="installNew"                                -是否全新安装

-OPT feature="noFeature"                                    -不安装示例

-OPT installLocation="/opt/IBM/WebSphere/AppServer61"        -安装路径

-OPT profileType="none"                                        -不生成概要

-OPT PROF_enableAdminSecurity="true"                        -设置管理员安全

-OPT PROF_adminUserName=sysadmin                            -管理员用户名

-OPT PROF_adminPassword=000000                                -管理员密码

其它的保持默认。

[root@localhost WAS]# java -jar setup.jar -options responsefile.nd.txt -silent

#安装IBM Update Install

[root@localhost IBMUpdate]# unzip 7.0.0.11-WS-UPDI-LinuxAMD64.zip

[root@localhost IBMUpdate]# cd UpdateInstaller/

[root@localhost UpdateInstaller]# vi responsefile.updiinstaller.txt

设置下面几项:

-OPT silentInstallLicenseAcceptance="true"                    –接受License

-OPT disableOSPrereqChecking="true"                            -取消对系统的检测

-OPT installLocation="/opt/IBM/WebSphere/UpdateInstaller"     -安装路径

其它的保持默认。

[root@localhost UpdateInstaller]# java -jar setup.jar -options responsefile.updiinstaller.txt -silent

#安装WAS 6.1.0.29补丁

[root@localhost UpdateInstaller]# cd /opt/IBM/WebSphere/UpdateInstaller/responsefiles/

[root@localhost responsefiles]# vi install.txt

设置下面几项:

-OPT checkFilePermissions="true"

-W maintenance.package="/tmp/was6.1_other/6.1.0-WS-WAS-LinuxX64-FP0000029.pak"

-W product.location="/opt/IBM/WebSphere/AppServer61"

其它的保持默认。

[root@localhost UpdateInstaller]# ./update.sh -options responsefiles/install.txt -silent

#安装IHS

[root@localhost IHS] vi responsefile.txt

设置下面几项:

-OPT silentInstallLicenseAcceptance="true";

-OPT disableOSPrereqChecking="true";

-OPT installLocation="/opt/IBM/HTTPServer "    ;

其它的保持默认

[root@localhost IHS]# java -jar setup.jar -options "responsefile.txt" -silent

#安装IHS补丁

[root@localhost responsefiles]# vi install.txt

设置下面几项:

-OPT checkFilePermissions="true"

-W maintenance.package="/tmp/was6.1_other/6.1.0-WS-IHS-LinuxX64-FP0000029.pak"

-W product.location="/opt/IBM/HTTPServer"

其它的保持默认

[root@localhost UpdateInstaller]# ./update.sh -options responsefiles/install.txt -silent

============================================================================================

#创建Dmgr管理概要

[root@localhost ~]# cd /opt/IBM/WebSphere/AppServer61/bin/

[root@localhost bin]# ./manageprofiles.sh -create -profileName Dmgr01 -enableAdminSecurity true -adminUserName sysadmin -adminPassword 111111 -templatePath /opt/IBM/WebSphere/AppServer61/profileTemplates/dmgr

INSTCONFSUCCESS: 成功:概要文件 Dmgr01 现在存在。有关此概要文件的更多信息,请参阅 /opt/IBM/WebSphere/AppServer61/profiles/Dmgr01/logs/AboutThisProfile.txt。

启动

[root@localhost bin]# cd /opt/IBM/WebSphere/AppServer61/profiles/Dmgr01/bin

[root@localhost bin]# ./startManager.sh

启动后可登陆管理服务器的管理控制台 http://{ip}:{port}/admin

端口可查看/opt/IBM/WebSphere/AppServer61/profiles/Dmgr01/logs/AboutThisProfile.txt文件

#创建AppSrv应用概要

[root@localhost ~]# cd /opt/IBM/WebSphere/AppServer61/bin/

[root@localhost bin]# ./manageprofiles.sh -create -profileName AppSrv01 -templatePath /opt/IBM/WebSphere/AppServer61/profileTemplates/default

INSTCONFSUCCESS: 成功:概要文件 AppSrv01 现在存在。有关此概要文件的更多信息,请参阅 /opt/IBM/WebSphere/AppServer61/profiles/AppSrv01/logs/AboutThisProfile.txt。

启动

[root@localhost bin]# cd /opt/IBM/WebSphere/AppServer61/profiles/AppSrv01/bin

[root@localhost bin]# ./startServer.sh server1

#添加防火墙规则

....

#设置自动启动

[root@localhost bin]# vi /etc/rc.d/rc.local

#start WebSphere

cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

sh startManager.sh

cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin

sh startNode.sh

cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin

sh startServer.sh server1

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/1/49291.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息