Joomla

The OpenLiteSpeed Joomla One-Click app is based on a standard CyberPanel image, but includes several great performance enhancements, including LiteSpeed's popular LSCache plugin. This Joomla + OpenLiteSpeed + LSCache image tends to be much faster than a regular Joomla image!

CyberPanel provides a One-Click installer to automatically install OpenLiteSpeed, LSCache, WordPress, Prestashop, Joomla and git. It also automates the initial setup for components like Mail service and DNS, to reduce the time it takes to get set up for hosting.

Quick Start


Step 1.

DigitalOcean

Use the OpenLiteSpeed Joomla 1-Click App to create a Droplet with any plan you want. Click here to create an account and get a $100 Digital Ocean credit.

Step 2.

From a terminal on your local computer, connect to the server as root, like so:

ssh root@use_your_server_ip
ssh username@use_your_server_ip

# Instead of using "username" to SSH with, you can find the right username here: 
# Google Cloud Platform > Project > Compute Engine > Metadata > SSH Keys > Username
ssh ubuntu@use_your_server_ip

Be sure to substitute the server’s public IP address for use_your_server_ip. You can also use Cloud Console if the platform supported

Step 3.

Setup your account and first Joomla site by command line

Create website:

cyberpanel createWebsite --package Default --owner admin --domainName example.com --email support@example.com --php 7.4
Create Joomla:
cyberpanel installJoomla --domainName example.com --password yourpassword --siteTitle "Demo Site"

Be sure to substitute the domain for example.com and password for yourpassword

Tip

If you prefer GUI, then you can follow the Optional Setup to setup eveything from the control panel

Step 4.

Visit the Server’s IP or Domain in your browser to see the joomla site http://Server_IP/ on your browser and you should see Sample Blog.

You can also enter http://Server_IP/administrator/ to get the Joomla administration page

Tip

OpenLiteSpeed and LSCache are a powerful combination for your Joomla site, right out of the box. Learn more about the LSCache plugin's settings.

Components


The CyberPanel One-Click Image installs several packages.

System Package Installation

Component Version
Linux Ubuntu 20.04
CyberPanel Latest from CyberPanel Repo

Other Built-in Packages

Component Function
OpenLiteSpeed Performance Web Server
phpMyAdmin Administration of MySQL over the Web
PowerDNS Lightweight DNS Server
Pure-FTPd Secure + High flexibility FTP server
ACME Client Automatic Certificate Deployment
Rainloop Performance Email Client

How to Access the Installed Software


SSH Access

From a terminal on your local computer, connect to the server as root, like so:

ssh root@use_your_server_ip
ssh username@use_your_server_ip

# Instead of using "username" to SSH with, you can find the right username here: 
# Google Cloud Platform > Project > Compute Engine > Metadata > SSH Keys > Username
ssh ubuntu@use_your_server_ip

Be sure to substitute the server’s public IP address for use_your_server_ip. You can also use Cloud Console if the platform supported

Logging In to CyberPanel

To log in to CyberPanel, open your web browser, and open the following address:

https://<host-name-or-IP>:8090
The CyberPanel login page will open.

!cyber 1

Select the desired interface language and type in your username and password to log in to CyberPanel.

By default, your username is admin and you can get your password from:

sudo cat .litespeed_password

Logging In to phpMyAdmin

By using the PHPMyAdmin autologin feature, we need to login CyberPanel first, then Connect to phpMyAdmin at the following URL without password:

https://<host-name-or-IP>:8090/phpmyadmin

Note

Get the MySQL CyberPanel user password:

sudo sed -n 2p .db_password

Benchmark

DigitalOcean

Use the following command to test from a $5 plan server(ab) to a $5 plan server(DOMAIN)

ab -n 10000 -k -H "Accept-Encoding: gzip,deflate" -c 10 http://DOMAIN/

Requests per Second (The larger the number, the better)

Openlitespeed+LSCache
6892

Optional Setup


Create WebSite from CyberPanel

Logging In to CyberPanel, then follow official doc to create a website.

One Click Application Installer - Joomla

  • Main > Websites > List Websites > manage
  • Scroll down to the APPLICATION INSTALLER
  • Click Joomla
  • Enter the Information:
    • Site Name: Demo Site
    • Login User: admin
    • Login Password: yourpassword
    • Path: joomla
  • Installation complete. Visit: http://yourdomain/joomla

!wpapp 4

Frequently Asked Questions

How do I Migrate Joomla?

Please see Official doc for Migrating Joomla.

How do I Upgrade from OLS to LSWS Enterprise?

  • Get a license from the LiteSpeed Store
  • Navigate to CyberPanel > Server > Server Status > LiteSpeed Status
  • Enter the serial key and click Switch

For more information, please see CyberPanel's documentation

How do I Upgrade CyberPanel?

Run following commands with root user/permission, if you do not have direct root access, run command sudo su - first.

sh <(curl https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh)

How do I Reset My CyberPanel Password?

Run the following command to reset the admin password:

adminPass newpassword

Why did my FTP fail to connect?

Verify that ports 21 and 40110-40210 are allowed at the network firewall level. By default, they should already be allowed for each image at the system level.

How do I setup Joomla site with specified path

If we want to create a Joomla site with demo path, http://example.com/demo, check command:

cyberpanel installJoomla --domainName example.com --password yourpassword --siteTitle "Demo Site" --path demo

API Creation

DigitalOcean

In addition to creating a Droplet from the Joomla 1-Click application using the control panel, you can also use the DigitalOcean API.

The following example creates an CyberPanel 20.04 Droplet called “My-Droplet” in the NYC3 datacenter, with 1 GB RAM:

curl -X POST "https://api.digitalocean.com/v2/droplets" \
        -d'{"name":"My-Droplet","region":"nyc3","size":"s-1vcpu-1gb","image":"litespeedtechnol-openlitespeedjoo-20-04"}' \
        -H "Authorization: Bearer $TOKEN" \
    -H "Content-Type: application/json"

Last update: October 13, 2020