This is an old revision of the document!


LiteSpeed Web ADC Installation

LiteSpeed Web ADC is an affordable, high-performance layer 7 HTTP smart load balancer application. LiteSpeed Web ADC is feature-rich, secure, and efficient, offering more flexibility than similarly-priced load balancing software. This makes it an excellent choice for small enterprises looking to scale their applications beyond one server — both to improve service speed as well as reliability in case of hardware failure.

More Information

In this guide we will be showing you how to download and install LiteSpeed Web ADC.

  1. A server running Linux or FreeBSD 6.x.

Note: It is recommended to run LSLB on a machine separate from your web servers. It is also recommended that you have a dual NIC setup for your LSLB machine. One NIC with an assigned public IP address to handle public facing traffic, and one NIC in a private network with its own subnet (10.x.x.x or 192.168.x.x),VLAN, or dedicated switch to handle traffic between LiteSpeed Web ADC and the backend.

Download the latest version of LiteSpeed Web ADC to the root directory of the machine you will be using to run it and uncompress the downloaded file. We will be using LiteSpeed Web ADC 1.8 in this guide.

For example:

#cd /root
#wget https://www.litespeedtech.com/packages/lslb/lslb-1.8-i386-linux.tar.gz
#tar -zxvf lslb-1.8-i386-linux.tar.gz

Now that we have LiteSpeed Web ADC downloaded, let's install it and configure for our two hypothetical servers.

Enter the now uncompressed lslb-1.8 directory

cd lslb-1.8

Place your “trial.key”/“serial.no” file in this directory (/root/lslb-1.8) and ensure that license.litespeedtech.com is reachable from your server before continuing.

Run the installation script

./install.sh

Agree to the License agreement and specify the following recommended installation directory:

Do you agree with above license? Yes
Destination [/opt/lslb]: /usr/local/lslb

You will now be asked some simple configuration questions which will be explained below. Default values will be presented in brackets, such as “[admin]”. The default value for y/n questions will be capitalized. You can press the return key to select the default value when applicable.

  • User name: The username used to log in to the LSLB WebAdmin Console. Default value is “admin”.
  • Password: The password used to log in to the LSLB Webadmin Console. Must be at least 6 characters long.
  • User: The user that LSLB will be running as. For security reasons, you should choose a non-system user who does not have a login shell and home directory, such as “nobody”. Default value is “nobody”.
  • Group: The group that the load balancer will be running as. You will also be provided with a list of groups that your previously selected “User” is a member of. Default value is “nobody”.
  • HTTP port: Specifies the port that LSLB will listen on. Port 80 is the standard HTTP port, so it is recommended to either stop any server you may have running on this port or change said servers port number so that you can use port 80 for LSLB. Default value is 8090.
  • Admin HTTP port: The port used for the LSLB WebAdmin Console. Once set, you can access the LSLB WebAdmin Console through http://Host_IP_Address:Admin_Port. You can replace “Host_IP_Address” with “localhost” if accessing through your LSLB machine. Default value is 7090.
  • Enable chroot: Allows you run LSLB in a chroot environment. This will limit the LSLB process and its children processes from accessing files outside of the new chroot directory, adding an extra layer of security. Default value is “N” for no.
    • Chroot directory: The new root directory for the LSLB process (entered without a trailing “/”). Specified when selecting “y” for “yes” to the “Enable chroot” setting.

LSLB will now attempt to install. If successful, you will be asked if you would like LSLB to start automatically when your machine starts and if you would like to start LSLB now. The default values for both of these questions is “Y” for “yes”.

  • Admin
  • Last modified: 2017/10/20 16:29
  • by Johathan Kagan