Get packages from ibm.com (registration required)
- IBM Installation Manager 1.8
- agent.installer.linux.gtk.x86_64_1.8.0.20140902_1503.zip
- 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
- IBM WebSphere AS FixPack 8.5.5.4
- 8.5.5-WS-WAS-FP0000004-part1.zip
- 8.5.5-WS-WAS-FP0000004-part2.zip
- IBM WAS Java Update 7.1.2.0
- 7.1.2.0-WS-IBMWASJAVA-part1.zip
- 7.1.2.0-WS-IBMWASJAVA-part2.zip
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
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
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