Actions

Help

Difference between revisions of "DOWP Droplet Upgrade"

From OpenLiteSpeed Wiki

Line 1: Line 1:
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, here is your one stop shop! This will install the web server, lsphp, 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.
+
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 ==
 
== Pre-requisite ==
 
* '''DigitalOcean Droplet:'''
 
* '''DigitalOcean Droplet:'''
** DigitalOcean 1-click wordpress installation droplet (OS is Ubuntu 14)  [https://www.digitalocean.com/community/tutorials/how-to-use-the-wordpress-one-click-install-on-digitalocean ''About DO one click wordpress droplet'' ]
+
** DigitalOcean 1-click WordPress installation droplet (OS is Ubuntu 14)  [https://www.digitalocean.com/community/tutorials/how-to-use-the-wordpress-one-click-install-on-digitalocean ''About DO one click WordPress droplet'' ]
  
 
* '''User Permission:'''
 
* '''User Permission:'''
** Must be run as root user
+
** Must be run as a root user
  
 
== Upgrade ==
 
== Upgrade ==
Line 18: Line 17:
  
 
==== Why does this script do? ====
 
==== Why does this script do? ====
There are 3 working options for this script: upgrade & remove
+
There are three working options for this script: upgrade, upgrade70, & remove
 
    
 
    
   upgrade:   Install OpenLiteSpeed, lsphp56 and components, lscache wordpress plugin  
+
   upgrade: Install OpenLiteSpeed, lsphp56 and its components, and the LSCache for WordPress plugin  
              for your droplet with basic cache configuration
+
            for your droplet with a basic cache configuration.
  
   upgrade70:  Install OpenLiteSpeed, lsphp70 and components, lscache wordpress plugin  
+
   upgrade70:  Install OpenLiteSpeed, lsphp70 and its components, and the LSCache for WordPress plugin  
              for your droplet with basic cache configuration
+
            for your droplet with a basic cache configuration
  
   remove:     Will backup the OLS and lsphp conf files and then completely remove the installation dir;  
+
   remove: Will backup the OLS and lsphp conf files and then completely remove the installation directory;  
              LScache wordpress plugin also being removed;
+
            this will also remove the LScache for WordPress plugin.
  
To see the help content, use -h or --help option
+
To see the help content, use the -h option
  
==== What's the default OpenLiteSpeed Web Admim panel credentials? ====
+
==== What are the default OpenLiteSpeed Web Admin panel credentials? ====
 
   Default OLS Web Admin login info:  admin/123456
 
   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
+
After the installation is finished, log into the OpenLiteSpeed Admin Panel from https://your-droplet-ip:7080
You can change the password from web admin panel
+
From there, you can change this password.
  
 
==== Do I need super user access? ====
 
==== 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 <code>sudo</code> as well.
+
Yes, you need root access to use the script. You may use a super user account or the <code>sudo</code> command.
  
 
==== Where is OLS installed to? ====
 
==== Where is OLS installed to? ====
 
<code>/usr/local/lsws</code>
 
<code>/usr/local/lsws</code>
  
==== Where is the WordPress installation path? ====
+
==== What is the default WordPress installation path? ====
 
By DigitalOcean default, WordPress installation path is: <code>/var/www/html/</code>
 
By DigitalOcean default, WordPress installation path is: <code>/var/www/html/</code>
  
 
==== What PHP version is installed? ====
 
==== What PHP version is installed? ====
Default, we use lsphp56 and its components from litespeed repositories.
+
Currently, by default we use lsphp56 and its components from the LiteSpeed repositories.
  
 
If you want to use lsphp70, please use the option "upgrade70"
 
If you want to use lsphp70, please use the option "upgrade70"
Line 53: Line 52:
 
==== What happens when there is an OLS update? ====
 
==== What happens when there is an OLS update? ====
 
The Web Admin says there is an update for OLS!
 
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.
+
The script installs using your OS's package manager. Just run the update functionality in the package manager to update your installation.
 
e.g. <code>apt-get update</code>
 
e.g. <code>apt-get update</code>
  
 
[[Category:Installation]][[Category:Help]]
 
[[Category:Installation]][[Category:Help]]

Revision as of 17:56, 3 August 2016

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

Remove

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

FAQs

Why does this script do?

There are three working options for this script: upgrade, upgrade70, & 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