Skip to content

Instantly share code, notes, and snippets.

@dnsfdv
Created March 12, 2015 11:31
Show Gist options
  • Save dnsfdv/81068b2cb20727bacbb8 to your computer and use it in GitHub Desktop.
Save dnsfdv/81068b2cb20727bacbb8 to your computer and use it in GitHub Desktop.
Install WAS 8.5.5 on headless Ubuntu

Download

Get packages from ibm.com (registration required)

  1. IBM Installation Manager 1.8
  • agent.installer.linux.gtk.x86_64_1.8.0.20140902_1503.zip
  1. IBM WebSphere AS 8.5.5
  • was.repo.8550.developers.ilan_part1.zip
  • was.repo.8550.developers.ilan_part2.zip
  • was.repo.8550.developers.ilan_part3.zip
  1. IBM WebSphere AS FixPack 8.5.5.4
  • 8.5.5-WS-WAS-FP0000004-part1.zip
  • 8.5.5-WS-WAS-FP0000004-part2.zip
  1. IBM WAS Java Update 7.1.2.0
  • 7.1.2.0-WS-IBMWASJAVA-part1.zip
  • 7.1.2.0-WS-IBMWASJAVA-part2.zip

Unpack

mkdir installer
unzip agent.installer.linux.gtk.x86_64_1.8.0.20140902_1503.zip -d installer
mkdir was
unzip was.repo.8550.developers.ilan_part1.zip -d was
unzip was.repo.8550.developers.ilan_part2.zip -d was
unzip was.repo.8550.developers.ilan_part3.zip -d was
mkdir was-updates
unzip 8.5.5-WS-WAS-FP0000004-part1.zip -d was-updates
unzip 8.5.5-WS-WAS-FP0000004-part2.zip -d was-updates
mkdir was-java-updates
unzip 7.1.2.0-WS-IBMWASJAVA-part1.zip -d was-java-updates
unzip 7.1.2.0-WS-IBMWASJAVA-part2.zip -d was-java-updates

Install

cd ~/installer
install -acceptLicense --launcher.ini silent-install.ini -log ./install.log

Show available packages in repository

/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories ~/was/repository.config

Install required packages

/opt/IBM/InstallationManager/eclipse/tools/imcl -acceptLicense install com.ibm.websphere.DEVELOPERSILAN.v85_8.5.5000.20130514_1044 -repositories ~/was/repository.config
/opt/IBM/InstallationManager/eclipse/tools/imcl -acceptLicense install com.ibm.websphere.DEVELOPERSILAN.v85_8.5.5004.20141119_1746 -repositories ~/was/repository.config

Set -installationDirectory required for java update

/opt/IBM/InstallationManager/eclipse/tools/imcl -acceptLicense install com.ibm.websphere.IBMJAVA.v71_7.1.2000.20141116_0823 -repositories ~/was—java-updates/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer

Setup

We need to change default shell. Because manageprofiles.sh will be stuck if shell is not a bash.

sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh

Then create profile

cd /opt/IBM/WebSphere/AppServer
./bin/manageprofiles.sh -create -profileName dev -profilePath ./profiles/dev -templatePath ./profileTemplates/default -enableAdminSecurity true -adminUserName admin -adminPassword admin -isDeveloperServer -omitAction defaultAppDeployAndConfig samplesInstallAndConfig -defaultPorts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment