Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:lsup [2013/08/05 21:31] Michael |
litespeed_wiki:lsup [2015/04/17 20:05] Michael Armstrong [Options] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== The lsup Command ====== | ====== 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 a simple way to update LiteSpeed Web Server from the command line, allowing the possibility of upgrading hordes of LSWS installations with a single command. |
===== Location ===== | ===== Location ===== | ||
Line 16: | Line 16: | ||
* ''-f'': If you already have the version to be installed, the basic ''lsup'' command will abort. The ''-f'' option forces ''lsup'' to install even if the version you have is the same version as the LSWS to be installed. 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. | * ''-f'': If you already have the version to be installed, the basic ''lsup'' command will abort. The ''-f'' option forces ''lsup'' to install even if the version you have is the same version as the LSWS to be installed. 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. | * ''-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. | ||
+ | * ''-b'': Designates a build number. All versions start from build ''0''. To view what build you are currently using, view ''/usr/local/lsws/autoupdate/build''. Will automatically upgrade to the latest build of the designated version if ''-b'' is not set. |