Skip to content

CyberPanel 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 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.

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@192.0.2.0

# 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@192.0.2.0
ssh azureuser@192.0.2.0

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

Step 3.

Set up your account and first Joomla site via the command line.

Create website:

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

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

Tip

If you prefer a GUI, then you can follow the Optional Setup section to set up eveything from the control panel.

Step 4.

Visit the server’s IP or domain in your browser to see the joomla site, for example, http://192.0.2.0/. It should display a Sample Blog.

You can also enter http://192.0.2.0/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
Joomla Latest v3 from Official

Other Built-in Packages

Component Function
OpenLiteSpeed Performance Web Server
LiteSpeed Cache high-performance dynamic content acceleration feature
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@192.0.2.0

# 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@192.0.2.0
ssh azureuser@192.0.2.0

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

Logging Into CyberPanel

To log into CyberPanel, open your web browser, and open port 8090 at your domain or IP address, like so:

https://example.com:8090
or
https://192.0.2.0:8090

The CyberPanel login page will open.

!cyber 1

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

By default, your username is admin and you can get your password with the following command:

sudo cat .litespeed_password

Logging Into phpMyAdmin

To use the phpMyAdmin autologin feature, first log into CyberPanel, then connect to phpMyAdmin at your domain or IP address without a password, like so:

https://example.com:8090/dataBases/phpMyAdmin
or
https://192.0.2.0:8090/dataBases/phpMyAdmin

Note

Get the MySQL CyberPanel user password, if needed:

sudo sed -n 2p .db_password

Benchmark

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 a Website via CyberPanel

Log into CyberPanel, then follow the 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 Joomla's 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 Remove a Website?

Provided it is a website in CyberPanel and not a child domain, you can use this command:

cyberpanel deleteWebsite --domainName example.com

Warning

The deleteWebsite command will also remove all the sites under the account, so be careful using it.

How do I Set up a Joomla site With a Specific Path?

If you want to create a Joomla site at http://example.com/demo (i.e. the path is demo), then you would run the following command:

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

How do I Install VirtueMart?

  1. Download the official VirtueMart package, and choose the VirtueMart component, since we already have Joomla! installed.
  2. Unzip the downloaded file
  3. Go to Joomla Administration > Extensions > Manage > Install and install the following packages in this order:
    1. VirtueMart core component (com_virtuemart.w.x.y.zip)
    2. VirtueMart AIO component (com_virtuemart_ext_aio.w.x.y.zip)
    3. TCPDF component (com_tcpdf_x.y.z.zip)
  4. To display VirtueMart on the front page, navigate to Joomla Administration > Menus > Main Menu. Edit the Home page and change its type to VirtueMart. Save the changes and check the result.

API Creation

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"