1-Click Upgrade

From OpenLiteSpeed Wiki is a one click script to upgrade your DigitalOcean 1-click wordpress installation to OpenLiteSpeed. Also lsphp56 and lscache wordpress plugin is installed and enabled with working set up during upgrade.


  • User Permission:
    • Must be run as root user


bash <(curl upgrade


bash <(curl remove


Why should I use this?

If you want to upgrade your DigitalOcean 1-click wordpress installation to use OpenLiteSpeed with lscache for wordpress, here is your one stop shop! This will install the web server, lsphp56, lscache wordpress plugin, giving you a running start. After the script finishes, you can get straight to configuring the web server or jump right into seeing the wordpress site performance boosting.

Why does this script do?

There are two working options for this script: upgrade & remove

 Upgrade:  Install OpenLiteSpeed, lsphp56 and components, lscache wordpress plugin 
           for your droplet with basic cache configuration
 Remove:   Will backup the OLS and lsphp conf files and then completely remove the installation dir; 
           LScache wordpress plugin also being removed;

To see the help content, use -h option

What's the default OpenLiteSpeed Web Admim panel credentials?

 Default OLS Web Admin login info:   admin/123456

After the installation finished, please log into the OLS admin panel from https://your-droplet-ip:7080 You can change the password from web admin panel

Do I need super user access?

Yes, you need root access to use the script. You may use a super user account, or you may use sudo as well.

Where is OLS installed to?


Where is the WordPress installation path?

By DigitalOcean default, WordPress installation path is: /var/www/html/

What PHP version is installed?

Currently, we use lsphp56 and its components from litespeed repositories.

What happens when there is an OLS update?

The Web Admin says there is an update for OLS! The script installs using your OS's package manager. Just run update in the package manager to update your installation. e.g. apt-get update