Help:DOWP Droplet Upgrade

From OpenLiteSpeed
Revision as of 21:20, 17 August 2016 by Long (talk | contribs) (Why does this script do?)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

convert-dowp-to-ols.sh is a one click script to upgrade your DigitalOcean 1-click WordPress droplet to OpenLiteSpeed. If you want to upgrade your DigitalOcean 1-click WordPress installation to use OpenLiteSpeed with LSCache for WordPress, this script is your one stop shop! This will install the web server, lsphp56, and the LSCache for WordPress plugin, giving you a running start. Once the script finishes, you can get straight to configuring your OpenLiteSpeed web server or jump right into seeing the difference in the performance of your WordPress site.

Pre-requisite

  • User Permission:
    • Must be run as a root user

Upgrade

bash <(curl http://www.litespeedtech.com/packages/tools/convert-dowp-to-ols.sh) upgrade

Upgrade70

bash <(curl http://www.litespeedtech.com/packages/tools/convert-dowp-to-ols.sh) upgrade70

Remove

bash <(curl http://www.litespeedtech.com/packages/tools/convert-dowp-to-ols.sh) remove

FAQs

What does this script do?

There are three working options for this script: upgrade, upgrade70, and remove

 upgrade:  Install OpenLiteSpeed, lsphp56 and its components, and the LSCache for WordPress plugin 
           for your droplet with a basic cache configuration.
 upgrade70:  Install OpenLiteSpeed, lsphp70 and its components, and the LSCache for WordPress plugin 
             for your droplet with a basic cache configuration
 remove:  Will backup the OLS and lsphp conf files and then completely remove the installation directory.
          This will also remove the LScache for WordPress plugin.

To see the help content, use the -h option

What are the default OpenLiteSpeed Web Admin panel credentials?

 Default OLS Web Admin login info:   admin/123456

After the installation is finished, log into the OpenLiteSpeed Admin Panel from https://your-droplet-ip:7080 From there, you can change this password.

Do I need super user access?

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

Where is OLS installed to?

/usr/local/lsws

What is the default WordPress installation path?

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

What PHP version is installed?

Currently, by default we use lsphp56 and its components from the LiteSpeed repositories.

If you want to use lsphp70, please use the option "upgrade70"

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 the update functionality in the package manager to update your installation. e.g. apt-get update