Difference between revisions of "OSTEP Websphere Manual Setup"
Line 14: | Line 14: | ||
</pre> | </pre> | ||
− | == | + | == Create Websphere User == |
− | + | Websphere should be run by a single non-root user. All Websphere files should be owned by this user. | |
− | + | <pre> | |
+ | username: wasadmin | ||
+ | </pre> | ||
== Websphere Directory Structure == | == Websphere Directory Structure == | ||
− | All Websphere files should be kept within the directory "/opt/IBM/Websphere/". | + | All Websphere files should be kept within the directory "/opt/IBM/Websphere/". All files under "/opt/IBM/" should be owned by user wasadmin. |
<pre> | <pre> | ||
/opt/IBM/WebSphere/ | /opt/IBM/WebSphere/ | ||
Line 30: | Line 32: | ||
/opt/IBM/WebSphere/Downloads/UpdateInstaller/ | /opt/IBM/WebSphere/Downloads/UpdateInstaller/ | ||
/opt/IBM/WebSphere/Downloads/FixPacks | /opt/IBM/WebSphere/Downloads/FixPacks | ||
+ | </pre> | ||
− | + | == Download Websphere Fix Packs == | |
+ | Go to the following link and download Websphere 7 Fix Packs. If the link below does not work, use the search function on the IBM webpage and search for "websphere fix packs". | ||
+ | [http://www-01.ibm.com/support/docview.wss?uid=swg27009661 Websphere Fix Packs] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
= Install Websphere Application Server = | = Install Websphere Application Server = | ||
+ | * Perform all tasks as user: "wasadmin" | ||
* Find all Websphere files on host "bahamas" in directory "/data/nexj-resources" | * Find all Websphere files on host "bahamas" in directory "/data/nexj-resources" | ||
* Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/Websphere/Downloads/ApplicationServerND/". | * Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/Websphere/Downloads/ApplicationServerND/". | ||
− | * Extract the compressed files | + | * Extract the compressed files: |
+ | <pre> | ||
+ | cd /opt/IBM/WebSphere/Downloads/ApplicationServerND/ | ||
+ | tar -xvf file.tar.gz | ||
+ | </pre> | ||
+ | |||
* Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS/install" | * Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS/install" | ||
<pre> | <pre> | ||
Line 101: | Line 107: | ||
* Installation logs(and errors) can be found in: | * Installation logs(and errors) can be found in: | ||
<pre> | <pre> | ||
− | /home/ | + | /home/wasadmin/waslogs/log.txt |
/opt/IBM/WebSphere/AppServer/logs/install/log.txt | /opt/IBM/WebSphere/AppServer/logs/install/log.txt | ||
</pre> | </pre> | ||
Line 107: | Line 113: | ||
= Install Websphere Application Server Supplements = | = Install Websphere Application Server Supplements = | ||
+ | * Perform all tasks as user: "wasadmin" | ||
* Find all Websphere files on host "bahamas" in directory "/data/nexj-resources" | * Find all Websphere files on host "bahamas" in directory "/data/nexj-resources" | ||
* Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/" | * Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/" | ||
− | * Extract the compressed files | + | * Extract the compressed files: |
+ | <pre> | ||
+ | cd /opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/ | ||
+ | tar -xvf file.tar.gz | ||
+ | |||
+ | </pre> | ||
+ | * Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/IHS/install" | ||
+ | <pre> | ||
+ | |||
+ | 393c393,394 | ||
+ | < release=`cat /etc/redhat-release | awk '{print $7}'` | ||
+ | --- | ||
+ | > #release=`cat /etc/redhat-release | awk '{print $7}'` | ||
+ | > release=`cat /etc/centos-release | awk '{print $4}'` | ||
+ | 433c434,435 | ||
+ | < release=`cat /etc/redhat-release | awk '{print $7}'` | ||
+ | --- | ||
+ | > #release=`cat /etc/redhat-release | awk '{print $7}'` | ||
+ | > release=`cat /etc/centos-release | awk '{print $4}'` | ||
+ | </pre> | ||
+ | * Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/IHS/response.txt" | ||
+ | <pre> | ||
+ | |||
+ | 51,52c51,52 | ||
+ | < -OPT silentInstallLicenseAcceptance="false" | ||
+ | < -OPT allowNonRootSilentInstall=false | ||
+ | --- | ||
+ | > -OPT silentInstallLicenseAcceptance="true" | ||
+ | > -OPT allowNonRootSilentInstall="true" | ||
+ | 62c62 | ||
+ | < #-OPT disableOSPrereqChecking="true" | ||
+ | --- | ||
+ | > -OPT disableOSPrereqChecking="true" | ||
+ | 98c98 | ||
+ | < -OPT installLocation="/usr/IBM/HTTPServer" | ||
+ | --- | ||
+ | > -OPT installLocation="/opt/IBM/WebSphere/HTTPServer" | ||
+ | 176,177c176,177 | ||
+ | < -OPT setupAdminUser="useridname" | ||
+ | < -OPT setupAdminGroup="groupname" | ||
+ | --- | ||
+ | > -OPT setupAdminUser="wasadmin" | ||
+ | > -OPT setupAdminGroup="wasadmin" | ||
+ | 283c283 | ||
+ | < -OPT washostname="localhost" | ||
+ | --- | ||
+ | > -OPT washostname="centos" | ||
+ | |||
+ | |||
+ | </pre> | ||
+ | * Navigate to the directory "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/IHS" | ||
+ | * run the following command: | ||
+ | <pre> | ||
+ | ./install -options "responsefile.txt" -silent | ||
+ | </pre> | ||
+ | * Installation logs(and errors) can be found in: | ||
+ | <pre> | ||
+ | /home/wasadmin/waslogs/log.txt | ||
+ | /opt/IBM/WebSphere/HTTPServer/logs/install/log.txt | ||
+ | </pre> | ||
+ | * Confirm successful installation by searching for "INSTCONFPARTIALSUCCESS" at the end of the log file. This may be an issue, as it says "partial success". |
Revision as of 12:28, 29 October 2014
Contents
Overview
This section will help with a manual setup of Websphere 7 on a Centos installation. This should be useful for all projects that package the different pieces of Websphere and scripts that automate the configuration of Websphere.
Requirements
This section should contain a list of all procedures and software that are required before the Websphere installation.
JDK
Install JDK packages, openJDK should work.
yum install java-1.6.0-openjdk
Create Websphere User
Websphere should be run by a single non-root user. All Websphere files should be owned by this user.
username: wasadmin
Websphere Directory Structure
All Websphere files should be kept within the directory "/opt/IBM/Websphere/". All files under "/opt/IBM/" should be owned by user wasadmin.
/opt/IBM/WebSphere/ /opt/IBM/WebSphere/AppServer/ /opt/IBM/WebSphere/HTTPServer/ /opt/IBM/WebSphere/UpdateInstaller/ /opt/IBM/WebSphere/Downloads/ /opt/IBM/WebSphere/Downloads/ApplicationServerND/ /opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/ /opt/IBM/WebSphere/Downloads/UpdateInstaller/ /opt/IBM/WebSphere/Downloads/FixPacks
Download Websphere Fix Packs
Go to the following link and download Websphere 7 Fix Packs. If the link below does not work, use the search function on the IBM webpage and search for "websphere fix packs". Websphere Fix Packs
Install Websphere Application Server
- Perform all tasks as user: "wasadmin"
- Find all Websphere files on host "bahamas" in directory "/data/nexj-resources"
- Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/Websphere/Downloads/ApplicationServerND/".
- Extract the compressed files:
cd /opt/IBM/WebSphere/Downloads/ApplicationServerND/ tar -xvf file.tar.gz
- Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS/install"
433,434c433 < release=`cat /etc/redhat-release | awk '{print $7}'` --- > #release=`cat /etc/redhat-release | awk '{print $7}'` > release=`cat /etc/centos-release | awk '{print $4}'`
- Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS/response.nd.txt"
35c35 < -OPT silentInstallLicenseAcceptance="false" --- > -OPT silentInstallLicenseAcceptance="true" 58c58 < # -OPT allowNonRootSilentInstall="true" --- > -OPT allowNonRootSilentInstall="true" 70c70 < # -OPT disableOSPrereqChecking="true" --- > -OPT disableOSPrereqChecking="true" 76c76 < # -OPT disableNonBlockingPrereqChecking="true" --- > -OPT disableNonBlockingPrereqChecking="true" 95c95 < # -OPT checkFilePermissions="true" --- > -OPT checkFilePermissions="true" 140c140 < -OPT profileType="cell" --- > -OPT profileType="none" 145c145 < # -OPT feature="noFeature" --- > -OPT feature="noFeature" 185c185 < -OPT PROF_enableAdminSecurity="true" --- > -OPT PROF_enableAdminSecurity="false" 206c206 < # -OPT installLocation="/usr/IBM/WebSphere/AppServer" --- > -OPT installLocation="/opt/IBM/WebSphere/AppServer" 236c236 < # -OPT cimSelected="true" --- > -OPT cimSelected="false"
- Navigate to the directory "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS"
- run the following command:
./install -options "responsefile.nd.txt" -silent
- Installation logs(and errors) can be found in:
/home/wasadmin/waslogs/log.txt /opt/IBM/WebSphere/AppServer/logs/install/log.txt
- Confirm successful installation by searching for "INSTCONFSUCCESS" at the end of the log file.
Install Websphere Application Server Supplements
- Perform all tasks as user: "wasadmin"
- Find all Websphere files on host "bahamas" in directory "/data/nexj-resources"
- Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/"
- Extract the compressed files:
cd /opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/ tar -xvf file.tar.gz
- Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/IHS/install"
393c393,394 < release=`cat /etc/redhat-release | awk '{print $7}'` --- > #release=`cat /etc/redhat-release | awk '{print $7}'` > release=`cat /etc/centos-release | awk '{print $4}'` 433c434,435 < release=`cat /etc/redhat-release | awk '{print $7}'` --- > #release=`cat /etc/redhat-release | awk '{print $7}'` > release=`cat /etc/centos-release | awk '{print $4}'`
- Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/IHS/response.txt"
51,52c51,52 < -OPT silentInstallLicenseAcceptance="false" < -OPT allowNonRootSilentInstall=false --- > -OPT silentInstallLicenseAcceptance="true" > -OPT allowNonRootSilentInstall="true" 62c62 < #-OPT disableOSPrereqChecking="true" --- > -OPT disableOSPrereqChecking="true" 98c98 < -OPT installLocation="/usr/IBM/HTTPServer" --- > -OPT installLocation="/opt/IBM/WebSphere/HTTPServer" 176,177c176,177 < -OPT setupAdminUser="useridname" < -OPT setupAdminGroup="groupname" --- > -OPT setupAdminUser="wasadmin" > -OPT setupAdminGroup="wasadmin" 283c283 < -OPT washostname="localhost" --- > -OPT washostname="centos"
- Navigate to the directory "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/IHS"
- run the following command:
./install -options "responsefile.txt" -silent
- Installation logs(and errors) can be found in:
/home/wasadmin/waslogs/log.txt /opt/IBM/WebSphere/HTTPServer/logs/install/log.txt
- Confirm successful installation by searching for "INSTCONFPARTIALSUCCESS" at the end of the log file. This may be an issue, as it says "partial success".