How to install cPanel on VPS/Dedicated server

May 5, 2020


OS that cPanel supported is CentOS, Cloudlinux and redhat

System Requirement: see here

We recommend that you run the installation command within a Linux screen session. The Linux screen command allows you to create a shell session that will stay active through a network disruption.

  1. To determine whether your operating system contains screen and it exists in your path, run the which screen command. The system will return /usr/bin/screen if screen exists on your system and whether it exists in your path.
    • If your system does not contain screen, you can install it with the yum install screen command.
    • To run a screen session, enter the screen command. Then, run the installation command.
  2. If your session disconnects for some reason, log back in to your server and run the screen -r command. This will reconnect you to your screen session.

To install cPanel & WHM on your server, run the following command:

cd /home && curl -o latest -L && sh latest

This command changes your session to the home directory, downloads the latest version of cPanel & WHM, and runs the installation script.

Done! you have installed cPanel. just enter your IP with port 2087 to use it.ex: or the host name you choose during install. ex : exampledomain.tld:2087

MyHBD is one of the world best VPS provider so you can get VPS that start at just $ 4.99 per month to get hosting your websites. see plans

0 0 votes
Rate to this article
Sepehr Vaez Afshar
Notify of
Inline Feedbacks
View all comments

MyHBD is a registered Company in The Netherland

Fazantstraat 155A, 7523 DP, Enschede , The netherland

VAT (btw-id)#NL004552293B05

Chamber of Commerce#88189090

Cloud VPS

© 2018-2024 Copyright, All Right Reserved.

Would love your thoughts, please comment.x