CyberPanel¶
The CyberPanel One-Click Image is a next-generation hosting control panel, and it features several innovative performance enhancements, including LiteSpeed's popular LSCache optimization plugin.
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¶
Platforms¶
Use the CyberPanel 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.
Use the "Cyberpanel app" to create a server with any plan you want. Click here to create an account and get a $100 Vultr credit.
Use the "Deploy CyberPanel" to create a server with any plan you want. Click here to create an account
- Login to the Google Cloud Platform and click Launch a VM instance on Compute Engine.
Method 1. Through Subscribe
- Subscribe CyberPanel from MarketPlace
- Click
Continue to Launch
andLaunch
Method 2. Through EC2 console
- Open the Amazon EC2 console
- Locate the product by searching "CyberPanel" from AWS Marketplace
- Click Select,Continue,Preview and launch (the default is the most recent version)
- Login to the Azure Portal and click Image Link.
- Click the GET IT NOW and Create buttons
- Choose any server plan you'd like to use, and create the server
Use the "CyberPanel" from Marketplace to create an ECS instance with any plan you want.
Use the "Deploy CyberPanel" to create a server with any plan you want. Click here to create an account
- Log into hPanel
- Navigate to the Operating System page from the sidebar
- On the Change Your Operating System section, select OS with Control Panel and choose the CyberPanel template.
Your system is installed and ready to use!
Tip
OpenLiteSpeed and LSCache are a powerful combination for your WordPress site, right out of the box. In addition, LSCache offers a variety of optimization features that can contribute to a superior PageSpeed score for your site. Learn more about the LSCache plugin's settings.
Components¶
The CyberPanel One-Click Image installs several packages.
System Package Installation¶
Component | Version |
---|---|
Linux | Ubuntu 22.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
ssh Username@192.0.2.0
# In the Support + troubleshooting menu, please select Reset password.
# Select Reset password option, then click on Update button.
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 into CyberPanel, open your web browser, and open port 8090
at your domain or IP address, like so:
https://example.com:8090
https://192.0.2.0:8090
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¶
Connect to phpMyAdmin at the following URL:
https://example.com:8090/phpmyadmin
https://192.0.2.0:8090/phpmyadmin
Get the MySQL CyberPanel user password:
sudo sed -n 2p .db_password
CyberPanel Functionalilty Explained¶
Main Page View¶
Website Page View¶
ACL for CyberPanel's Main Functions¶
Functions | Admin | Reseller | User |
---|---|---|---|
Version Management | V | ||
User Management | V | V | |
Website Management | V | V | |
Package Management | V | V | |
Database Management | V | V | V |
DNS Management | V | V | V |
Email Management | V | V | V |
FTP Management | V | V | V |
Backup Management | V | V | |
SSL Management | V | V | V |
Server Tuning | V | ||
Server Status | V | ||
PHP Extension | V | ||
Logs | V | ||
Security | V | ||
Mail Settings | V | ||
Manage Services | V | ||
Plugins | V |
Optional Setup¶
One Click Application Installer - WordPress¶
- Create a website with your domain
- Main > Websites > List Websites > Launch
- Scroll down to the APPLICATION INSTALLER
- Click
WordPress with LSCache
- Enter the Information:
- Blog Title:
LS-DEMO
- Login User:
admin
- Login Password:
yourpassword
- Email:
demo@example.com
- Path:
wordpress
- Blog Title:
- Installation complete. Visit:
http://yourdomain/wordpress
Frequently Asked Questions¶
How do I Migrate Wordpress?¶
Please see Methods for Migrating WordPress.
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 || wget -O - 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 Enable the Crawler Engine with LiteSpeed Enterprise?¶
Edit /usr/local/lsws/conf/httpd.conf
from SSH console. Find <IfModule Litespeed>
section:
<IfModule Litespeed> CacheRoot /home/lscache/ </IfModule>
Update it, adding the line CacheEngine on crawler
, like so:
<IfModule Litespeed> CacheRoot /home/lscache/ CacheEngine on crawler </IfModule>
Visit CyberPanel at port 8090
, then click Manage from Your Websites. Navigate to Configurations > vhost Conf.
Find all <IfModule Litespeed>
sections:
Update each one, adding the line<IfModule Litespeed> CacheRoot /home/lscache/ </IfModule>
CacheEngine on crawler
, like so:<IfModule Litespeed> CacheRoot /home/lscache/ CacheEngine on crawler </IfModule>
How to fix SSL not working issue¶
If your SSL renew not working, it's possible due to the recent ACME changing, simply upgrade the CyberPanel should fix it.
API Creation¶
In addition to creating a Droplet from the CyberPanel 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-cyberpanel-20-04"}' \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json"
In addition to creating an instance from the CyberPanel using the AWS Management Console, you can also use the AWS Command Line Interface.
The following example creates an t2.micro Instance with CyberPanel AMI:
Please replace XXX to your own settings.aws ec2 run-instances --image-id ami-0b83ce8c34b39a3fb \ --subnet-id subnet-XXXXXXX \ --security-group-ids sg-XXXXXXXXXXXXXX \ --count 1 \ --instance-type t2.micro \ --key-name XXXXXX \ --query "Instances[0].InstanceId"
Get the exact name of the CyberPanel image from LiteSpeed's project, gc-image-pub
:
gcloud compute images list --project=gc-image-pub --filter="name ~ 'cyberpanel'"
Create an instance, replacing INSTANCE_NAME
with the name of your choice, and IMAGE_NAME
with the name obtained from the previous command:
gcloud compute instances create INSTANCE_NAME --image-project=gc-image-pub --image=IMAGE_NAME
The first time you launch, you may need to accept the marketplace terms using the following command:
Find the release version you prefer:Get-AzureRmMarketplaceTerms \ -Publisher "litespeedtechnologies" \ -Product "cyberpanel" \ -Name "cyberpanel" \ | Set-AzureRmMarketplaceTerms -Accept
Launch VM from that image:az vm image list \ --location westus \ --publisher litespeedtechnologies \ --offer cyberpanel \ --all \ --output table
az vm create \ --resource-group your-group \ --image litespeedtechnologies:cyberpanel:cyberpanel:1.0.2 \ --name myVM \ --admin-username azure
Feel free to replace resource-group
, image version
, name
, admin name
, --generate-ssh-keys
and more options with your own preferences.
Please check the Elastic Compute Service CLI Samples