websphere-liberty Getting started with websphere-liberty Installation and Setup


To set up WebSphere Liberty, download the latest zip from WASdev.net.

Once you have the zip, extract it to any location on your file system. The basic layout of a Liberty install is the following:

wlp/                # WLP_INSTALL_DIR
  bin/              # location of scripts such as 'server'
  dev/              # developer resources (APIs, SPIs, and tools)
  etc/              # global customizations (server.env or jvm.options)
  lib/              # platform runtime environment
  usr/              # user directory
    servers/        # servers directory
      server_name   # directory containing all information for a given server
        server.xml  # (required) primary server configuration file
        apps/       # server applications folder
        dropins/    # server dropin applications folder
        logs/       # server log files

Detailed layout information: Directory locations and properties

Creating, starting, and stopping a server:

Create a serverserver create myServer
Start a serverserver start myServer
Stop a serverserver stop myServer

Note: The server script is located at: $WLP_INSTALL_DIR/bin/server