{"id":1738,"date":"2026-07-15T15:41:01","date_gmt":"2026-07-15T10:11:01","guid":{"rendered":"https:\/\/nivohost.com\/blog\/?p=1738"},"modified":"2026-07-15T15:45:00","modified_gmt":"2026-07-15T10:15:00","slug":"how-to-install-cpanel","status":"publish","type":"post","link":"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/","title":{"rendered":"How To Install Cpanel"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #001033;color:#001033\" 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: #001033;color:#001033\" 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><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Install_cPanel_on_a_VPS_or_Dedicated_Server\" >Install cPanel on a VPS or Dedicated Server<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Introduction\" >Introduction<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#What_Is_cPanel\" >What Is cPanel?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Why_Choose_cPanel\" >Why Choose cPanel?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Get_Hosting_Only_1Month\" >Get Hosting Only $1\/Month<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#System_Requirements\" >System Requirements<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Step_1_Connect_to_Your_Server\" >Step 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-8\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Step_2_Update_Your_Server\" >Step 2: Update Your Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Step_3_Set_the_Server_Hostname\" >Step 3: Set the Server Hostname<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Step_4_Disable_NetworkManager_If_Required\" >Step 4: Disable NetworkManager (If Required)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Step_5_Download_the_cPanel_Installer\" >Step 5: Download the cPanel Installer<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Step_6_Run_the_Installation_Script\" >Step 6: Run the Installation Script<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Step_7_Access_WHM\" >Step 7: Access WHM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Step_8_Complete_the_Initial_Configuration\" >Step 8: Complete the Initial Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Step_9_Create_Your_First_cPanel_Account\" >Step 9: Create Your First cPanel Account<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Step_10_Secure_Your_Server\" >Step 10: Secure Your Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Verify_Your_Installation\" >Verify Your Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Common_Installation_Issues\" >Common Installation Issues<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Installer_Stops_Unexpectedly\" >Installer Stops Unexpectedly<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#License_Errors\" >License Errors<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Unable_to_Access_WHM\" >Unable to Access WHM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Hostname_Warnings\" >Hostname Warnings<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Best_Practices_After_Installing_cPanel\" >Best Practices After Installing cPanel<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/nivohost.com\/blog\/how-to-install-cpanel\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_cPanel_on_a_VPS_or_Dedicated_Server\"><\/span>Install cPanel on a VPS or Dedicated Server<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Introduction\"><\/span>Introduction<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Managing a web server through the command line can be challenging, especially for beginners. Tasks like creating websites, managing email accounts, configuring databases, and handling backups often require technical expertise. This is where cPanel simplifies server management.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cPanel is one of the world&#8217;s most popular web hosting control panels, offering a user-friendly interface that makes managing websites and servers much easier. Whether you&#8217;re launching a personal blog, hosting multiple business websites, or managing client accounts, cPanel provides powerful tools to streamline server administration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this guide, you&#8217;ll learn how to install cPanel on a VPS or dedicated server, configure the initial settings, and prepare your server for hosting websites.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Is_cPanel\"><\/span>What Is cPanel?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">cPanel is a Linux-based web hosting control panel that allows users to manage websites, domains, email accounts, databases, DNS records, SSL certificates, and server settings through an intuitive graphical interface.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When paired with WHM (Web Host Manager), cPanel becomes a complete hosting management solution. WHM allows server administrators to create hosting accounts, manage server resources, configure security settings, and oversee multiple cPanel accounts from a single dashboard.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because of its ease of use and extensive features, cPanel is trusted by hosting providers, web developers, and businesses around the world.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Choose_cPanel\"><\/span>Why Choose cPanel?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before installing cPanel, it&#8217;s helpful to understand why it has become the industry standard for web hosting management.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some of its key advantages include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Easy-to-use graphical interface<\/li>\n\n\n\n<li>Comprehensive website management tools<\/li>\n\n\n\n<li>Integrated email management<\/li>\n\n\n\n<li>One-click SSL certificate installation<\/li>\n\n\n\n<li>Advanced DNS management<\/li>\n\n\n\n<li>Automated backups<\/li>\n\n\n\n<li>Multi-account hosting with WHM<\/li>\n\n\n\n<li>Extensive documentation and community support<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These features make cPanel suitable for beginners and experienced server administrators alike.<\/p>\n\n\n\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"9\" class=\"elementor elementor-9\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1b00358 e-flex e-con-boxed e-con e-parent\" data-id=\"1b00358\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-7d5a833 e-con-full e-flex e-con e-child\" data-id=\"7d5a833\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2e96bdb elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"2e96bdb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-server\" viewBox=\"0 0 512 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M480 160H32c-17.673 0-32-14.327-32-32V64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm112 248H32c-17.673 0-32-14.327-32-32v-64c0-17.673 14.327-32 32-32h448c17.673 0 32 14.327 32 32v64c0 17.673-14.327 32-32 32zm-48-88c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-64 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24z\"><\/path><\/svg>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-25533e8 e-con-full e-flex e-con e-child\" data-id=\"25533e8\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ced65c1 elementor-widget elementor-widget-heading\" data-id=\"ced65c1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><span class=\"ez-toc-section\" id=\"Get_Hosting_Only_1Month\"><\/span>Get Hosting Only $1\/Month<span class=\"ez-toc-section-end\"><\/span><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-0214c4b e-con-full e-flex e-con e-child\" data-id=\"0214c4b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-cc622f1 elementor-mobile-align-center elementor-widget elementor-widget-button\" data-id=\"cc622f1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/nivohost.com\/web-hosting\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">View Hosting Plans<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"System_Requirements\"><\/span>System Requirements<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before starting the installation, ensure your server meets the following requirements:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A freshly installed VPS or dedicated server<\/li>\n\n\n\n<li>AlmaLinux, Rocky Linux, or CloudLinux (recommended)<\/li>\n\n\n\n<li>Root access to the server<\/li>\n\n\n\n<li>Minimum 2 GB RAM (4 GB or more recommended)<\/li>\n\n\n\n<li>At least 20 GB of available disk space<\/li>\n\n\n\n<li>A valid hostname configured on the server<\/li>\n\n\n\n<li>Stable internet connection<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Important:<\/strong> cPanel should be installed only on a clean operating system. Installing it on a server already running Apache, Nginx, MySQL, or other hosting software may cause conflicts.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Connect_to_Your_Server\"><\/span>Step 1: Connect to Your Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use SSH to log in as the root user.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh root@your_server_ip\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>your_server_ip<\/code> with your server&#8217;s public IP address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once connected, verify that you have root privileges before continuing.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Update_Your_Server\"><\/span>Step 2: Update Your Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Updating your operating system ensures you have the latest security patches and software packages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For AlmaLinux or Rocky Linux:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dnf update -y\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After the update completes, reboot the server if required.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reboot\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Reconnect to the server once it has restarted.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Set_the_Server_Hostname\"><\/span>Step 3: Set the Server Hostname<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">cPanel requires a fully qualified domain name (FQDN) as the server hostname.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server.example.com\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Set the hostname using:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostnamectl set-hostname server.example.com\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Replace the example with your actual hostname.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Verify the hostname:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostname\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A properly configured hostname helps prevent installation and email delivery issues later.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Disable_NetworkManager_If_Required\"><\/span>Step 4: Disable NetworkManager (If Required)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On some operating systems, cPanel recommends disabling NetworkManager.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl stop NetworkManager\nsystemctl disable NetworkManager\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Your server documentation will indicate whether this step is necessary for your operating system.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Download_the_cPanel_Installer\"><\/span>Step 5: Download the cPanel Installer<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to the home directory.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/home\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Download the official installation script.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -o latest -L https:\/\/securedownloads.cpanel.net\/latest\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The installer is always updated automatically, ensuring you receive the latest stable version.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_6_Run_the_Installation_Script\"><\/span>Step 6: Run the Installation Script<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Start the installation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sh latest\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The installation process may take between 30 and 90 minutes, depending on your server specifications and internet connection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">During installation, cPanel automatically installs and configures essential services, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Apache Web Server<\/li>\n\n\n\n<li>PHP<\/li>\n\n\n\n<li>MariaDB<\/li>\n\n\n\n<li>Exim Mail Server<\/li>\n\n\n\n<li>Dovecot<\/li>\n\n\n\n<li>FTP services<\/li>\n\n\n\n<li>DNS server<\/li>\n\n\n\n<li>WHM<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Allow the installation to complete without interruption.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_7_Access_WHM\"><\/span>Step 7: Access WHM<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After installation finishes, open your web browser and visit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;your_server_ip:2087\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Or use your server hostname:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;server.example.com:2087\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Log in using:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Username: <code>root<\/code><\/li>\n\n\n\n<li>Password: Your root password<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The WHM setup wizard will guide you through the initial server configuration.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_8_Complete_the_Initial_Configuration\"><\/span>Step 8: Complete the Initial Configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The setup wizard allows you to configure essential settings, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Contact email address<\/li>\n\n\n\n<li>Nameservers<\/li>\n\n\n\n<li>Networking preferences<\/li>\n\n\n\n<li>Service configuration<\/li>\n\n\n\n<li>Security settings<\/li>\n\n\n\n<li>License activation<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Take time to review each option carefully before proceeding.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_9_Create_Your_First_cPanel_Account\"><\/span>Step 9: Create Your First cPanel Account<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Inside WHM:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <strong>Account Functions<\/strong>.<\/li>\n\n\n\n<li>Select <strong>Create a New Account<\/strong>.<\/li>\n\n\n\n<li>Enter your domain name.<\/li>\n\n\n\n<li>Create a username and password.<\/li>\n\n\n\n<li>Choose a hosting package.<\/li>\n\n\n\n<li>Click <strong>Create<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Once complete, you can log in to the cPanel interface for that hosting account.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_10_Secure_Your_Server\"><\/span>Step 10: Secure Your Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After installation, improving server security should be a priority.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Nivohost offer managed cpanel services or cpanel setup service at just $10 with best security setups<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Recommended tasks include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Configure the firewall<\/li>\n\n\n\n<li>Enable automatic updates<\/li>\n\n\n\n<li>Install an SSL certificate<\/li>\n\n\n\n<li>Enable two-factor authentication<\/li>\n\n\n\n<li>Configure backups<\/li>\n\n\n\n<li>Restrict SSH access<\/li>\n\n\n\n<li>Change the default SSH port<\/li>\n\n\n\n<li>Disable unused services<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A properly secured server reduces the risk of unauthorized access and cyberattacks.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Verify_Your_Installation\"><\/span>Verify Your Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before hosting websites, verify that all essential services are functioning correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>WHM accessibility<\/li>\n\n\n\n<li>cPanel login<\/li>\n\n\n\n<li>Apache status<\/li>\n\n\n\n<li>PHP version<\/li>\n\n\n\n<li>MariaDB service<\/li>\n\n\n\n<li>DNS functionality<\/li>\n\n\n\n<li>Email services<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Testing everything early helps identify configuration issues before your server goes into production.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Common_Installation_Issues\"><\/span>Common Installation Issues<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Installer_Stops_Unexpectedly\"><\/span>Installer Stops Unexpectedly<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure your server meets the minimum hardware requirements and has sufficient disk space.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"License_Errors\"><\/span>License Errors<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Verify that your server has a valid cPanel license associated with its IP address.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Unable_to_Access_WHM\"><\/span>Unable to Access WHM<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check that port <strong>2087<\/strong> is open in your firewall settings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Hostname_Warnings\"><\/span>Hostname Warnings<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Always configure a valid fully qualified domain name before installation.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Best_Practices_After_Installing_cPanel\"><\/span>Best Practices After Installing cPanel<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To maintain a secure and high-performing server:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Keep cPanel updated regularly.<\/li>\n\n\n\n<li>Enable automatic backups.<\/li>\n\n\n\n<li>Monitor server resource usage.<\/li>\n\n\n\n<li>Install a firewall such as ConfigServer Security &amp; Firewall (CSF).<\/li>\n\n\n\n<li>Use strong passwords for all accounts.<\/li>\n\n\n\n<li>Remove unused accounts and services.<\/li>\n\n\n\n<li>Monitor server logs for suspicious activity.<\/li>\n\n\n\n<li>Regularly update PHP versions and installed software.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Following these practices helps keep your hosting environment secure, stable, and efficient.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Installing cPanel transforms server management into a straightforward and efficient experience. With its intuitive interface, powerful automation tools, and seamless integration with WHM, cPanel makes it easy to manage websites, email accounts, databases, DNS records, and security settings from a single dashboard.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By following the steps in this guide, you&#8217;ll have a fully functional cPanel server ready to host websites and applications. Combined with regular maintenance, security updates, and reliable backups, cPanel provides a dependable foundation for personal projects, business websites, and professional hosting environments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"Install cPanel on a VPS or Dedicated Server Introduction Managing a web server through the command line can&hellip;","protected":false},"author":1,"featured_media":1739,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[2],"tags":[],"class_list":["post-1738","post","type-post","status-publish","format-standard","has-post-thumbnail","category-tutorial","cs-entry"],"_links":{"self":[{"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/posts\/1738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/comments?post=1738"}],"version-history":[{"count":2,"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/posts\/1738\/revisions"}],"predecessor-version":[{"id":1742,"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/posts\/1738\/revisions\/1742"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/media\/1739"}],"wp:attachment":[{"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/media?parent=1738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/categories?post=1738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nivohost.com\/blog\/wp-json\/wp\/v2\/tags?post=1738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}