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

来源:互联网 发布:网络上赌博怎么处罚 编辑:程序博客网 时间:2024/06/05 21:55

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

常用配置: http://wenku.baidu.com/view/80dd7fe881c758f5f61f670f.html

#安装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


IHS 参考:  http://pic.dhe.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=%2Fcom.ibm.websphere.ihs.doc%2Finfo%2Fihs%2Fihs%2Ftihs_silentinstall.html

 


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

#创建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

原创粉丝点击