Install utilities with CyberPanel

Install utilities Webmin, Docker, and Portainer with CyberPanel and Opening of the Openlitespeed Control Panel

In this comprehensive guide for Install utilities with CyberPanel, we will install additional tools and utilities to get the most out of your server. To manage CyberPanel more professionally, we will start with one of the most important server management tools, Webmin. Then, we will set up Docker and Portainer, followed by opening and configuring the Openlitespeed control panel.

This article is a continuation of an earlier article that you can find here How to install Cyberpanel with OpenLiteSpeed on Ubuntu and basic Configuration. You should read it first before reading this article.

Step 1: Install Webmin on CyberPanel

Download and Install Webmin

Open your terminal and run:

sudo curl -o
sudo sh

When prompted, press Y to download the Webmin package.

Next, install Webmin:

sudo apt-get install webmin --install-recommends

Again, press Y to proceed with the installation.

Access Webmin

Open your browser and navigate to


Log in using your server root credentials.

Secure Webmin Connection

Obtain SSL Certificate Paths

Save the path to the fullchain file:


Save the path to the privkey file:


Configure SSL in Webmin

  • Go to Webmin > Webmin Configuration > SSL Encryption > SSL Settings.
  • Enter the path to your private key file in “Private key file” and the fullchain file in “Certificate file”.
  • Press the Save button.

Enforce SSL with HSTS

  • Open https://<>:10000 in your browser.
  • Navigate to Webmin > Webmin Configuration > SSL Encryption > SSL Settings.
  • Change “Enforce SSL with HSTS header” to yes.

Step 2: Set Up Openlitespeed Control Panel

Create Admin User

Navigate to the directory:

cd /usr/local/lsws/admin/misc

Run the admin password script:

sudo ./

Create a UserName and a complex Password.

Access Openlitespeed Control Panel

  • Open your browser and go to https://<>:7080.
  • Enter the UserName and Password you created.

Adjust SSL Certificate Paths in Openlitespeed

  • Go to WebAdmin Settings > Listeners > Summary.
  • Click on adminListener.
  • Under SSL, edit the following:
    • Private Key File: /etc/letsencrypt/live/<>/privkey.pem
    • Certificate File: /etc/letsencrypt/live/<>/fullchain.pem
    • Chained Certificate: yes
    • Click Save.

Update SSL Protocol Settings

  • Set Protocol Version to TLS v1.2 and TLS v1.3.
  • Enable ECDH Key Exchange.
  • Click Save.

Adjust Security and Features

  • Enable SSL Renegotiation Protection.
  • Enable Session Cache.
  • Set ALPN to SPDY/2, SPDY/3, HTTP/2, and HTTP/3.
  • Click Save.

Perform Graceful Restart

  • Click the top right green button Graceful Restart.
  • Click Go.

Step 3: Install Docker on CyberPanel

Install Docker

  • Go to the CyberPanel control panel at https://<>:8090.
  • Navigate to Server > Docker Manager > Manage images.
  • Click on the Install Docker button.

Step 4: Install Portainer

Run Portainer Container

Use the following command to set up Portainer:

sudo docker run -d -p 9443:9443 -p 8000:8000 \
    --name portainer --restart always \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v portainer_data:/data \
    -v /etc/letsencrypt/live/<>:/certs/live/<>:ro \
    -v /etc/letsencrypt/archive/<>:/certs/archive/<>:ro \
    portainer/portainer-ce:latest \
    --sslcert /certs/live/<>/fullchain.pem \
    --sslkey /certs/live/<>/privkey.pem

Access Portainer

  • Open your browser and navigate to https://<>:9443.
  • Create a UserName and a complex Password.
  • Click the Create user button.
  • Click Get Started.
  • Select local environments.


Congratulations! You have successfully install utilities and configured Webmin, Docker, and Portainer on CyberPanel, and adjusted the Openlitespeed control panel for optimal performance and security. This setup will significantly enhance your server management capabilities, providing you with a powerful and flexible environment to administer your server infrastructure.

In order to read the following explanation of this series, you can click on the following link How to Install WordPress with LiteSpeed Cache on CyberPanel and Create Packages, Users, and Websites

More :


You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow us

Latest comments
Tech on Mart We would like to show you notifications for the latest news and updates.
Allow Notifications