Installing IBM Websphere Liberty

Share on:

Installing IBM Websphere Liberty

Websphere Liberty can install in two methods

  • By Installation Manager, like many other IBM products.
  • Archive file, which is much customizable and suitable for cloud deployment.

The following table compares the available installation methods in the Websphere Application Server Liberty.

Installation Manager Archive
Agentless installation No Yes
Install Directly to any fix pack level Yes Yes
Apply fix packs in place Yes No
Apply interim fixes in place Yes Yes
Automated rollback of fix packs and interim fix packs Yes No
Upgrade product editions Yes Yes
Pluggable Java SDK provided Yes No
Integrated with developer tools Yes Yes
Add features in place Yes Yes
Liberty repository integration Yes Yes
Minification supported Yes Yes
System requirements:

Every system has to meet minimum system requirements to install Liberty, like pre-installed JDK and operating system versions, etc. Detailed updated system requirements for WAS Liberty 20.0.0 can find here, WAS Liberty System Requirements. It may variate based on release versions.

Install from Archive:

For a free of cost, developer edition can download from WASdev Community. For all other editions, the archive file is included in the WAS edition image. Developer tools for WAS Liberty for Eclipse Edition can download from the Developer community.

1. Download WAS Liberty archive file from WASdev Community

eg, wlp-webProfile8-java8-linux-x86_64-20.0.0.4.zip is the latest available Liberty file

2. Extract the archive file in the required location
~ >   unzip wlp-webProfile8-java8-linux-x86_64-20.0.0.4.zip
........
-rw-r--r--  1 wlp wlp   333 Apr  1 19:26 Copyright.txt
-rw-r--r--  1 wlp wlp 12410 Apr  1 20:07 README.TXT
-rw-r--r--  1 wlp wlp  2559 Apr  1 20:08 CHANGES.TXT
drwxr-xr-x  3 wlp wlp  4096 Apr  1 20:27 java
drwxr-xr-x  4 wlp wlp  4096 Apr  1 21:08 dev
drwxr-xr-x  4 wlp wlp  4096 Apr  1 21:08 usr
drwxr-xr-x  4 wlp wlp  4096 Apr  1 21:08 templates
drwxr-xr-x  7 wlp wlp 36864 Apr  1 21:08 lib
drwxr-xr-x  2 wlp wlp  4096 Apr  1 21:08 lafiles
drwxr-xr-x  3 wlp wlp  4096 Apr  1 21:08 clients
drwxr-xr-x  4 wlp wlp  4096 Apr  1 21:08 bin
drwxr-xr-x 10 wlp wlp  4096 Apr  1 21:08 .
drwxr-xr-x  3 wlp wlp  4096 Apr 29 08:57 ..
3. Verify product information
After extracting the bundle, we can verity product information using productInfo command (under bin directory)
wlp ~ >./productInfo version
Product name: WebSphere Application Server
Product version: 20.0.0.4
Product edition: BASE_ILAN

productInfo tool has broader usage

wlp ~ >./productInfo help

Usage: productInfo {help|compare|featureInfo|viewLicenseInfo|viewLicenseAgreement|version|validate} [options]

Actions:

  help
  Print help information for the specified action.

  compare
  Compare the iFixes applied to the current installation with a new fix
  pack level and lists any iFixes not in the fix pack or compares with
  a supplied list of iFixes and lists if they are included in the
  current version.

  featureInfo
  List all the installed features.

  viewLicenseInfo
  Displays the license information for the Liberty profile edition that is installed.

  viewLicenseAgreement
  Displays the license agreement for the Liberty profile edition that is installed.

  version
  Print product information such as product name and version.

  validate
  Validate a production installation against a product checksum file.

Options:
  Use help [actionName] for detailed option information of each action.
4. Verify all installed futures

Websphere Liberty is bundle of various modules all together. Number of modules may vairaete based on product installed on sever. For example, below out put is list of modules available in WebProfile bundle. (ND bundle would have more features as it includes admin modules and clustering features).

wlp ~ >./productInfo featureInfo
appSecurity-2.0 [1.0.0]
appSecurity-3.0 [1.0.0]
beanValidation-2.0 [1.0.0]
cdi-2.0 [1.0.0]
collectiveMember-1.0 [1.0.0]
concurrent-1.0 [1.0.0]
distributedMap-1.0 [1.0.0]
..........
wlp ~ >./productInfo featureInfo | wc -l
77
comments powered by Disqus