How to install Cpanel

Publish : 2022 May 25 973 view Cat : AVANETCO + Cpanel
install cpanel
5/5 - (2 votes)

cpanel is one of the most preferred control panels on linux for system administrators , that’s why we are going to cover how to install Cpanel on Linux. so let’s start 🙂

before we dive into installation process there are some prerequisites to consider:

  1. in order to use Cpanel your server must have an public IP.
  2. once you install Cpanel on a server there is no way to remove it and in order to delete from server you should reset the whole os.
  3. to install cpanel on a server no configurations should be present in other words on a zero touch server
  4. each license can be installed on one server

server hardware specifications should match the table below

install cpanel

so lets start installation

first we should set a hostname for our server and this name should be seen and ping through internet

before starting to install it is best to disable firewall and selinux and then config it with APF later.

systemctl stop firewalld.service

systemctl disable firewalld.service

and to stop selinux edit the following file and change the highlighted parameter to disable

nano /etc/selinux/config
install centos on linux

now reboot ther server

now connect to server again and download cpanel package

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

you can change the path /home to any directory you want. after the automatic installation is done your server should be accessible by the address below:

http://SERVER_IP:2087

you can use server domain name or ip and port number 2087 is for admin panel and port 2083 for clients web access.