{"id":2821,"date":"2022-07-16T10:00:00","date_gmt":"2022-07-16T07:00:00","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=2821"},"modified":"2022-07-13T10:00:25","modified_gmt":"2022-07-13T07:00:25","slug":"how-to-install-cpanel-whm-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-cpanel-whm-on-ubuntu-20-04\/","title":{"rendered":"How to Install cPanel\/WHM on Ubuntu 20.04"},"content":{"rendered":"\n<p>Before the installation, we need to know if we meet the minimum requirements to install cPanel &amp; WHM.<\/p>\n\n\n\n<p>Your <strong>hostname<\/strong> must meet the following requirements:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Registered and fully-qualified domain name.<\/li><li>Does not match any of your server\u2019s domains.<\/li><li>Be a maximum of 60 characters in length.<\/li><li>Resolve to a valid IPv4 or IPv6 address.<\/li><\/ul>\n\n\n\n<p><strong>Your system must meet the following requirements:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Have a valid IP address.<\/li><li>Have a valid subnet address.<\/li><li>Have a default gateway IP address.<\/li><li>Have a 1:1 NAT and NAT loopback configuration if your server resides on a NAT-configured network.<\/li><\/ul>\n\n\n\n<p><strong>Ethernet device:<br><\/strong>Your Ethernet device needs to be set up with a fully-qualified hostname and static IP address. During installation, the system will recognize and configure the Ethernet device.<\/p>\n\n\n\n<p><strong>Firewalls<\/strong><br>During the installation process, the installer will try to open the required ports. Before starting the installation of cPanel and WHM, we advise you to turn off any OS firewalls. We advise that after the installation is complete, you configure a firewall using a third-party client like APF or CSF.<\/p>\n\n\n\n<p><em>Run the commands below on Ubuntu to disable firewalls, where \/firewall.rules is the name of the firewall rules file:<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>iptables-save &gt; ~\/firewall.rules\nsystemctl stop ufw.service\nsystemctl disable ufw.service<\/code><\/pre>\n\n\n\n<p><strong>Hardware requirements<br><\/strong>Operating system and version: Ubuntu 20.04 LTS<br>Processor: Minimum: 1.1 GHz<br>RAM: Minimum: 1 GB<br>Disk Space: Minimum: 20 GB<br>Architecture: 64-bit<\/p>\n\n\n\n<p>Once you have the minimum requirements to install cPanel &amp; WHM let&#8217;s start to install them.<\/p>\n\n\n\n<p>To install cPanel &amp; WHM on your server, run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/home &amp;&amp; curl -o latest -L https:\/\/securedownloads.cpanel.net\/latest &amp;&amp; sh latest\n<\/code><\/pre>\n\n\n\n<p>The output should look like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Congratulations! Your installation of cPanel &amp; WHM 11.104 is now complete. The next step is to configure your server. \n\nBefore you configure your server, ensure that your firewall allows access on port 2087.\n\nAfter ensuring that your firewall allows access on port 2087, you can configure your server.\n\n1. Open your preferred browser\n\n2. Navigate to the following url using the address bar and enter this one-time autologin url:\n\nhttps:&#47;&#47;ipaddress.cprapid.com:2087\/cpsess1318174995\/login\/session=root%3aCu3YdDv8v1h0VGPN%3acreate_user_session%2c8214a31f4137e0ffe402579f015cc302\n\nAfter the login url expires you generate a new one using the 'whmlogin' command or manually login at:\n\nhttps:\/\/server-ip:2087\n\nVisit https:\/\/go.cpanel.net\/whminit for more information about first-time configuration of your server.\n\nVisit http:\/\/support.cpanel.net or https:\/\/go.cpanel.net\/allfaq for additional support\n\nThank you for installing cPanel &amp; WHM 11.104!<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>Let&#8217;s log into our new cPanel\/WHM Control Panel<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"514\" data-attachment-id=\"2827\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-cpanel-whm-on-ubuntu-20-04\/attachment\/screenshot-2022-07-12-at-10-17-15\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.17.15.png?fit=961%2C658&amp;ssl=1\" data-orig-size=\"961,658\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2022-07-12-at-10.17.15\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.17.15.png?fit=750%2C514&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.17.15.png?resize=750%2C514&#038;ssl=1\" alt=\"login cPanel WHM\" class=\"wp-image-2827\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.17.15.png?w=961&amp;ssl=1 961w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.17.15.png?resize=300%2C205&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.17.15.png?resize=768%2C526&amp;ssl=1 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p>Note: The login credentials are your server&#8217;s root and password.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"560\" data-attachment-id=\"2828\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-cpanel-whm-on-ubuntu-20-04\/attachment\/screenshot-2022-07-12-at-10-21-14\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.21.14.png?fit=1044%2C780&amp;ssl=1\" data-orig-size=\"1044,780\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2022-07-12-at-10.21.14\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.21.14.png?fit=750%2C560&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.21.14.png?resize=750%2C560&#038;ssl=1\" alt=\"Setup cPanel WHM\" class=\"wp-image-2828\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.21.14.png?resize=1024%2C765&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.21.14.png?resize=300%2C224&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.21.14.png?resize=768%2C574&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.21.14.png?w=1044&amp;ssl=1 1044w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p>You need to ask for a free cPanel license, visit their store.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"519\" data-attachment-id=\"2829\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-cpanel-whm-on-ubuntu-20-04\/attachment\/screenshot-2022-07-12-at-10-28-06\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.28.06.png?fit=1008%2C698&amp;ssl=1\" data-orig-size=\"1008,698\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2022-07-12-at-10.28.06\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.28.06.png?fit=750%2C519&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.28.06.png?resize=750%2C519&#038;ssl=1\" alt=\"cPanel WHM trial license\" class=\"wp-image-2829\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.28.06.png?w=1008&amp;ssl=1 1008w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.28.06.png?resize=300%2C208&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-12-at-10.28.06.png?resize=768%2C532&amp;ssl=1 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Before the installation, we need to know if we meet the minimum requirements to install cPanel &amp; WHM. Your hostname must meet the following requirements: Registered and fully-qualified domain name. Does not match any of your server\u2019s domains. Be a maximum of 60 characters in length. Resolve to a valid<\/p>\n","protected":false},"author":8,"featured_media":2830,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Tutorial on how to install cPanel\/WHM on Ubuntu 20.04.\n\n\n#cpanel #whm #ubuntu #admin #developer #web #tutorial","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3,5],"tags":[161,159,157,158,162,163,160],"class_list":["post-2821","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial-how-to","category-knowledgebase","tag-cpanel-requirements","tag-cpanel-ubuntu","tag-install-cpanel","tag-install-whm","tag-whm","tag-whm-requirements","tag-whm-ubuntu"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/maxresdefault.jpeg?fit=1280%2C720&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-Jv","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":903,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-and-configure-csf-config-server-firewall-on-centos-7\/","url_meta":{"origin":2821,"position":0},"title":"How to Install and Configure CSF (Config Server Firewall) on CentOS 7","author":"Daniel Draga","date":"April 11, 2017","format":false,"excerpt":"ConfigServe Firewall, also known as CSF, is a firewall configuration script created to provide better security for your server while giving you an easy to use, an advanced interface for managing your firewall settings. CSF configures your server\u2019s firewall to lock down public access to services and only allow certain\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":714,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/tips-to-make-your-server-secure\/","url_meta":{"origin":2821,"position":1},"title":"Tips To Make your Server Secure","author":"Daniel Draga","date":"October 21, 2016","format":false,"excerpt":"Use secure password \u2022 Insecure passwords are the most common security vulnerability. > Use minimum 8 character passwords with alphanumeric ,grammatical symbols, etc Never use a significant date and dictionary words. \u2022Secure SSH Move SSH access to a different port to deter anyone without specific knowledge of your server from\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/10\/secure-server.jpg?fit=504%2C260&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2857,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/install-ispmanager-on-ubuntu-20-04\/","url_meta":{"origin":2821,"position":2},"title":"Install ISPmanager on Ubuntu 20.04","author":"George B.","date":"July 19, 2022","format":false,"excerpt":"What is ISPmanager? ISPmanager is well-known as a commercial back-end dashboard built on Linux. The panel was created in 1997, and its functionality is comparable to those of other panels like cPanel or Plesk. Like other control panels, ISPmanager offers capabilities for managing websites, creating users, managing domains, emails, databases,\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-15-at-11.41.16.png?fit=694%2C607&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-15-at-11.41.16.png?fit=694%2C607&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-15-at-11.41.16.png?fit=694%2C607&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":649,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-cpanel-on-centos-server\/","url_meta":{"origin":2821,"position":3},"title":"HOW TO INSTALL cPANEL ON CENTOS SERVER","author":"Daniel Draga","date":"September 28, 2016","format":false,"excerpt":"If you've come here from this article, great! if not do check it out and compare Web Panels, before settling for one. So if you've already decided lets begin! cPanel is a linux based web hosting control panel with a graphical interface for managing web hosting accounts.It can help ease\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/09\/xRzG9FjZ.png?fit=400%2C400&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":629,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/advantages-of-using-a-web-hosting-control-panel\/","url_meta":{"origin":2821,"position":4},"title":"Comparing Web Hosting Control Panel","author":"Daniel Draga","date":"September 16, 2016","format":false,"excerpt":"Gone are the days, when we used to bash our heads on the keyboards in order to manage our web domains, database management, E-mails, backups, FTPs, with the introduction of the user friendly web panels, integrated with awesome looking GUIs, all we needed to do was just a few clicks\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/09\/centos-web-panel-1.jpg?fit=609%2C469&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/09\/centos-web-panel-1.jpg?fit=609%2C469&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/09\/centos-web-panel-1.jpg?fit=609%2C469&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3730,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-directadmin-on-ubuntu-22-04\/","url_meta":{"origin":2821,"position":5},"title":"How to install DirectAdmin on Ubuntu 22.04","author":"George B.","date":"August 8, 2023","format":false,"excerpt":"DirectAdmin is an incredibly efficient and user-friendly web hosting control panel. It offers a graphical interface and automation tools designed to simplify the process of hosting a website. This tutorial will guide you through the process of installing DirectAdmin on Ubuntu 22.04. The steps are detailed, clear, and easy to\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-install-DirectAdmin-on-Ubuntu.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/2821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=2821"}],"version-history":[{"count":2,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/2821\/revisions"}],"predecessor-version":[{"id":2852,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/2821\/revisions\/2852"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/2830"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=2821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=2821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=2821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}