
If you have not installed IBM Installation Manager, install IBM Installation Manager.
Install from IBM HTTP repository
When installing WebSphere Customization Toolbox via the command line, IBM recommends installing the toolbox from the IBM HTTP repository instead of from a local repository, as this ensures that the latest installation files are used during the install.
List the available packages. The -prompt option is used to get a prompt to provide your IBM username and password.
~]# cd /opt/IBM/InstallationManager/eclipse/tools/
~]# ./imcl listAvailablePackages -repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.WCT.v90 -prompt
com.ibm.websphere.WCT.v90_9.0.0.20160526_1854
com.ibm.websphere.WCT.v90_9.0.1.20160906_0049
com.ibm.websphere.WCT.v90_9.0.2.20162208_1719
com.ibm.websphere.WCT.v90_9.0.3.20170217_1954
You can view the license before you install the toolbox.
Install the toolbox. When installing version 9, you will need to install both the toolbox and Java JDK.
~]# ./imcl install
com.ibm.websphere.WCT.v90_9.0.6.20171205_1311
com.ibm.java.jdk.v8_8.0.5007.20171218_1035
-repositories http://www.ibm.com/software/repositorymanager/com.ibm.websphere.WCT.v90
-installationDirectory /opt/IBM/WebSphere/WCT
-sharedResourcesDirectory /opt/IBM/IMShared
-acceptLicense
-showVerboseProgress
-prompt or -masterPasswordFile /var/ibm/InstallationManager/master_password.txt
From local repository
Installing a offering from a local repository is nearly identical to installing from IBM HTTP repository, except you would download the products you want to install from Fix Central or using the Packaging Utility. When installing version 9 of the toolbox, don't forget to download Java JDK. After the packages have been downloaded, you will unzip the packages to a location on your server, such as /tmp/wct and /tmp/java. Then, you can use /tmp/wct and /tmp/java in the install command.
~]# ./imcl install
com.ibm.websphere.WCT.v90_9.0.6.20171205_1311
com.ibm.java.jdk.v8_8.0.5007.20171218_1035
-repositories /tmp/wct,/tmp/java
-installationDirectory /opt/IBM/WebSphere/WCT
-sharedResourcesDirectory /opt/IBM/IMShared
-acceptLicense
-showVerboseProgress
-prompt or -masterPasswordFile /var/ibm/InstallationManager/master_password.txt
Install from response file
A request file is an XML file that contains details regarding the product being installed, such as the offering ID and the installation directory. Create the response file.
~]# touch /opt/IBM/response_file.xml
Add the following text to the response_file.xml. In this example, version 9 of the toolbox is installed, along with Java JDK.
<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
<variables>
<variable name='sharedLocation' value='/opt/IBM/IMShared'/>
</variables>
<server>
<repository location="http://www.ibm.com/software/repositorymanager/com.ibm.websphere.WCT.v90" />
</server>
<profile id='IBM WebSphere Customization Toolbox' installLocation='/opt/IBM/WebSpere/WCT'>
<data key='user.import.profile' value='false'/>
<data key='cic.selector.nl' value='en'/>
</profile>
<install modify='false'>
<offering id='com.ibm.websphere.WCT.v90'
profile='IBM WebSphere Customization Toolbox'
features='core.feature,ejbdeploy,thinclient,embeddablecontainer' installFixes='none'/>
<offering id='com.ibm.java.jdk.v8'
profile='IBM WebSphere Java'
features='com.ibm.sdk.8'/>
</install>
</agent-input>
You can create a response file by issuing the following command, which will launch the Installation Manager GUI, so this must be done in a graphical environment. Follow the steps on installing WebSphere using the GUI.
~]# cd /opt/IBM/InstallationManager/eclipse
~]# ./IBMIM -record /path/to/response.xml -skipInstall /opt/IBM
Install the toolbox.
./imcl input /opt/IBM/response_file.xml
-secureStorageFile /var/ibm/InstallationManager/secure_storage
-masterPasswordFile /var/ibm/InstallationManager/master_password.txt
-acceptLicense
-showVerboseProgress
Post installation
The installation_directory/logs/install/log.txt file can be reviewed to ensure the installation was successful.
The listInstalledPackages command can be used to list installed packages.
The versionInfo.sh utility can be used to verify that the toolbox was successfully installed.
~]# /opt/IBM/WebSphere/WCT/bin/versionInfo.sh
. . .
Installed Product
---------------------------------------------------
Name IBM WebSphere Customization Toolbox
Version 9.0.0.6
. . .
Did you find this article helpful?
If so, consider buying me a coffee over at