...

*Cube-Host– full cloud services!!

How to install control panel cPanel on VPS?

Introduction.
There are many solutions on the market for managing hosting, domains, e-mail and databases, but CPanel and Plesk stand out from the crowd. Using these tools you will get a convenient user interface for working with domains and subdomains, MySQL databases via phpMyAdmin, website management using popular CMS (WordPress, Joomla, OpenCart, etc.). These versatile tools have flexible features to analyze your website performance, analyze user behavior and understand traffic. With powerful security tools, you can prevent attacks by blocking certain IP addresses from accessing your site, detect problems and potential threats. In this article, we’ll talk about cPanel, what system requirements you’ll need, and review a few popular installation methods.

Preparing for installation.
Before you begin the installation, you need to make sure that your c͏e͏rver meets the system requirements and is ready to install cPanel. If it͏ does not meet the minimum͏ requirements for Cpanel, it is worth updating the components because this can бы͏т͏ь cause poor performance, vulnerabilities without͏ security, ͏with newer versions of the program͏ as well as frequent errors and ͏ crashes.

Minimum system requirements for cPanel.

  • Processor: at least 1 GHz.
  • RAM: from 1 GB.
  • Disk space: 20 GB or more.
  • OS: CentOS 7 or higher, Ubuntu 18.04 or higher

Optimal system requirements for cPanel:
Light load (up to 10 sites with low traffic)

  • Processor: 2 GHz (dual core)
  • RAM: 2-4 GB RAM
  • Disk space: 50-100 GB free space
  • Storage type: SSD is preferred for increased speed

Medium workload (10 to 50 sites with medium traffic and multiple databases)

  • Processor: 3 GHz (quad-core)
  • RAM: 4-8 GB RAM
  • Disk space: 100-200 GB of free space
  • Storage type: SSD

High load (more than 50 sites with high traffic and multiple databases)

  • Processor: 3 GHz (six-core or higher)
  • RAM: 8-16 GB RAM
  • Disk Space: 200-500 GB free space
  • Storage type: SSD or NVMe for better performance

Extreme workload (enterprise solutions with large number of sites and databases)

  • Processor: 3 GHz (eight-core or higher)
  • RAM: 16-32 GB RAM
  • Disk space: 500GB or more
  • Storage type: NVMe or dedicated storage for high performance

Installing cPanel on VPS
Installing cPanel: this can be done in many ways.Let’s see the most popular one first – via SSH, then other ways.
CentOS with Perl and screen (programming languages).
Via SSH.

  1. Make sure Perl is installed:
    yum install -y perl
  2. Create a fully qualified domain name:
    hostname server.example.com
  3. Create the necessary packages and screen:
    yum install wget screen -y
  4. Open a new screen session:
    screen -S cPanel_Installation
  5. Download and install the installation script:
    wget -N http://httpupdate.cPanel.net/latest
    sh latest
  6. For DNS-only version:
    wget -N http://httpupdate.cPanel.net/latest-dnsonly
    sh latest
  7. Useful commands for working with screen:
    Stop: control-a-d #combination disconnects from the screen session
    Continue: screen -r. #combination connects to a previously created screen session

Via the web interface of the hosting provider
If your hosting provider provides the means to install a leased or virtual domain, you can take this chance and install cPanel through your VPS provider’s web interface.
As a general example:

  1. Open your VPS provider’s website and log in to your profile;
  2. Find the “Server Management” or similar section and select cPanel from the list of available panels.
  3. Next, follow the automatic installation instructions.

Through an automatic installation script.
Some hosting providers create special scripts for their customers to run pages. This can be a convenient alternative to automatic installation through the panel.

  1. Uploading:
    Log in to your hosting provider’s website and download the cPanel auto-install script.
  2. Running it on the server:
    sh install_cpanel.sh

Note: unfortunately, cPanel does not support Ubuntu. You need to use other panels for this system, such as Plesk or Webmin.

Facebook
Twitter
LinkedIn