How to Install cPanel and WHM in CentOS 7

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

19 Responses

  1. Arindom Sil says:

    Sir,

    I understand this but what are the prerequisites in order to install this cpanel ? I mean to say that what next steps I need to do after just installing a fresh server centos 7? What are the hidden steps between fresh server minimal installation and cPanel installation?

    I want to know full step by step sequences of installing process prior to cPanel Installation

    • Ravi Saive says:

      @Arindom,

      These are the requirements for installing Cpanel:

      • A fresh minimal install CentOS or RHEL
      • A registered fully-qualified hostname
      • A properly-configured Ethernet device with a static IP address
      • You must disable OS firewalls and Network managers before you run the cPanel installation.
      • Arindom Sil says:

        What other softwares needed to be pre installed like apache, php mysql, etc etc..I need to know about software applications required before installing cPanel whm in sequence

  2. Ayush says:

    Thanks for the great article But I want more help from you,

  3. Adam says:

    Is there a tutorial to harden your CentOS7 WHM server?

  4. Kh Sharif says:

    Dear Brother. Thanks.

    The installation that you have shown for CentOS-7. Can you show me the installation process in RHEL-7??

  5. Scott White says:

    Hello,

    Anyone else get “Errno 256 – No more mirrors to try” after setting the FQDN? I noticed yum worked until I set the FQDN. So far no luck in resolving it. If someone could help that would be awesome, likewise if I get it, I will post it in case anyone else has the same problem. :-D

  6. abisekh pattnaik says:

    How can I downgrade MySQL version from 5.7 to 5.6, can you help me ??

  7. anshoo says:

    1. Can we disable button option for new subdomain registration from cpanel cli script in /usr/local/cpanel/scripts folder?
    2. can we disable mod_security from cpanel cli in /usr/local/cpanel/scripts folder?

  8. Murat Çelebiler says:

    Hello,

    I did all the work. I use vagrant. I don’t access https://ip adress:2087. I don’t insert virtualhost code in httpd.conf. Can you help me?

    • Aaron Kili says:

      @Murat

      As you can see from the article, there is no step for inserting any virtualhost config in httpd.conf file, everything is setup by the cpanel installer. You can consult the vagrant documentation for any help.

  9. dude says:

    systemctl set-hostname cpanel.tecmint.lan
    systemctl??????

    wtf???

  10. Sarfaraz shaikh says:

    How did you manage to install in private ip. After installation you need to verify your domain, How did you mangae it

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.