{"id":28815,"date":"2018-10-23T03:31:53","date_gmt":"2018-10-23T08:31:53","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=28815"},"modified":"2022-12-15T07:16:13","modified_gmt":"2022-12-15T13:16:13","slug":"install-cpanel-whm-centos-7","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/","title":{"rendered":"How to Install cPanel and WHM on CentOS 7"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><figure id=\"attachment_28863\" aria-describedby=\"caption-attachment-28863\" style=\"width: 732px\" class=\"wp-caption alignnone\"><img decoding=\"async\" class=\"wp-image-28863 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-cPanel-on-CentOS-7.jpg\" alt=\"How to Install cPanel on CentOS 7\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-cPanel-on-CentOS-7.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-cPanel-on-CentOS-7-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-cPanel-on-CentOS-7-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><figcaption id=\"caption-attachment-28863\" class=\"wp-caption-text\">How to Install cPanel on CentOS 7<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-28862\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-cpanel-in-centos-7.jpg\" alt=\"\" width=\"79\" height=\"48\" \/>cPanel is the most popular and most widely-used control panel for managing and automating web hosting tasks. It is the world&#8217;s most intuitive and user-friendly control panel, with a very simple and straight-to-the-point graphical interface. cPanel is a Linux-based web hosting control panel, that utilizes a 3 tier structure for system administrators, resellers and end-user website owners, all via a web-browser. Other than the beautiful user interface, cPanel has command line access and API-based access for third-party software integration, for web hosting providers or developers and administrators to automate their system administration processes. In this tutorial, we will show you <strong>how to install WHM\u00a0 and cPanel on CentOS 7<\/strong>.<\/p>\n<h4><!--more-->cPanel Installation Requirements<\/h4>\n<ul>\n<li>CentOS 7 VPS<\/li>\n<li>Minimum of 1GB RAM (2GB RAM is recommended)<\/li>\n<li>Minimum 20GB disk space (40GB recommended)<\/li>\n<li>cPanel license (there is also 15 day trial period which gets activated as soon as the installation is complete)<\/li>\n<\/ul>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d64de9164e1\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d64de9164e1\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#Installation-of-cPanel-in-CentOS-7\" >Installation of cPanel in CentOS 7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#1-Connect-to-your-server\" >1. Connect to your server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#2-WHMcPanel-installation\" >2. WHM\/cPanel installation<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Installation-of-cPanel-in-CentOS-7\"><\/span>Installation of cPanel in CentOS 7<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"1-Connect-to-your-server\"><\/span>1. Connect to your server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, you need to connect to your server via SSH.<\/p>\n<p>To connect to your server via SSH as user root, use the following command:<\/p>\n<pre>ssh root@IP_ADDRESS -p PORT_NUMBER<\/pre>\n<p>and replace &#8220;IP_ADDRESS&#8221; and &#8220;PORT_NUMBER&#8221; with your actual server IP address and SSH port number.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"2-WHMcPanel-installation\"><\/span>2. WHM\/cPanel installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Cpanel is written in Perl, so before we start the installation you must make sure that you have Perl installed on your server.<\/p>\n<p>To install Perl in your server, run the following command:<\/p>\n<pre>yum install perl<\/pre>\n<p>WHM\/cPanel also requires that the hostname of your server is a Fully Qualified Domain Name (FQDN) that does not match any of your server&#8217;s domains. In our example, we will set the hostname of our server to host.mydomain.com (you can replace mydomain.com with your actual domain name). To change the hostname of your server you can use the following command:<\/p>\n<pre>hostnamectl set-hostname host.mydomain.com<\/pre>\n<p>To download the cPanel installation script you will need to use the cURL command. If cURL is not present on your server you can install it with the following command:<\/p>\n<pre>yum install curl<\/pre>\n<p>Before you download the script, let&#8217;s change your current directory to \/home with the following command:<\/p>\n<pre>cd \/home<\/pre>\n<p>You can now download the latest version of cPanel &amp; WHM with:<\/p>\n<pre>curl -o latest -L https:\/\/securedownloads.cpanel.net\/latest<\/pre>\n<p>To start the installation, execute the following command:<\/p>\n<pre>sh latest<\/pre>\n<p>You should see the following output on your screen, indicating that the installation has been started:<\/p>\n<pre>Verifying archive integrity... All good.\r\nUncompressing cPanel &amp; WHM Installer......\r\n____ _\r\n___| _ \\ __ _ _ __ ___| |\r\n\/ __| |_) \/ _` | '_ \\ \/ _ \\ |\r\n| (__| __\/ (_| | | | | __\/ |\r\n\\___|_| \\__,_|_| |_|\\___|_|\r\n\r\nInstaller Version v00080 rfaafe3bcf5b92fd14d1cb80357765325dd0f351a\r\n\r\nBeginning main installation.<\/pre>\n<p>The installation process may take up to 30 minutes. After the installation is complete, you may be asked to reboot your server. The following output will be displayed on your screen:<\/p>\n<pre>cPanel install finished in 17 minutes and 44 seconds!\r\n2018-10-19 13:08:18 1195 ( INFO): Congratulations! Your installation of cPanel &amp; WHM 11.74 is now complete. The next step is to configure your server.\r\n2018-10-19 13:08:18 1195 ( INFO):\r\n2018-10-19 13:08:18 1195 ( INFO): Before you configure your server, ensure that your firewall allows access on port 2087.\r\n2018-10-19 13:08:18 1195 ( INFO): On RHEL, CentOS, and CloudLinux systems, execute \/scripts\/configure_firewall_for_cpanel to accomplish this.\r\n2018-10-19 13:08:18 1195 ( INFO):\r\n2018-10-19 13:08:18 1195 ( INFO): After ensuring that your firewall allows access on port 2087, you can configure your server.\r\n2018-10-19 13:08:18 1195 ( INFO):\r\n2018-10-19 13:08:18 1195 ( INFO): 1. Open your preferred browser\r\n2018-10-19 13:08:18 1195 ( INFO):\r\n2018-10-19 13:08:18 1195 ( INFO): 2. Type https:\/\/1.2.3.4:2087 in the address bar\r\n2018-10-19 13:08:18 1195 ( INFO):\r\n2018-10-19 13:08:18 1195 ( INFO): 3. Enter the word root in the Username text box\r\n2018-10-19 13:08:18 1195 ( INFO):\r\n2018-10-19 13:08:18 1195 ( INFO): 4. Enter your root password in the Password text box\r\n2018-10-19 13:08:18 1195 ( INFO):\r\n2018-10-19 13:08:18 1195 ( INFO): 5. Click the Login button\r\n2018-10-19 13:08:18 1195 ( INFO):\r\n2018-10-19 13:08:18 1195 ( INFO): Visit https:\/\/go.cpanel.net\/whminit for more information about first-time configuration of your server.\r\n2018-10-19 13:08:18 1195 ( INFO):\r\n2018-10-19 13:08:18 1195 ( INFO): Visit http:\/\/support.cpanel.net or https:\/\/go.cpanel.net\/whmfaq for additional support\r\n2018-10-19 13:08:18 1195 ( INFO):\r\n2018-10-19 13:08:18 1195 ( INFO): Thank you for installing cPanel &amp; WHM 11.74!<\/pre>\n<p>You can now open your browser and navigate to https:\/\/your-server-ip:2087<\/p>\n<p>This will give you access to WHM (Web Host Manager) from where you can finish the installation in your browser. WHM is a web hosting manager that allows administrative access so you can manage every cPanel hosting account on your server.<\/p>\n<p>With WHM you can create cPanel user accounts, manage them, establish pricing tiers, monitor the services running on the server and the server resources, generate user backups, transfer data between WHM hosts, and more.<\/p>\n<p>To log in, enter &#8220;root&#8221; as username and use your root password.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28853\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/centos-cpanel-install.png\" alt=\"centos cpanel install\" width=\"359\" height=\"371\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/centos-cpanel-install.png 359w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/centos-cpanel-install-145x150.png 145w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/centos-cpanel-install-290x300.png 290w\" sizes=\"(max-width: 359px) 100vw, 359px\" \/><\/p>\n<p>Once logged in, you need to read the cPanel and WHM\u00a0<strong>End User License Agreement <\/strong>and then click on<strong> I Agree\/Go to Step 2\u00a0<\/strong>to proceed to the next step.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28854\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-cpanel-on-centos.jpg\" alt=\"how to install cpanel on centos\" width=\"650\" height=\"554\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-cpanel-on-centos.jpg 650w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-cpanel-on-centos-150x128.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-cpanel-on-centos-300x256.jpg 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/p>\n<p>You will be taken to the <strong>Set Up Networking\u00a0<\/strong>part of the configuration. Here you will need to enter your contact information.\u00a0 Enter your email address in the <strong>Server Contact Email Address<\/strong> field. In the <strong>Hostname<\/strong> section, you will also be able to enter a new hostname.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28855\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-whm-centos-7.jpg\" alt=\"install cpanel whm centos 7\" width=\"650\" height=\"516\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-whm-centos-7.jpg 650w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-whm-centos-7-150x119.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-whm-centos-7-300x238.jpg 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/p>\n<p>In the <strong>Resolvers\u00a0<\/strong>section, cPanel will automatically detect and fill in the details with the resolvers provided by your internet service provider. If your ISP does not have DNS resolvers, you can use Google&#8217;s public DNS resolvers. The last section lets you choose the\u00a0<strong>Main Network or Ethernet Device<\/strong>. After you are done, you can click on <strong>Save and Go to Step 3<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28856\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/centos-7-cpanel-install.jpg\" alt=\"centos 7 cpanel install\" width=\"563\" height=\"655\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/centos-7-cpanel-install.jpg 563w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/centos-7-cpanel-install-129x150.jpg 129w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/centos-7-cpanel-install-258x300.jpg 258w\" sizes=\"(max-width: 563px) 100vw, 563px\" \/><\/p>\n<p>In Step 3, you will be able to set your server&#8217;s main IP address. You can also add additional IPs if you have more than one IP address assigned to your server. Once you are done with this step, you can click on <strong>Go to Step 4<\/strong>.<\/p>\n<p>In Step 4, you can choose your <strong>Nameserver Configuration.\u00a0<\/strong>There are multiple options available and you can check the advantages and disadvantages of each of them. It is recommended that you\u00a0choose the <strong>BIND<\/strong> name server option. If you do not want to have DNS server on your VPS you can choose the Disabled option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28857\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-centos.jpg\" alt=\"install cpanel centos\" width=\"550\" height=\"325\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-centos.jpg 550w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-centos-150x89.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-centos-300x177.jpg 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>If you scroll down, you will also be able to enter the nameservers that will be assigned to your server (for example ns1.mydomain.com\/ns2.mydomain.com).\u00a0 In the end, you will need to check the <strong>Add &#8220;A Entries&#8221; for Hostname<\/strong> checkbox and enter your server IP address. When you are done, click on <strong>Save and Go to Step 5<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28858\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-cpanel-on-centos-7.jpg\" alt=\"installing cpanel on centos 7\" width=\"550\" height=\"444\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-cpanel-on-centos-7.jpg 550w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-cpanel-on-centos-7-150x121.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-cpanel-on-centos-7-300x242.jpg 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>In the next step, you can choose which FTP server you would like to use on your server. The recommended option is <strong>Pure-FTPD,\u00a0<\/strong>but if you want to use an FTP server you can choose the Disabled option. You can also enable and configure the <strong>cPHulk Brute Force Protection<\/strong> on this page.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28859\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-centos-7.jpg\" alt=\"install cpanel centos 7\" width=\"500\" height=\"418\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-centos-7.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-centos-7-150x125.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-cpanel-centos-7-300x251.jpg 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>And finally, on the last step, you will be able to choose to enable file system quotas or not. If you want to be able to track the amount of disk space used by individual users, you should make sure that file system quotas are enabled. To finish the initial configuration click on the <strong>Finish<\/strong> button.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28860\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Installation-of-cPanel-in-CentOS-7.jpg\" alt=\"Installation of cPanel in CentOS 7\" width=\"550\" height=\"331\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Installation-of-cPanel-in-CentOS-7.jpg 550w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Installation-of-cPanel-in-CentOS-7-150x90.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Installation-of-cPanel-in-CentOS-7-300x181.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/Installation-of-cPanel-in-CentOS-7-440x264.jpg 440w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>You can now access the main WHM home page. If you already have a valid cPanel license and it is not yet activated on your server, you can log back to your server via SSH and run the following command:<\/p>\n<pre>\/usr\/local\/cpanel\/cpkeyclt\r\n<\/pre>\n<p>And that&#8217;s it. WHM\/cPanel has now been installed on your server. For more information about cPanel, its features, and configuration,\u00a0\u00a0you can check the official cPanel documentation page.<\/p>\n<p><!--more--><\/p>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-28861\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/cpanel-installation-on-centos-7.jpg\" alt=\"cpanel installation on centos 7\" width=\"237\" height=\"50\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/cpanel-installation-on-centos-7.jpg 237w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/cpanel-installation-on-centos-7-150x32.jpg 150w\" sizes=\"(max-width: 237px) 100vw, 237px\" \/>Of course, you don\u2019t have to\u00a0<strong>Install cPanel on CentOS 7<\/strong> if you use one of our <a href=\"https:\/\/www.rosehosting.com\/cpanel-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">cPanel hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Install cPanel on CentOS 7, for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span>\u00a0If you liked this post, on<strong>\u00a0Installing cPanel on CentOS 7<\/strong>,\u00a0 please share it with your friends on the social networks using the buttons below or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; cPanel is the most popular and most widely-used control panel for managing and automating web hosting tasks. It is &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install cPanel and WHM on CentOS 7\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#more-28815\" aria-label=\"Read more about How to Install cPanel and WHM on CentOS 7\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":28863,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,13],"tags":[34,46,678],"class_list":["post-28815","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-tutorials","tag-centos","tag-cpanel","tag-whm","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install cPanel and WHM on CentOS 7 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install cPanel and WHM on CentOS 7 | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install cPanel and WHM on CentOS 7\" \/>\n<meta property=\"og:description\" content=\"How to Install cPanel and WHM on CentOS 7 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-23T08:31:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-15T13:16:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-cPanel-on-CentOS-7.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install cPanel and WHM on CentOS 7\",\"datePublished\":\"2018-10-23T08:31:53+00:00\",\"dateModified\":\"2022-12-15T13:16:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/\"},\"wordCount\":1092,\"commentCount\":7,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-cPanel-on-CentOS-7.jpg\",\"keywords\":[\"centos\",\"cPanel\",\"WHM\"],\"articleSection\":[\"CentOS\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/\",\"name\":\"How to Install cPanel and WHM on CentOS 7 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-cPanel-on-CentOS-7.jpg\",\"datePublished\":\"2018-10-23T08:31:53+00:00\",\"dateModified\":\"2022-12-15T13:16:13+00:00\",\"description\":\"How to Install cPanel and WHM on CentOS 7 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-cPanel-on-CentOS-7.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-cPanel-on-CentOS-7.jpg\",\"width\":742,\"height\":372,\"caption\":\"How to Install cPanel on CentOS 7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-cpanel-whm-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install cPanel and WHM on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install cPanel and WHM on CentOS 7 | RoseHosting","description":"How to Install cPanel and WHM on CentOS 7 | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to Install cPanel and WHM on CentOS 7","og_description":"How to Install cPanel and WHM on CentOS 7 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2018-10-23T08:31:53+00:00","article_modified_time":"2022-12-15T13:16:13+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-cPanel-on-CentOS-7.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install cPanel and WHM on CentOS 7","datePublished":"2018-10-23T08:31:53+00:00","dateModified":"2022-12-15T13:16:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/"},"wordCount":1092,"commentCount":7,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-cPanel-on-CentOS-7.jpg","keywords":["centos","cPanel","WHM"],"articleSection":["CentOS","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/","url":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/","name":"How to Install cPanel and WHM on CentOS 7 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-cPanel-on-CentOS-7.jpg","datePublished":"2018-10-23T08:31:53+00:00","dateModified":"2022-12-15T13:16:13+00:00","description":"How to Install cPanel and WHM on CentOS 7 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-cPanel-on-CentOS-7.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-cPanel-on-CentOS-7.jpg","width":742,"height":372,"caption":"How to Install cPanel on CentOS 7"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-cpanel-whm-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install cPanel and WHM on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/28815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=28815"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/28815\/revisions"}],"predecessor-version":[{"id":44304,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/28815\/revisions\/44304"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/28863"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=28815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=28815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=28815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}