This is an old revision of the document!


The lsup Command

The lsup command is a simple way to upgrade (or downgrade) LiteSpeed Web Server from the command line, allowing the possibility of upgrading hordes of LSWS installations with a single command.

The lsup command is located at $SERVER_ROOT/admin/misc/lsup.sh. For my installation of LSWS, the command was thus:

/usr/local/lsws/admin/misc/lsup.sh

Running the basic lsup command will upgrade your installation of LiteSpeed Web Server to the latest release. Below are a few options for customizing the command:

  • -f

If you already have the version to be installed, the basic lsup command will abort. The -f option forces lsup to install no matter what version you have. This can be useful if there has been a change in the build since you upgraded, but a new build has not yet been released.

  • -v

You can control what version you install with the -v option followed by a version number. (For example: ./lsup.sh -v 4.2.2) This will allow you to downgrade to older versions if you run into a bug. Keep in mind, LiteSpeed only keeps the most recent few versions available. Much older versions are not available.

  • Admin
  • Last modified: 2013/08/05 21:13
  • by Michael