1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

[HowTo] Install cPanel/WHM on VPS

Discussion in 'Site & Server Administration' started by HostWinds_Jesse, May 31, 2016.

  1. #1
    If you are unsure of how to install cPanel or just want to know how it works I'll show you the simplest way to install cPanel. Now keep in mind that cPanel is not free, if you have not already purchased a license this installer will work but give you a 15-day trial. Most likely you will be able to purchase a cPanel license from your web host at a monthly or yearly rate. So, lets go over the most basic way to install cPanel/WHM on your server. We will use centOS 7 64bit as our operating system of choice as centOS is one of the most popular templates.

    In order to install cPanel/WHM you will need the basic server requirements.
    • centOS 6.5 (32 or 64 bit) or 7 (only 64 bit)
    • Minimum 1 GB of RAM
    • Recommended 2 GB of RAM
    • Minimum 20 GB of Disk Space
    • Recommended 40 GB of Disk Space
    Now that we have all the proper requirements we can start cookin'.

    Assuming you have connected to your server as root via SSH. You will need to first update your system.
    yum update
    Code (markup):
    Next you will want to reboot your system. (you don't have to but its best to start fresh)
    reboot
    Code (markup):
    Once you are back into SSH and logged in as root. We will start the install. This will grab the latest version of cPanel and install in your home directory.
    cd/home&& curl -o latest -L https://securedownloads.cpanel.net/latest&& sh latest
    Code (markup):
    The installer can take up to a day to complete. Mine has never taken more than 30 minutes of my boring life. Once the installer has finished you can navigate to "h tt ps://12.34.56.78:2087" (replace the 12.34.56.78 with your server ip address). You will most likely get an SSL Certificate error, which you can skip at the bottom. When prompt, Login with username 'root' and password is your 'root' password.

    And boom you now have a brand spankin' new install of cPanel/WHM. Remember if you don't have a purchased license pointing towards you server IP, you will only have a 15-day trial.
     
    HostWinds_Jesse, May 31, 2016 IP
  2. 24x7servermanagement

    24x7servermanagement Greenhorn

    Messages:
    18
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    23
    #2
    Just to add more on this. In case if you are getting "Fatal! Perl must be installed before proceeding!" , Install Perl using yum from command line.

    yum install perl
    Code (markup):
     
    24x7servermanagement, Jun 10, 2016 IP