Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
litespeed_wiki:cpanel:cli-lscwp-management [2018/09/18 13:55]
Michael Alegre [Command-Line Interface - LiteSpeed Cache For WordPress Management] Updated help page content.
litespeed_wiki:cpanel:cli-lscwp-management [2019/01/30 17:07]
Michael Alegre [Command-Line Interface - LiteSpeed Cache For WordPress Management]
Line 7: Line 7:
  
 <​code>​ <​code>​
-LiteSpeed Cache Manager CLI Tool v1.2.2+LiteSpeed Cache Manager CLI Tool v1.3
  
  
Line 15: Line 15:
 Possible Commands: ​ Possible Commands: ​
  
-setversion [--list] | [--latest] | [$VERSION]+setcacheroot [-svr <cache root>] [-vh <cache root>] 
 +    List/Set server and/or virtual host cache roots. This command will list the  
 +current server and virtual host cache roots when no additional input is given.  
 +Use -svr and -vh to set those cache roots. The '​$'​ character is not allowed  
 +when setting virtual host cache root. Virtual host cache root values starting  
 +with a '/'​ will automatically have '/​$vh_user'​ appended to the end (this format  
 +was chosen to maintain compatibility with CageFS). 
 + 
 +setversion [--list] | [--latest] | <​version>​
     List/Set active LSCWP version. This command will list the currently active ​     List/Set active LSCWP version. This command will list the currently active ​
-version when no additional input it given. Use --list to show available ​+version when no additional input is given. Use --list to show available ​
 versions or --latest to switch to the latest available version. A valid version ​ versions or --latest to switch to the latest available version. A valid version ​
 number can also be provided to switch to that version specifically. This must  number can also be provided to switch to that version specifically. This must 
Line 28: Line 36:
 installations after scanning is complete. installations after scanning is complete.
  
-enable -m | $WP_PATH+enable -m | <wp path>
     Enables LSWCP for all discovered WordPress installations with the -m      Enables LSWCP for all discovered WordPress installations with the -m 
 parameter or a single installtion by providing the path to the WordPress ​ parameter or a single installtion by providing the path to the WordPress ​
 installation directory. installation directory.
  
-disable -m | $WP_PATH+disable -m | <wp path>
     Disables LSWCP for all discovered WordPress installations with the -m      Disables LSWCP for all discovered WordPress installations with the -m 
 parameter or a single installtion by providing the path to the WordPress ​ parameter or a single installtion by providing the path to the WordPress ​
 installation directory. installation directory.
  
-upgrade -m | $WP_PATH+upgrade -m | <wp path>
     Upgrade LSWCP for all discovered WordPress installations to the current ​     Upgrade LSWCP for all discovered WordPress installations to the current ​
 active version with the -m parameter or a single installtion by providing the  active version with the -m parameter or a single installtion by providing the 
 path to the WordPress installation directory. path to the WordPress installation directory.
  
-flag $WP_PATH+flag <wp path>
     Flag a single WordPress installation. Flagged installations will be skipped ​     Flag a single WordPress installation. Flagged installations will be skipped ​
 during mass operations. during mass operations.
  
-unflag ​$WP_PATH+unflag ​<wp path>
     Unflag a single WordPress installation. Flagged installations will be      Unflag a single WordPress installation. Flagged installations will be 
 skipped during mass operations. skipped during mass operations.
  
-status ​$WP_PATH+status ​<wp path>
     Get the most up to date LSC-WP status for the provided WordPress ​     Get the most up to date LSC-WP status for the provided WordPress ​
 installation. installation.
Line 57: Line 65:
  
 Example Usage: Example Usage:
 +
 +  List server and virtual host cache roots:
 +  ./lscmctl setcacheroot
 +
 +  Set virtual host cache root:
 +  ./lscmctl setcacheroot -vh /​path/​to/​ssd/​lscache
  
   Display currently active LSCWP version:   Display currently active LSCWP version:
  • Admin
  • Last modified: 2019/04/26 18:42
  • by Michael Alegre