How to install cPanel — Step by step guide

VCCLHosting
3 min readMar 25, 2021

--

cPanel Installation requirements

  • You should have a valid hosting plan which comes with the main IP and root password.
  • Server with the valid operating system having
    o minimum of 2 GB RAM
    o Minimum 40GB Disk space
  • You should have the firewall disabled on O.S.
  • You should have an active internet connection for ssh (secure shell) session typically for secured command line access for the remote machine.

cPanel Installation step by step guide

let us dive deep into the whole process of cPanel installation.

Login to a remote server via ssh protocol
If you are on windows and want to login ssh console then you should require PuTTY which is free and open a third-party source terminal emulator to utilize SSH. So just install it and open PuTTY, the window will appear like

Type the hostname which is the main IP given by your hosting provider, select port 22 which is by default port for SSH. select connection type as SSH as we are going to log in for secure shell connection.

If you are Linux / mac user then they are having a native SSH client built into the command line. Therefore, open Terminal and type command

MacBook-Air:$ sshroot@hostname

The hostname may be your main IP address given by the hosting provider. After executing this command if you are creating an SSH session the first time then the message will appear like this

Type “yes” to continue.

Then terminal will ask for the root password which was given to you by your hosting provider. Enter the correct password, one thing is very strange here that is when you type a password it won’t be shown on your display for security reasons. After the correct password, you will be now successfully logged in to your remote server via ssh.

For some editing purpose, you will be requiring a text editor. Here in this tutorial, we are going to install a “nano” text editor which is pretty much a common and popular text editor. For this enter the following command into the terminal window
MacBook-Air: $ yum install nano

Then the terminal will ask you for some permissions, allow that by pressing Yes(Y) and nano will be get installed onto your remote server.

The next step is to check whether Perl is available on your server or not. Just check it by typing the following command into the terminal window
MacBook-Air: $ perl -v

If it already installed then the version number will be displayed otherwise it will show an error. In this case, you must install it by entering the following command into the terminal window

MacBook-Air: $ yum install perl

cPanel installation can be done with an auto-installer script which will install packages in a few clicks. for this, we must install curl
MacBook-Air: $ yum install curl

now we are ready to install cPanel & WHM utility onto our server. Just type following command into terminal window
cd /home && curl -o latest -L
https://securedownloads.cpanel.net/latest &&sh latest

It will take about 40 minutes to install cPanel and WHM onto your remote server. successful installation message will be shown onto the terminal window.

--

--

VCCLHosting
VCCLHosting

Written by VCCLHosting

VCCLCloud was started in 2019 by a small enthusiastic team, to build outstanding mission of becoming professional cloud service provider.

No responses yet