Difference between revisions of "OSTEP Websphere Manual Setup"

From CDOT Wiki
Jump to: navigation, search
Line 35: Line 35:
  
 
= Install Websphere Application Server =
 
= Install Websphere Application Server =
# Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/Websphere/Downloads/".
+
* Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/Websphere/Downloads/".
# Make a directory to extract the Application Server files into "/opt/IBM/Websphere/Downloads/ApplicationServerND/"
+
* Make a directory to extract the Application Server files into "/opt/IBM/Websphere/Downloads/ApplicationServerND/"
# Move the file into their correct folders
+
* Move the file into their correct folders
# Extract the compressed files
+
* Extract the compressed files
# 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>
 
433,434c433
 
433,434c433
Line 47: Line 47:
 
>              release=`cat /etc/centos-release | awk '{print $4}'`
 
>              release=`cat /etc/centos-release | awk '{print $4}'`
 
</pre>
 
</pre>
# Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS/response.nd.txt"
+
* Make the following changes to the file "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS/response.nd.txt"
 
<pre>
 
<pre>
 
35c35
 
35c35
Line 90: Line 90:
 
>  -OPT cimSelected="false"
 
>  -OPT cimSelected="false"
 
</pre>
 
</pre>
# Navigate to the directory "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS"
+
* Navigate to the directory "/opt/IBM/WebSphere/Downloads/ApplicationServerND/WAS"
# run the following command:
+
* run the following command:
 
<pre>
 
<pre>
 
./install -options "responsefile.nd.txt" -silent
 
./install -options "responsefile.nd.txt" -silent
 
</pre>
 
</pre>
# Errors can be found in the following directories
+
* Errors can be found in the following directories
 
<pre>
 
<pre>
 
/home/user/waslogs
 
/home/user/waslogs
Line 103: Line 103:
  
 
= Install Websphere Application Server Supplements =
 
= Install Websphere Application Server Supplements =
# Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/WebSphere/Downloads/"
+
* Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/WebSphere/Downloads/"
# Make a directory to extract the Application Server Supplements files into "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/"
+
* Make a directory to extract the Application Server Supplements files into "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/"
# Move the file into their correct folders
+
* Move the file into their correct folders
# Extract the compressed files
+
* Extract the compressed files

Revision as of 17:55, 28 October 2014


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

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

Websphere Directory Structure

All Websphere files should be kept within the directory "/opt/IBM/Websphere/". Copy all files into the Downloads directory, the other directories will be used for installing the specific software. Take a moment to create the following directories for installation, downloads, etc.

/opt/IBM/WebSphere/
/opt/IBM/WebSphere/Downloads
/opt/IBM/WebSphere/AppServer
/opt/IBM/WebSphere/HTTPServer
/opt/IBM/WebSphere/UpdateInstaller

Create Websphere User

Websphere should be run by a single non-root user. All Websphere files should be owned by this user.

username: wasadmin

Install Websphere Application Server

  • Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/Websphere/Downloads/".
  • Make a directory to extract the Application Server files into "/opt/IBM/Websphere/Downloads/ApplicationServerND/"
  • Move the file into their correct folders
  • Extract the compressed files
  • 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
  • Errors can be found in the following directories
/home/user/waslogs
/opt/IBM/WebSphere/AppServer


Install Websphere Application Server Supplements

  • Download the Websphere Application Server Network Deployment file to the directory "/opt/IBM/WebSphere/Downloads/"
  • Make a directory to extract the Application Server Supplements files into "/opt/IBM/WebSphere/Downloads/ApplicationServerNDSup/"
  • Move the file into their correct folders
  • Extract the compressed files