How to Deploy OpenLiteSpeed with Marketplace Apps

Traducciones al Español
Estamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.

OpenLiteSpeed Marketplace App

OpenLiteSpeed is the Open Source edition of LiteSpeed cache for WordPress plugin that provides accelerated hosting platform for WordPress. OpenLiteSpeed combines speed, security, scalability, optimization and simplicity in one friendly open-source package.

Before you begin

You need a registered domain name to assign it the Linode server.

Deploy OpenLiteSpeed with Marketplace Apps

Linode’s App Marketplace allows you to easily deploy software on a Linode using the Linode Cloud Manager. To access Linode’s App Marketplace:

  1. Log in to your Linode Cloud Manager account.

  2. From the Linode dashboard, click on the Marketplace button in the left-hand navigation menu.

  3. The Linode creation page appears, with the Marketplace tab pre-selected.

  4. Under the Select App section, select the app you would like to deploy:

    Select a Marketplace App to deploy

  5. Once you have selected the app, proceed to the app’s Options section and provide values for the required fields.

Linode Options

After providing the app-specific options, provide configurations for your Linode server:

ConfigurationDescription
Select an ImageCentOS 7, Debian 10, and Ubuntu 18.04 and 20.04 are currently the only images supported by the OpenLiteSpeed Marketplace App. Required
RegionThe region where you would like your Linode to reside. In general, it’s best to choose a location that’s closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between you and each of our data centers. Required.
Linode PlanYour Linode’s hardware resources. You can use any size Linode for your OpenLiteSpeed plugin. The Linode plan that you select should be appropriate for the amount of data transfer, users, storage, and other stress that may affect the performance of server. Required
Linode LabelThe name for your Linode, which must be unique between all of the Linodes on your account. This name will be how you identify your server in the Cloud Manager’s Dashboard. Required.
Root PasswordThe primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. The password must meet the complexity strength validation requirements for a strong password. Your root password can be used to perform any action on your server, so make it long, complex, and unique. Required

When you’ve provided all required Linode Options, click on the Create button. Your OpenLiteSpeed plugin will complete installation anywhere between 2-5 minutes after your Linode has finished provisioning.

Getting Started After Deployment

  1. Find your Linode’s IPv4 address:

    1. Click on the Linodes link in the sidebar to see a list of all your Linodes.

    2. Find the Linode you just created when deploying your app and select it.

    3. Navigate to the Networking tab.

    4. Your IPv4 address is listed under the Address column in the IPv4 table.

  2. Add a domain name to the server. You can assign it (or a subdomain) to your WordPress site. Specifically, you need to set up an A record that’s associated with your Linode’s IP address. To learn how to set up DNS records in the Cloud Manager, review the DNS Manager guide. For more general information about how DNS works, review the DNS Records: An Introduction guide.

  3. From a terminal on your local computer, connect to the server as root:

     ssh [email protected]
    

    An output similar to the following appears:

    Linux localhost 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64
    ********************************************************************************
    
    Welcome to One-Click OpenLiteSpeed WordPress Server.
    To keep this server secure, the firewall is enabled.
    All ports are BLOCKED except 22 (SSH), 80 (HTTP) and 443 (HTTPS).
    
    WordPress One-Click Quickstart guide:
    * https://docs.litespeedtech.com/cloud/images/wordpress/
    
    In a web browser, you can view:
    * The new WordPress site: http://192.46.208.62
    * The phpMyAdmin: http://192.46.208.62/phpmyadmin
    
    On the server:
    * The default web root is located at /var/www/html
    * You can get the MySQL root password and MySQL WordPress user password with command:
       sudo cat .db_password
    * You can get the Web Admin admin password with the following command:
       sudo cat .litespeed_password
    * The WordPress Cache plugin, LSCache, is located at
       /var/www/html/wp-content/plugins/litespeed-cache
    * The phpMyAdmin is located at /var/www/phpmyadmin
    * A script will run that will allow you to add a domain to the web server and implement SSL.
    
    System Status:
      Load : 0.00, 0.00, 0.00
      CPU  : 0.440664%
      RAM  : 169/1995MB (8.47%)
      Disk : 2/49GB (5%)
    
    ********************************************************************************
    
    
    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    
    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    To visit your apps by domain instead of IP, please enter a valid domain.
    If you don't have one yet, you may cancel this process by pressing CTRL+C and continuing to SSH.
    This prompt will open again the next time you log in, and will continue to do so until you finish the setup.
    Make sure the domain's DNS record has been properly pointed to this server.
    Enter the root domain only, then the system will add both the root domain and the www domain for you.
    Your domain: example.com
    The domain you put is: example.com
    Please verify it is correct. [y/N] y
    
    Domain has been added into OpenLiteSpeed listener.

  4. Type the root domain name in place of example.com.

  5. Apply the Let’s Encrypt SSL if your domain is pointed to the server already. Enter y and the the email address to add Let’s Encrypt SSL.

    A message that reads Certificate has been successfully installed….. appears

    Do you wish to force HTTPS rewrite rule for this domain? [y/N]
  6. Enter y and force HTTPS rules are applied.

    Do you wish to update the system which include the web server? [Y/n]

Install WordPress

  1. After OpenLiteSpeed script has finished installing, you can install the WordPress site by typing your Linode’s IPv4 address or the domain name that you added in a browser of your choice.

    The following page appears:

    WordPress language settings

  2. Select the language and click the Continue button.

The Welcome page appears:

WordPress Welcome Page

Type the required details to complete the installation, save the password in a secure location and click the Install WordPress button.

Software Included

The WordPress Marketplace App installs the following required software on your Linode:

SoftwareDescription
MariaDB ServerRelational database.
PHP 7WordPress is written in PHP and requires PHP to operate.
Apache HTTP ServerWeb server used to serve the WordPress site.
OpenLiteSpeedOpen source plugin for WordPress.
LiteSpeed CacheThe cache management for WordPress.
Note
Currently, Linode does not manage software and systems updates for Marketplace Apps. It is up to the user to perform routine maintenance on software deployed in this fashion.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

This page was originally published on

Create a Linode account to try this guide with a $100 credit.
This credit will be applied to any valid services used during your first 60 days.

Your Feedback Is Important

Let us know if this guide made it easy to get the answer you needed.


Join the conversation.
Read other comments or post your own below. Comments must be respectful, constructive, and relevant to the topic of the guide. Do not post external links or advertisements. Before posting, consider if your comment would be better addressed by contacting our Support team or asking on our Community Site.