• Techblog369, India
  • September 29, 2022

How to create PHP QR code and Save it to Database?

Hi In this Article I am going to show how to create QR code and save it to database also fetch QR Code in a Table Create a Page addqrcode.php in …

How to Send Multiple Files Attachment Mail using Laravel

Hi in this article i am going to show how to send multiple files attachment mail in Laravel. It’s simple example of Laravel send multiple attachment in mail. I explained simply …

CyberPanel is a modern & free control panel loaded with feathers. It is a great alternative to cPanel or Plesk. In fact, it outshines other open-source control panels like Virtuamin, VestaCP, CentOS Web Panel, etc. It works on top of the OpenLiteSpeed server. Apart from installing normal applications like WordPress, Joomla, Magento, Prestashop it also features email marketing application like Mautic. Some of the features of cyber panel are given below

  1. In built Email Marketing Section
  2. Auto SSL
  3. Docker Containerization
  4. Email List Verification
  5. Out of box Word Press installation
  6. . Easy Backup
  7. Multi PHP
  8. File Manager
  9. Incremental backup
  10. Firewall / Security
  11. FTP server etc.

In this article, you will learn to install Cyber Panel on Ubuntu 20.04. You will also learn to create a WordPress website on CyberPanel.

  1. Requirements for Cyber Panel
  2. Installing Cyber Panel
  3. Creating and Updating Nameservers for main domain
  4. Installing and Enabling SSL
  5. Installing Word Press

Requirements for CyberPanel

Though CyberPanel recommends getting a minimum of 1 GB of RAM, I highly recommend you to get at least 2 GB RAM. This will save you from trouble later.

I already have a video lecture on how to purchase VPS from Contabo, that you can follow to buy the VPS.

Installing Cyber Panel

Installation of Cyber Panel is pretty straightforward and no brainer. All you need to do is run a single command to install it. But before that you should update Ubuntu.

Connecting to Remote VPS

Once you have the IP address, username, and password for the VPS, first of all, connect to remote VPS. If you are on a Windows machine you will need a special SSH client called Putty or BitVise. Linux and Mac user can open their terminal.

First of all switch to root user

sudo -i

The next update the OS

apt update -y

After that upgrade the packages using the following command.

apt upgrade -y

Now next command will begin the installation of Cyber Panel.

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

Following this, you will be asked a few questions, just answer them.

 CyberPanel Installer v2.1.1
1. Install CyberPanel.
2. Exit.
  Please enter the number[1-2]: 1

Here answer 1 obviously

CyberPanel Installer v2.1.1
RAM check : 223/1682MB (13.26%)
Disk check : 4/30GB (18%) (Minimal 10GB free space)
1. Install CyberPanel with OpenLiteSpeed.
2. Install Cyberpanel with LiteSpeed Enterprise.
3. Exit.
  Please enter the number[1-3]: 1

Here also you have to answer 1, otherwise, you need a license to the enterprise version

Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.
Full installation [Y/n]: Y

In the above screen answer Y

Do you want to setup Remote MySQL? (This will skip installation of local MySQL)
(Default = No) Remote MySQL [y/N]: N

Here, your answer should b N, unless you have remote MySQL. After that, you will be asked to press enter to continue.

Press Enter key to continue with latest version or Enter specific version such as: 1.9.4 , 2.0.1 , 2.0.2 ...etc

Next, you will be asked to set a password. I usually set the password instead of choosing the other 2 options. Therefore answer s.

Please choose to use default admin password 1234567, randomly generate one (recommended) or specify the admin password?
Choose [d]fault, [r]andom or [s]et password: [d/r/s] s

On the next screen type your password and enter

Please enter your password:
Password: Confirm Password:

Next, answer Y to install Memcached and other PHP extensions. These will be required later.

Do you wish to install Memcached process and its PHP extension?
Please select [Y/n]: Y

Further, you will be asked whether you want to install the Redis process and its extension. Answer Y.

Do you wish to install Redis process and its PHP extension?
Please select [Y/n]:

At last, you will be asked whether you want to set up a watchdog. I usually answer Y, even though this is in beta.

Would you like to set up a WatchDog (beta) for Web service and Database service ?
The watchdog script will be automatically started up after installation and server reboot
If you want to kill the watchdog , run watchdog kill
Please type Yes or no (with capital Y, default Yes):
Y

At the end of the installation, you will be given login credentials as follows. You will also be asked to restart the server. Answer Y to that.

 CyberPanel Successfully Installed
                Current Disk usage : 9/194GB (6%)
                Current RAM  usage : 308/7961MB (3.87%)
                Installation time  : 0 hrs 12 min 0 sec
                Visit: https://194.163.163.12:8090
                Panel username: admin
                Panel password: *****
                Visit: https://194.163.163.xx:7080
                WebAdmin console username: admin
                WebAdmin console password: 9xBXiJwdQWvbFwUv
                Visit: https://194.163.163.xx:8090/rainloop/?admin
                Rainloop Admin username: admin
                Rainloop Admin password: Q54ZP8j18Rw3pD
             Run cyberpanel help to get FAQ info
             Run cyberpanel upgrade to upgrade it to latest version.
             Run cyberpanel utility to access some handy tools .
              Website : https://www.cyberpanel.net
              Forums  : https://forums.cyberpanel.net
              Wikipage: https://docs.cyberpanel.net
              Docs    : https://cyberpanel.net/docs/
            Enjoy your accelerated Internet by
                CyberPanel & OpenLiteSpeed
###################################################################
If your provider has a network-level firewall
Please make sure you have opened following port for both in/out:
TCP: 8090 for CyberPanel
TCP: 80, TCP: 443 and UDP: 443 for webserver
TCP: 21 and TCP: 40110-40210 for FTP
TCP: 25, TCP: 587, TCP: 465, TCP: 110, TCP: 143 and TCP: 993 for mail service
TCP: 53 and UDP: 53 for DNS service
Would you like to restart your server now? [y/N]: y

Now open the first URL https://194.163.163.xx:8090 in the browser and log in to Cyber Panel.

Creating Website and Updating Nameservers

Now the first thing you should do is to login into the domain registrar and create hostnames. Also, known as custom nameservers or glue records. Usually, every domain registrar has a tutorial for this.

Next, open websites

Then Create a Website

Now fill in the details like domain name, email, select PHP and check the required boxes. I usually check them all.

Click create a website and your website will be ready.

Now to create nameservers, go to Create Nameserver

Installing and Enabling SSL

To install SSL for both website and cyberpanel, go to SSL in left menu

Now Install your WordPress or PHP whatever you want.

It’s easy to install WordPress on CyberPanel. Go to the Websites in the left menu and then List Websites and then Manage.

Now scroll all the way to the bottom. There you will find WordPress and other options

You can find WP+LSCache

Fill in all the information asked for WordPress and click Install Now

After installation, go to your URL to enjoy freshly installed WordPress on LiteSpeed server.

Thanks for reading…

Author

admin@techblog369.in

Leave a Reply

Your email address will not be published.