PrefTest工作室 张林 实践作品
This document will install websphere+http server+plugin.
And work for develop enviroment only ,because we will ignore OS check when installation
| Media name | Descritpion |
1 | WAS.V6.1.Linux.X86.tar.gz | IBM WebSphere 6.1 |
2 | ihs.6100.linux.ia32.tar | IBM HTTP Server 6.1 |
3 | | UpdateInstaller 7.0 |
4 | WAS.V6.1.Supplements.Linux.X86.tar.gz | HTTP Server+Plugin |
| Path | Descritipn |
1 | | IBM WebSphere 6.1 patch |
2 | | IBM WebSphere 6.1 patch |
3 | | IBM HTTP Server 6.1 path |
4 | | Plugin path |
5 | |
|
mkdir -p /cpic/jtsx/IBM/WebSphere/AppServer
vi /cpic/jtsx/WAS/responsefile.nd.txt
-OPT silentInstallLicenseAcceptance="true"
-OPT allowNonRootSilentInstall="true"
-OPT disableOSPrereqChecking="true"
-OPT disableNonBlockingPrereqChecking="true"
#-OPT installType="installNew"
-OPT createProfile="false"
Error loading: /Software/IBM/WAS/6.1/Linux/x86-32bit/Release/WAS/JDK/jre.pak/repository/package.java.jre/java/jre/bin/libj9thr23.so: cannot restore segment prot after reloc: Permission denied
export PATH=/cpic/jtsx/JDK/jre.pak/repository/package.java.jre/java/jre/bin:$PATH
cd /cpic/jtsx/JDK/jre.pak/repository/package.java.jre/java/jre/bin
chcon -t texrel_shlib_t *.so
chcon -t texrel_shlib_t xawt/*.so
chcon -t texrel_shlib_t j9vm/*.so
cd <media_location>
java –jar setup.jar –options reponsefile.nd.txt -silent
/cpic/jtsx/IBM/WebSphere/AppServer/logs/install/ log.txt
vi /cpic/jtsx/IHS_
-OPT silentInstallLicenseAcceptance="true"
-OPT allowNonRootSilentInstall=true
-OPT disableOSPrereqChecking="true"
-OPT installLocation="/cpic/jtsx/IBM/HTTPServer"
-OPT createAdminUserGroup=false
Error loading: /Software/IBM/WAS/6.1/Linux/x86-32bit/Release/WAS/JDK/jre.pak/repository/package.java.jre/java/jre/bin/libj9thr23.so: cannot restore segment prot after reloc: Permission denied
export PATH=/cpic/jtsx/IHS_
cd /cpic/jtsx/IHS_
chcon -t texrel_shlib_t *.so
chcon -t texrel_shlib_t xawt/*.so
chcon -t texrel_shlib_t j9vm/*.so
cd <media_location>
java -jar setup.jar -options responsefile.txt –silent
/cpic/jtsx/IBM/HTTPServer/logs/install/log.txt
export PATH=/cpic/jtsx/was/JDK/jre.pak/repository/package.java.jre/java/jre/bin:$PATH
mkdir -p /cpic/jtsx/IBM/WebSphere/UpdateInstaller
vi /cpic/jtsx/was/UpdateInstaller/ responsefile.updiinstaller.txt
-OPT silentInstallLicenseAcceptance="true"
-OPT allowNonRootSilentInstall="true"
-OPT disableOSPrereqChecking="true"
-OPT disableEarlyPrereqChecking="true"
-OPT installLocation="/cpic/jtsx/IBM/WebSphere/UpdateInstaller"
cd <media_location>
java -jar setup.jar -options responsefile.updiinstaller.txt –silent
/cpic/jtsx/IBM/WebSphere/UpdateInstaller/logs/install/log.txt
vi /cpic/jtsx/IBM/WebSphere/UpdateInstaller/responsefiles/install.txt
-W maintenance.package="/cpic/jtsx/
-W product.location="/cpic/jtsx/IBM/WebSphere/AppServer"
cd /cpic/jtsx/IBM/WebSphere/UpdateInstaller
./update.sh -options responsefiles/install.txt –silent
/cpic/jtsx/IBM/WebSphere/AppServer/logs/update/
vi /cpic/jtsx/IBM/WebSphere/UpdateInstaller/responsefiles/install.txt
-W maintenance.package="/cpic/jtsx/
cd /cpic/jtsx/IBM/WebSphere/UpdateInstaller
./update.sh -options responsefiles/install.txt –silent
/cpic/jtsx/IBM/WebSphere/AppServer/logs/update/
vi /cpic/jtsx/IBM/WebSphere/UpdateInstaller/responsefiles/install.txt
-W maintenance.package="/cpic/jtsx/
-W product.location="/cpic/jtsx/IBM/HTTPServer "
cd /cpic/jtsx/IBM/WebSphere/UpdateInstaller
./update.sh -options responsefiles/install.txt –silent
/cpic/jtsx/IBM/HTTPServer/logs/update/
Error loading: /Software/IBM/WAS/6.1/Linux/x86-32bit/Release/WAS/JDK/jre.pak/repository/package.java.jre/java/jre/bin/libj9thr23.so: cannot restore segment prot after reloc: Permission denied
export PATH=/cpic/jtsx/was/JDK/jre.pak/repository/package.java.jre/java/jre/bin:$PATH
cd /cpic/jtsx/was/JDK/jre.pak/repository/package.java.jre/java/jre/bin
chcon -t texrel_shlib_t *.so
chcon -t texrel_shlib_t xawt/*.so
chcon -t texrel_shlib_t j9vm/*.so
vi /cpic/jtsx/was/plugin/responsefile.txt
-OPT allowNonRootSilentInstall="true"
-OPT silentInstallLicenseAcceptance="true"
-OPT installLocation="/cpic/jtsx/IBM/HTTPServer/Plugins"
-OPT wasExistingLocation="/cpic/jtsx/IBM/WebSphere/AppServer"
-OPT webServerConfigFile1="/cpic/jtsx/IBM/HTTPServer/conf/httpd.conf"
mkdir –p /cpic/jtsx/IBM/HTTPServer/Plugins
cd <media_location>
java -jar setup.jar -options responsefile.txt –silent
/cpic/jtsx/IBM/HTTPServer/Plugins/logs/install/log.txt
vi /cpic/jtsx/IBM/WebSphere/UpdateInstaller/responsefiles/install.txt
-W maintenance.package="/cpic/jtsx/
-W product.location="/cpic/jtsx/IBM/HTTPServer/Plugins"
cd /cpic/jtsx/IBM/WebSphere/UpdateInstaller
./update.sh -options responsefiles/install.txt –silent
/cpic/jtsx/IBM/HTTPServer/Plugins/logs/update/
cd /cpic/jtsx/IBM/WebSphere/AppServer/bin
./manageprofiles.sh -create -profileName DeployNode -profilePath /cpic/jtsx/IBM/WebSphere/AppServer/profiles/DeployNode -templatePath /cpic/jtsx/IBM/WebSphere/AppServer/profileTemplates/dmgr -nodeName DeployNode -cellName DeployNodecell -hostName JTsxwebtest1
startManager.sh –profileName DeployNode
http://10.192.18.119:9060/ibm/console
userid:wasadmin
cd /cpic/jtsx/IBM/WebSphere/AppServer/bin
on server 10.192.18.120
./manageprofiles.sh -create -profileName AppSrv01 -profilePath /cpic/jtsx/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /cpic/jtsx/IBM/WebSphere/AppServer/profileTemplates/default -nodeName AppSrv01Node -cellName AppSrv01NodeCell -hostName JTsxwebtest2
./addNode.sh 10.192.18.119 8879
Raise error:
[8/26/10 14:56:41:987 GMT+08:00]
not synchronized with that of the deployment manager (Aug 26, 2010 2:39:00 PM).
[8/26/10 14:56:42:024 GMT+08:00]
e clock of the deployment manager.
[8/26/10 14:56:42:037 GMT+08:00]
riginal configuration.
date -s "2010-08-26 15:05:00"
ADMU0027E: An error occurred during federation ADMU0036E: The Deployment
Manager cannot lookup by name host JTsxwebtest2 at address
0:0:0:0:0:0:0:1; rolling back to original configuration.
vi /etc/hosts
10.192.18.119 JTsxwebtest1
10.192.18.120 JTsxwebtest2
10.192.18.129 JTsxwebtest3
on server 10.192.18.129
cd /cpic/jtsx/IBM/WebSphere/AppServer/bin
./manageprofiles.sh -create -profileName AppSrv01 -profilePath /cpic/jtsx/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /cpic/jtsx/IBM/WebSphere/AppServer/profileTemplates/default -nodeName AppSrv02Node -cellName AppSrv02NodeCell -hostName JTsxwebtest3
./addNode.sh 10.192.18.119 8879
Raise error:
[8/26/10 14:56:41:987 GMT+08:00]
not synchronized with that of the deployment manager (Aug 26, 2010 2:39:00 PM).
[8/26/10 14:56:42:024 GMT+08:00]
e clock of the deployment manager.
[8/26/10 14:56:42:037 GMT+08:00]
riginal configuration.
date -s "2010-08-26 15:05:00"
ADMU0027E: An error occurred during federation ADMU0036E: The Deployment
Manager cannot lookup by name host JTsxwebtest2 at address
0:0:0:0:0:0:0:1; rolling back to original configuration.
vi /etc/hosts
10.192.18.119 JTsxwebtest1
10.192.18.120 JTsxwebtest2
10.192.18.129 JTsxwebtest3
./manageprofiles.sh -create -profileName AppSrv01 -profilePath /cpic/jtsx/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /cpic/jtsx/IBM/WebSphere/AppServer/profileTemplates/default -nodeName AppSrv03Node -cellName AppSrv03NodeCell -hostName JTsxwebtest1
./addNode.sh -profileName AppSrv01 10.192.18.119 8879
cd /cpic/jtsx/IBM/HTTPServer/bin
[jtsx@JTsxwebtest2 bin]$ ./apachectl start
httpd: Could not determine the server's fully qualified domain name, using 10.192.18.120 for ServerName
(13)Permission denied: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
[root@JTsxwebtest2 bin]# ./apachectl start
PrefTest工作室 张林 实践作品
联系客服