fbpx

Custom/Extra Header can be used for many proposes like:

  1. Content Security policy
  2. Referrer policy
  3. HSTS (Strict-Transport-Security)
  4. Content-type options

If you are using the LiteSpeed Enterprise server you can add Extra headers to your htaccess file and the server will add it automatically just like you used to do with Apache as it is fully Apache Compatible.

However, if you are using OpenLiteSpeed it has to be done via OpenLiteSpeed WebAdmin or by adding it to vHost configuration for the website via CyberPanel.


Table of Contents

  1. Log in to CyberPanel
  2. Open the Website Manager
  3. Edit vHost Configuration
  4. Verify Headers.

Here are the steps to add a HSTS Header or extra header via vHost configuration from CyberPanel.


1. Log in to your CyberPanel Server

Visit https://<IP Address->:8090

Enter credentials to log in.


2. Open the website manager:

     2.1 Click on the website and then click on the list websites.

Click on website and then click on list websites

      2.2 Click on the manage button in front of your desired website.

Click on mange button in front of your desired website.


3.  Edit vHost Configuration :

       3.1 Click the vHost conf from the website manager.

Click the vHost conf from the configurations portion in website manager.

vHost Conf box will open, move on to Step 4 on how to add HSTS header.


4. How to set HSTS (Strict-Transport-Security) via vhost Conf:

HSTS is a web security policy mechanism that helps to protect websites against man-in-the-middle attacks such as protocol downgrade attacks and cookie hijacking.

Go to the bottom of the vHost Conf box which you have opened in last step and paste following at the end of the file

context / {
  allowBrowse             1
  extraHeaders            Strict-Transport-Security "max-age=15552000; includeSubDomains;preload"

  rewrite  {

  }
  addDefaultCharset       off

  phpIniOverride  {

  }
}

 1. The age parameter tells the browser how long this rule must be cached.
 2. The includeSubDomains should only be added if you want to apply HSTS to subdomains too.
 3. The preload parameter is used for inclusion in Google Chrome’s preload list.


5. How to verify extraHeaders configuration:

To verify extraHeaders configuration follow the steps:

    4.1 Open Network tab:

        1. Vist your website in any browser and open developer tools.

        2. In developer tools click on Networks tab

Open network tab

         3. Click on the file with your domain name. like(abc.xyz)

 

         4. Go to Network Tab and check headers for any request. You should the extra header you added in vHost conf.

Do you want to host a free and super fast WordPress blog by yourself without any technical knowledge? Yes, now it is possible. You can set up self-hosted WordPress on CyberPanel in 10 minutes. We have come up with a step-by-step guide to self host your blog without any coding knowledge.

You may wonder, how is it possible to host a website in 10 minutes? It takes hours to set up a website on a web server due to its complex back-end work. You need technical knowledge on Linux to install necessary prerequisites like PHP and MySQL (Maria DB) to run and install WordPress on your server. There are many tutorials and guidelines available on the web to install WordPress on your website from the command line terminal, but still, it takes hours to set up your website. Mostly non-technical users pay for managed web hosting services to set up their sites.

CyberPanel has solved this major problem through its simple to use graphical user interface. It is a web hosting control panel from where you can self-host your WordPress blog in 10 minutes without any cost.

Table of Contents

1. CyberPanel Features
2. Steps to Install WordPress on CyberPanel in 10 minutes
2.1 Buy a VPS (Virtual Private Server)
2.2 Install CyberPanel on Your Server
2.3 Set up WordPress on CyberPanel
3. Conclusion

1. CyberPanel Features

CyberPanel is a web hosting control panel backed by OpenLiteSpeed that allows you to manage your websites along with many other features that include but are not limited to Email and DNS. It provides auto-installation of WordPress, PrestaShop, Joomla and Magento with one click from its graphical user interface. Its functionality is very simple for non-technical users to self host their websites/blogs. You can self manage the following features that CyberPanel provides:

CyberPanel Features (Main Dashboard)

CyberPanel offers two variants: free and paid. Both options come with similar features. You can avail yourself of the free version for your WordPress website, which comes with the OpenLiteSpeed web server. Compare this to cPanel, which charges at least a $15 per month license fee to set up your self hosted website on a private server. For more information, you can click this link to read the difference between the two control panels.

2. Steps to Install WordPress on CyberPanel in 10 minutes

First, you need some online space to install CyberPanel. For that, you need to buy a VPS (Virtual Private Server) to store your data. In this guide, we will discuss step-by-step how to get a free VPS from DigitalOcean and how to install CyberPanel on your self-purchased private server.

2.1 How to Purchase a VPS (Virtual Private Server)

There are many hosting platforms from where you can purchase a cloud server such as DigitalOcean, Hetzner, Vultr, etc. In this guide, we will help you get a free cloud server from DigitalOcean.

2.1.1

Navigate to DigitalOcean and sign up. (You will get $50 as a credit in your account.)

2.1.2

Go to https://cloud.digitalocean.com/login and log into the DigitalOcean cloud platform.

Digital Ocean login

2.1.3

On the right corner of your dashboard, click the Create button. It will display a list of options. Choose Droplets (Create Cloud Servers).

Digital Ocean Droplets (Create Cloud Servers)

2.1.4

Choose CentOS 7.x as your operating system from the list.

Choose CentOS7 (Digital Ocean)

2.1.5

Choose a plan according to your requirements. For this example, we will choose a Standard Plan of $5 per month. (If you choose this plan your website can run free for almost 10 months using the free $50 credit that you got above.) The Standard Plan is enough to run a website with 25 GB SSD Disk, 1GB/1 CPU and 1000 GB Transfer. Other options range from $5 to $80 per month with a maximum of 16 GB/6 CPU, 320 GB SSD Disk and 6TB Transfer.

Choose a plan (Digital Ocean)

2.1.6

Choose the appropriate datacenter region for your server.

Choose a datacenter region (Digital Ocean)

2.1.7

Choose One-time password in the Authentication setting.

Choose One-time password in Authentication setting (Digital Ocean)

2.1.8

Write any hostname in the Finalize and Create section.

Choose a hostname in Finalize and create setting (Digital Ocean)

2.1.9

Skip the other options and click Create Droplet.

Create Droplet (Digital Ocean)

2.1.10

Our droplet, faizan.cyberpanel.net was successfully created.

Droplet Succesfully created (Digital Ocean)

At this point, you should receive a message at the email address you provided when you signed up for DigitalOcean. It contains a one-time password and your IP address to log into your root account from the command line terminal on CentOS 7. If you are a Microsoft Windows User, then download Putty 0.73 software from the web. Log in as root by providing your IP address on port 22. After login as root, it will ask for the password that you received via email. After entering your password, change the password right away for security purposes.

2.2 Install CyberPanel on Your Server

From the terminal command line, enter the following command to install CyberPanel:

sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

CyberPanel login screen

Note: You need to set up DNS records of your domain before moving forward. Setting DNS records are out of the scope of this tutorial. However, we can recommend various tutorials depending on your needs.

  1. CloudFlare DNS: If you want CloudFlare to manage your DNS follow this tutorial: How to setup Cloudflare for your domain!
  2. Custom Nameserver: You can set up a Custom name server as well: Namecheap or GoDaddy

Once custom nameservers are setup on domain registrars, CyberPanel will take care of the rest for you.

2.3 Set up WordPress on CyberPanel

2.3.1

The main dashboard of CyberPanel is straightforward. You can easily access the pre-installed features from the panel due to its prominence. There is a menu bar on the left side of your screen. To make a website, click on Websites > Create Website to open the following window. Provide the following information:

Create a website on CyberPanel

  1. Set Select Package to Default.
  2. Set Select Owner to admin. If there are other users who should also be allowed to manage your site, you can add them later.
  3. Set Domain Name to the domain where you want to install WordPress.
  4. Set Email to the email address of your website. You can make one for official use with one-click from the CyberPanel email system.
  5. Set Select PHP to the latest version. CyberPanel gives you an option from PHP 5.6 to PHP 7.3.
  6. You can also avail yourself of additional website features with one-click. SSL (Secure Socket Layer), DKIM Support and Open_basedir Protection are your choice.
  7. Click Create Website.

2.3.2

The website faizan.cyberpanel.net is now successfully created. The next step, is to install WordPress on CyberPanel. Go to Websites > List Websites where you will see your site listed. On the right side of your screen, you will see aManage option. Click it to make changes to your website.

List Website and manage option on CyberPanel

It will take you to the following screen. Now, scroll down to pre-installed applications where you will find WordPress + LSCache.

WordPress + LSCache Application on CyberPanel

2.3.3

Click WP + LSCache to install WordPress and LSCache. The LSCache plugin speeds up the load time of your WordPress site. The reason it is different from other cache plugins is its installation is at the server level. You can study its details by clicking this link. Enter the following information:

Install WordPress + LSCache on CyberPanel

  1. Set Blog Title to the title of your WordPress site.
  2. Set Login User to the username who operates the site.
  3. Set Login Password to a strong password to enter your blog.
  4. Set Email to an email address for the authentication of your blog.
  5. Press the Install Now button.

2.3.4

WordPress is now successfully installed. Next, navigate to http://domain-name/wp-login.php/ and enter your username and password to log into the main dashboard of your WordPress website:

WordPress + LSCache is successfully installed

3. Conclusion

Now you must understand the difference between CyberPanel and other web hosting control panels. It is the simple control panel that provides the same features as cPanel at no cost. The most important thing is its accessibility to all functions that provide the best user experience. Most of the customers who use CyberPanel are non-technical, and they are happy to use it without any complaints. Further, in case of any problems, the CyberPanel support department is here to help around the clock.

If you followed our guide, it is easy for you to purchase a VPS, install CyberPanel, and set up a self-hosted WordPress on your server. Most of the non-technical users are not aware of CyberPanel as the best possible solution for hosting your WordPress site for free. If you followed our guide till now, then you must have learned how easy it is to set up your self-hosted WordPress site on CyberPanel in 10 minutes.

This article will help you install WordPress with the LSCache plugin on OpenLiteSpeed using LSPHP. We are also going to see how we can use free Lets Encrypt SSL to secure your WordPress site.

This article guides you through installing and configuring OpenLiteSpeed web server, MariaDB as a database management system, LiteSpeed PHP, LetsEncrypt SSL to secure your website and Pure-FTPD (File Transfer Protocols Daemon) in case you want to use FTP to transfer WordPress files from your computer to server. The result would be to create a WordPress site on a domain (faizan.cyberpanel.net with the issuance of SSL Certificate) using OpenLiteSpeed as a web server.

Prerequisites

Step 1: Set up OpenLiteSpeed Web Server, MariaDB and PHP on Centos 7

Step 1.1: Enable LiteSpeed Repository

A repository is a storage location where software packages are retrieved and installed on a server. We can install OpenLiteSpeed without compiling it by directly adding the LiteSpeed repository. Use the command below to enable the repository:

sudo rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm

Step 1.2: Installation of Components

Step 1.2.1

Now that we can access LiteSpeed repositories, we can set up the server along with the MariaDB database management system by using the following command:

sudo yum install OpenLiteSpeed mariadb-server

Step 1.2.2

Different versions of PHP are available in LiteSpeed repositories. We will install PHP version 5.6 along with the PHP extension needed to connect with the MariaDB database management system.

sudo yum install lsphp56 lsphp56-mysql

Step 1.2.3

LSPHP denotes LiteSpeed PHP. You can also search for various available extensions. Replace 56 with the corresponding PHP version to search for extensions of other PHP versions:

yum search lsphp56

Step 1.2.4

You can also install all the extensions for LSPHP 5.6 using the command below:

sudo yum install lsphp56-*

Step 1.3: Setting up the Default Admin Password

To execute and change the default admin password for OpenLiteSpeed's WebAdmin Console, use the following command and set it to 123456:

sudo /usr/local/lsws/admin/misc/admpass.sh

It will ask for a username but by default, the admin username is used. You can press Enter to accept, and use the password 123456 on a temporary basis. Later, you can change your temporary password to a strong password for protection.

Step 1.4: Adding a New PHP Link

By default, OpenLiteSpeed will use the PHP at /usr/local/lsws/fcgi-bin/lsphp5 We will create a symlink to our installed PHP version so that OpenLiteSpeed can use the PHP 5.6 that we installed earlier because it contains the MySQL extension which is required by WordPress.

sudo ln -sf /usr/local/lsws/lsphp56/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5

Now, the PHP version 5.6 at /usr/local/lsws/lsphp56/bin/lsphp will be used by OpenLiteSpeed to process PHP files.

Step 1.5: MariaDB Configuration

Step 1.5.1

Start MariaDB by using following command:

sudo systemctl start mariadb

Step 1.5.2

Enable MariaDB service automatically, when we boot our system:

sudo systemctl enable mariadb

Step 1.5.3

Run the first time command to set up and configure MariaDB:

sudo mysql_secure_installation

First, it will ask for the root password for Maria DB, but since we haven't set one, press the Enter key to proceed. Now, it will ask you to set the root password. Provide a secure and strong root password to log into MariaDB.

For the rest of the questions, you can press Enter to continue and you will successfully install MariaDB on your server along with OpenLiteSpeed and LSPHP.

Step 1.6: Confirmation

Now we will confirm the OpenLiteSpeed web page and Admin interface.

Step 1.6.1

You can check the status of your OpenLiteSpeed web server using the following command, which provides a LSWS PID:

sudo service LSWS status

Step 1.6.2

You can also browse to your server's domain name or IP address on port 8088 to view the following OpenLiteSpeed default page:

https://your-IP-Address:8088

Openlitespeed web server installed

Now you have successfully installed OpenLiteSpeed web server which is running on port 8088.

Step 1.6.3

Log into the OpenLiteSpeed administrative interface by browsing to your server's domain name or IP address on port 7080:

https://your-IP-Address:7080

You will see a browser warning for an invalid SSL certificate, but you can proceed by clicking the "Proceed" link as shown:

SSL not validated page warning

Step 1.6.4

After proceeding, it will take you to the OpenLiteSpeed administrative interface, where you will enter your username and default password.

web admin console for OpenLiteSpeed

Step 1.6.5

Now you are on your main server management dashboard.

Openlitespeed dashboard

Step 1.7: Change Port for the Default Page

Log into your the OpenLiteSpeed administrative interface. Go to Listeners > Listener List > View/Edit Button > from main menu bar of your dashboard, and change port 8088 to conventional port 80. Save the changes and restart the server.

restart your server for configuration

Now we have installed OpenLiteSpeed web server, MariaDB and PHP version 5.6 on Centos 7. OpenLiteSpeed web server and its administrative interface provides useful features to run and manage your websites in a user-friendly environment.

Step 2: Set up WordPress with OpenLiteSpeed Web Server on Centos 7

WordPress is the most powerful website creation tool in the world. It is the prevalent content management system (CMS). WordPress owes its popularity to a user-friendly interfance for blog, website, and post management that doesn't require a user to know any programming languages. WordPress websites are set up on top of a database back-end system that uses PHP scripts to execute the processing of dynamic content.

Let's set up WordPress with OpenLiteSpeed on CentOS 7.

Step 2.1: Prerequisites

At this point, you must have successfully installed the above prerequisites to move ahead.

Step 2.2: Creating a Database and Database User on MariaDB for WordPress

To create a database and database user for WordPress, we need to log into MariaDB with the following command:

mysql -u root -p

It will ask for the administrative password for MariaDB that you entered during installation.

Once you are logged into MariaDB, you will need to create a database for WordPress. You may choose any name for your database, but we will use cyberpanel for a simple example.

CREATE DATABASE cyberpanel;

Now we will create a database user and grant it access to manage the database that has just been created. We will create a user by the name of cyberpaneluser but, again, you may name it whatever you like. Also, you can replace the password in the command section to keep it strong. We will be using password for simplicity.

GRANT ALL ON cyberpanel.* TO [email protected] IDENTIFIED BY 'password';

Use the flush command to make your changes available to the current MariaDB process.

FLUSH PRIVILEGES;

Now, exit out of MariaDB to your regular shell.

exit

Step 2.3: Installation of Necessary PHP Extensions for WordPress

Earlier we installed PHP 5.6 from LiteSpeed repositories. WordPress requires some additional extensions that we will install now using the command below:

sudo yum install lsphp56-gd lsphp56-process lsphp56-mbstring

Now, these extensions will automatically be available to OpenLiteSpeed web server to run WordPress.

Step 2.4: Configuration of Virtual Host for WordPress

Step 2.4.1

For the configuration of a Virtual Host, navigate to OpenLiteSpeed's administrative interface by browsing to your server's domain name or IP address on port 7080 i.e. https://your-IP-Address:7080

Step 2.4.2

Enter your username and default password to log in, then go to Virtual Hosts from the main dashboard menu bar on the left and follow the steps below:

add a virtual host

Step 2.4.3

Press the add button on the top right corner. The following window will be opened.

Virtual Host in OpenLiteSpeed administrative interface

click to create option in virtual host

Now a Virtual Host has been created and is called "faizan.cyberpanel.net":

faizan.cyberpanel.net virtual host created

Step 2.4.4

Navigate to Virtual Hosts > faizan.cyberpanel.net > General and press the edit/view button to make the following changes:

general tab in virtual host faizan.cyberpanel.net

Step 2.4.5

Navigate to  Virtual Hosts > faizan.cyberpanel.net > General > Index Files and press the edit/view button. In the Index files field, add index.php before index.html to allow PHP index files to take precedence. Now, save changes and restart your server.

index files in virtual hosts

Step 2.4.6

Navigate to Virtual Hosts > faizan.cyberpanel.net > Rewrite Rules, press the edit/view button, and make the following changes:

rewrite rules in virtual hosts

Step 2.4.7

Navigate to Virtual Hosts > faizan.cyberpanel.net > Script Handler, press the edit/view button, and make the following changes:

script handler in virtual hosts

Step 2.4.8

From the OpenLiteSpeed administrative main dashboard, navigate to: Listeners > Listener List > Virtual Host Mappings, press the edit/view button, and make the following changes:

virtual host mappings in OpenLiteSpeed

At this point, we have completed the necessary virtual host tasks required to run WordPress on faizan.cyberpanel.net. Now, we will install and configure WordPress in the /home/wordpress directory on CentOS 7.

Step 2.5: Install and Configure WordPress

Step 2.5.1

Now we are ready to download and install WordPress to the /home/wordpress directory that we set up on the Virtual Host Root and Document Root.

cd /home
wget https://wordpress.org/latest.tar.gz

Step 2.5.2

Extract WordPress:

tar xzvf latest.tar.gz

Now, WordPress has been installed in /home/wordpress.

Step 2.5.3

Set permissions on the WordPress directory so that the user which runs the web server may make changes through the WordPress interface.

chown -R nobody:nobody /home/wordpress/

Now we have successfully downloaded and extracted WordPress in the /home/wordpress directory.

Step 2.6: Complete Installation through the WordPress Interface

Step 2.6.1

Now, with the files downloaded to /home/wordpress, we can access WordPress by going to the faizan.cyberpanel.net/index.php domain that we set up for running WordPress in Virtual Hosts.

Wordpress running on faizan.cyberpanel.net/index.php

Step 2.6.2

Press Continue to proceed; the next page will ask you to enter the following things for validation:

Step 2.6.3

After adding the above information, enter Site Title, Username, Password, and Your Email for authentication.

Wordpress installation and configuration from interface

Press the Install WordPress button.

Step 2.6.4

Enter your username and password to log into the main dashboard of your WordPress website:

main page of wordpress installed

Step 3: Set up the LSCache Plugin

The LSCache plugin for WordPress works by generating static HTML pages of your WordPress website and saving them on your server. The main benefit of this feature is that when a user tries to access a website, LSCache provides a lighter HTML page, instead of running the heavy PHP scripts, and gathering data from the beginning. LSCache is installed on servers to improve the load time of a website through this process.

Prerequisites

Step 3.1: LSCache Configuration

The LSCache server module installed and enabled itself when you first set up OpenLiteSpeed. You need to set the LSCache parameters to the following by going to Openlitespeed's Administrative Interface > Main Dashboard > Server Configuration > Modules > Server Modules Definition > View/Edit Button > Module Parameters.

checkPrivateCache   1
checkPublicCache    1
maxCacheObjSize     10000000
maxStaleAge         200
qsCache             1
reqCookieCache      1
respCookieCache     1
ignoreReqCacheCtrl  1
ignoreRespCacheCtrl 0

enableCache         0
expireInSeconds     3600
enablePrivateCache  0
privateExpireInSeconds 3600

LSCache configuration

Save changes and restart your server.

Step 3.2: Set LSCache Rewrite Configuration for Virtual Hosts

Now, go to Virtual Hosts > faizan.cyberpanel.net > Rewrite Rules, press the edit/view button, and make the following changes:

LSCache Rewrite configuration in Virtual Hosts

Step 3.3: Activate LSCache WordPress Plugin

Step 3.4: Verify LSCache Activation

X-LiteSpeed-Cache: hit

This means the LSCache plugin for WordPress is successfully activated and is caching your site.

Step 4: Set up LetsEncrypt SSL on CentOS 7

SSL stand for Secure Socket Layer, and it is used to ensure privacy, authentication and data protection in Internet communication. It uses the HTTPS protocol and encryption to secure your website from threats and an insecure environment.

Step 4.1: Install Acme.sh

To install acme.sh, execute the command below:

wget -O -  https://get.acme.sh | sh

You will see an output in which acme.sh is installed to /root/.acme.sh/ directory.

Step 4.2: Issue a LetsEncrypt Certificate

The following command is used to issue a LetsEncrypt certificate for a single domain, i.e. faizan.cyberpanel.net.

/root/.acme.sh/acme.sh --issue -d faizan.cyberpanel.net -w /home/wordpress

Output

acme.sh results

In the output, the certificate key and full chain certificate key are outlined in red. Now you will need to enter these two keys in the Virtual Hosts area.

Step 4.2.1

Navigate to Virtual Hosts > faizan.cyberpanel.net > SSL > SSL Private Key and Certificate, press the edit/view button, and make the following changes:

SSL configuration in virtual hosts

Step 4.2.2

Go to Listeners > Add Listener, and make the following changes:

create a new listener for SSL

Step 4.2.3

Go to Listeners > Listeners faizan.cyberpanel.net > Virtual Host Mappings > SSL > SSL Private Key and Certificate, press the edit/view button, and make the following changes:

Listeners SSL in virtual hosts

Step 4.2.4

Go to your browser visit your index page, like so: https://faizan.cyberpanel.net/index.php

LetsEncript SSL is setup successfully

You have now successfully installed LetsEncrypt SSL on CentOS 7 for the domain faizan.cyberpanel.net. You can follow the steps mentioned above to do the same for your own website in an easy way.

CloudLinux and CageFS integration are available from CyberPanel v1.8.6. However, before using CageFS you need to be on CloudLinux OS. So before moving forward convert your CyberPanel server to CloudLinux and install CageFS.


What is CageFS?

From the official documentation:

CageFS is a virtualized, per-user file system that uniquely encapsulates each customer, preventing users from seeing each other and viewing sensitive information. CageFS prevents a large number of attacks, including most privilege escalation and information disclosure attacks. It is completely transparent to your customers, without any need for them to change their scripts.

So now when you create any website, you can enable CageFS on the website user, that user will then see a virtualized file system.


How to enable/disable CageFS for users?

In order to manage CageFS for individual users, log in to LVE manager by going to <IP_ADDRESS>:9000

Use your root credentials to log in, you CyberPanel administration credentials won't work.

When you are logged in you will see this

 

At the menu on the top, Click on Users where you will see all the list of users on the server

 

From this screen, you can enable or disable CageFS for any user by clicking the pencil icon in the end, the user's resource limits can be increased or decreased easily from same interface.

 

 

Click save after you have changed it to the values you like.

That's how you can easily manage CageFS for all your users.

 

CyberPanel v1.7.8 and above gives you ability to view and manage Docker container/images.  (Make sure you are on version 1.7.8 or above, you can visit upgrade instructions)

What is Docker?

Docker use containerization technology to make it easy to deploy and run applications. As a developers we use to hear that It works on my computer/environment but it wont work when you deploy the application to production environment. Docker solves this issue by packaging the application code along with all the libraries and dependencies it needs to run. Once you package your application it will run in any environment where docker is available.

CyberPanel gives you the ability to manage your docker container and images the easy way. Some of the exciting features of CyberPanel Docker Manager:

  1. Search and pull images from Docker Hub (Along with tags).
  2. Prune the system.
  3. Create Container from available/pulled images.
  4. List and manage container that includes:
    1. Start/Stop Containers.
    2. View Logs.
    3. Export the file.
    4. View Processes inside the container.
    5. Delete Containers.
    6. Re-create containers.

Docker Installation

Docker is not installed by default (during CyberPanel installation). So when you visit any docker related pages CyberPanel will prompt you to install Docker.

 

 

Under Docker Manager you can click any link such as Manage Images, and it will redirect you to installation page (only if Docker is not already installed)

 

Click Install Now to start the installation process, it will take from few seconds to few minutes. Once installation is completed page will auto-refresh. We are now ready to manage docker images and containers.

Next: 2 - Search/Pull/Download and Manage Docker Images

CyberPanel v1.7.4 onwards provides the ability to convert your OpenLiteSpeed installation to LiteSpeed Enterprise Web server. Since the release of LiteSpeed Free Starter a lot of people are going for LiteSpeed Enterprise Web server.


Step 1: Obtain LiteSpeed Web server Enterprise License

Before switching, you first need to obtain a license key (it is free for 1 domain, but you still need to obtain the key). Visit the pricing table to decide your desired plan and get the key ready for switch.


Step 2: Switch to LiteSpeed Web server Enterprise

After obtaining the license key, come back to your CyberPanel and navigate to Server Status > LiteSpeed Status or directly visit https://<IP Address>:8090/serverstatus/litespeedStatus

 

 

Enter your license key and click Switch.

Various configurations files are located at different places, there structure is defined below.


Litespeed

/usr/local/lsws/conf/httpd_config.conf

/usr/local/lsws/conf/phpconfigs/php53.conf
/usr/local/lsws/conf/phpconfigs/php54.conf
/usr/local/lsws/conf/phpconfigs/php55.conf
/usr/local/lsws/conf/phpconfigs/php56.conf
/usr/local/lsws/conf/phpconfigs/php70.conf

Virtual Hosts

/usr/local/lsws/conf/vhosts/<Domain>

FTP

/etc/pure-ftpd
/etc/pure-ftpd/pure-ftpd.conf

DNS

/etc/pdns
/etc/pdns/pdns.conf

 

chevron-down