{"id":1982,"date":"2019-12-11T10:30:03","date_gmt":"2019-12-11T07:00:03","guid":{"rendered":"https:\/\/airoserver.com\/?p=1982"},"modified":"2022-04-03T15:24:05","modified_gmt":"2022-04-03T10:54:05","slug":"cpanel-installation-guide","status":"publish","type":"post","link":"https:\/\/airoserver.com\/fa\/dedicated\/cpanel-installation-guide\/","title":{"rendered":"cPanel Installation Guide"},"content":{"rendered":"<p>In our last post, we have explained fully how you can install <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/directadmin-control-panel-auto-installation\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"DirectAdmin (opens in a new tab)\">DirectAdmin<\/a> automatically on your <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/different-types-of-servers-in-web-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"server (opens in a new tab)\">server<\/a>. DirectAdmin is a <a href=\"https:\/\/airoserver.com\/fa\/airoserver\/what-is-a-hosting-control-panel\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"hosting control panel (opens in a new tab)\">hosting control panel<\/a> that is supported on <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/the-distributions-of-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Linux (opens in a new tab)\">Linux<\/a>. cPanel is another control panel that is supported on Linux. In this post, we are going to explain the installation of this control panel on <a href=\"https:\/\/en.wikipedia.org\/wiki\/CentOS\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"CentOS (opens in a new tab)\">CentOS<\/a>.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" class=\"wp-image-1983\" src=\"https:\/\/airoserver.com\/wp-content\/uploads\/2019\/12\/cpanel-vector-logo.jpg\" alt=\"cPanel logo\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>cPanel is like any other control panel. In cPanel&#8217;s dashboard, You can do things like managing your files, creating a backup, managing your webmail and etc.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" class=\"wp-image-1984\" src=\"https:\/\/airoserver.com\/wp-content\/uploads\/2019\/12\/cPanel-dashboard.jpg\" alt=\"cPanel Dashboard\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>Attention!<\/strong> When you install any control panel on a <a href=\"https:\/\/airoserver.com\/fa\/airo-vps\/what-is-vps\/\">VPS<\/a> or <a href=\"https:\/\/airoserver.com\/fa\/blog\/dedicated-server\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"dedicated server (opens in a new tab)\">dedicated server<\/a> you can&#8217;t uninstall it without reinstalling OS. Reinstalling the OS means you have to remove all of the server&#8217;s data and install the operating system again. cPanel is just like any other control panels so it doesn&#8217;t have an uninstaller.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>Perl installation<\/strong>:<\/h4>\r\n\r\n\r\n\r\n<p>Before installing cPanel, you need to make sure that <a href=\"https:\/\/www.perl.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Perl (opens in a new tab)\">Perl<\/a> is installed on your server. For installing Perl, establish an SSH connection with root access to your Linux Server and use this command to install Perl.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">sudo yum install perl<\/pre>\r\n\r\n\r\n\r\n<p>Another important thing before installation is your hostname. cPanel is highly sensitive about the hostname. If you don&#8217;t choose an FQDN (Fully Qualified Domain Name) hostname, you&#8217;ll see this error:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">461 (ERROR): Your hostname () is not set properly. Please 462 (ERROR): change your hostname to a fully qualified domain name, 463 (ERROR): and re-run this installer.<\/pre>\r\n\r\n\r\n\r\n<p>Choose this command to change your hostname to an FQDN one.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">hostname <em>your FQDN<\/em><\/pre>\r\n\r\n\r\n\r\n<p>If you can&#8217;t choose a good hostname at the moment, choose a temporary one with this command.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">hostname  host.example.com<\/pre>\r\n\r\n\r\n\r\n<p>After installing cPanel you can log into the WHM control panel &gt; Networking setup &gt; change hostname and change the hostname.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>Installing cPanel on CentOS<\/strong><\/h4>\r\n\r\n\r\n\r\n<p>We should mention that this is a very easy but time taking process. During these steps, you shouldn&#8217;t worry about the internet connection. This is because this process takes place on the server-side so even if you disconnect from the server, the installation continues.<\/p>\r\n\r\n\r\n\r\n<p>Install the screen and wget:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">sudo yum install screen wget<\/pre>\r\n\r\n\r\n\r\n<p>Start a session:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">screen<\/pre>\r\n\r\n\r\n\r\n<p>Install WHM:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">wget -N http:\/\/httpupdate.cPanel.net\/latest<\/pre>\r\n\r\n\r\n\r\n<p>Run the script:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">sh latest<\/pre>\r\n\r\n\r\n\r\n<p>The installation might take about 1 or 2 hours. After the installation is completed, you can easily log in to your WHM using a browser and one of these addresses:<\/p>\r\n\r\n\r\n\r\n<p>https:\/\/ip address:2087<br \/>http:\/\/ip address:2086<\/p>\r\n\r\n\r\n\r\n<p>Your login information are the server&#8217;s username and password.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">username: <em>your_server_user<\/em> password: <em>your_password<\/em><\/pre>\r\n\r\n\r\n\r\n<p>Hope you enjoyed this post if you did, visit our <a href=\"https:\/\/airoserver.com\/fa\/blog\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"blog (opens in a new tab)\">blog<\/a> for more!<\/p>","protected":false},"excerpt":{"rendered":"<p>In our last post, we have explained fully how you can install DirectAdmin automatically on your server. DirectAdmin is a hosting control panel that is supported on Linux. cPanel is another control panel that is supported on Linux. In this post, we are going to explain the installation of this control panel on CentOS. cPanel [&hellip;]<\/p>","protected":false},"author":5,"featured_media":33896,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[179,176,178],"tags":[85,188,177,142,71],"class_list":["post-1982","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-airoserver","category-dedicated","category-airo-vps","tag-airoserver","tag-control-panel","tag-dedicated-server","tag-linux","tag-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>cPanel Installation Guide<\/title>\n<meta name=\"description\" content=\"cPanel is another control panel that is supported on Linux. In this post, we are going to explain the easy steps of cPanel&#039;s installation on cPanel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/airoserver.com\/fa\/dedicated\/cpanel-installation-guide\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"cPanel Installation Guide\" \/>\n<meta property=\"og:description\" content=\"cPanel is another control panel that is supported on Linux. In this post, we are going to explain the easy steps of cPanel&#039;s installation on cPanel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/airoserver.com\/fa\/dedicated\/cpanel-installation-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Airoserver | Cloud Hosting Solutions\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-11T07:00:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-03T10:54:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/airoserver.com\/wp-content\/uploads\/2019\/12\/Cpanel.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"376\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"SEO Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"SEO Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/\"},\"author\":{\"name\":\"SEO Team\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897\"},\"headline\":\"cPanel Installation Guide\",\"datePublished\":\"2019-12-11T07:00:03+00:00\",\"dateModified\":\"2022-04-03T10:54:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/\"},\"wordCount\":379,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/airoserver.com\/#organization\"},\"keywords\":[\"airoserver\",\"Control Panel\",\"Dedicated Server\",\"Linux\",\"VPS\"],\"articleSection\":[\"AiroServer\",\"Dedicated\",\"VPS\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/\",\"url\":\"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/\",\"name\":\"cPanel Installation Guide\",\"isPartOf\":{\"@id\":\"https:\/\/airoserver.com\/#website\"},\"datePublished\":\"2019-12-11T07:00:03+00:00\",\"dateModified\":\"2022-04-03T10:54:05+00:00\",\"description\":\"cPanel is another control panel that is supported on Linux. In this post, we are going to explain the easy steps of cPanel's installation on cPanel.\",\"breadcrumb\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/airoserver.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"cPanel Installation Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/airoserver.com\/#website\",\"url\":\"https:\/\/airoserver.com\/\",\"name\":\"Airoserver | Cloud Hosting Solutions\",\"description\":\"Cloud server | Dedicated server | Domain | Hosting| SSL | Virtual server | Airoserver\",\"publisher\":{\"@id\":\"https:\/\/airoserver.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/airoserver.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/airoserver.com\/#organization\",\"name\":\"Airoserver | Cloud Hosting Solutions\",\"url\":\"https:\/\/airoserver.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png\",\"contentUrl\":\"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png\",\"width\":925,\"height\":880,\"caption\":\"Airoserver | Cloud Hosting Solutions\"},\"image\":{\"@id\":\"https:\/\/airoserver.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897\",\"name\":\"SEO Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g\",\"caption\":\"SEO Team\"},\"url\":\"https:\/\/airoserver.com\/fa\/author\/seoteam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"cPanel Installation Guide","description":"cPanel is another control panel that is supported on Linux. In this post, we are going to explain the easy steps of cPanel's installation on cPanel.","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:\/\/airoserver.com\/fa\/dedicated\/cpanel-installation-guide\/","og_locale":"fa_IR","og_type":"article","og_title":"cPanel Installation Guide","og_description":"cPanel is another control panel that is supported on Linux. In this post, we are going to explain the easy steps of cPanel's installation on cPanel.","og_url":"https:\/\/airoserver.com\/fa\/dedicated\/cpanel-installation-guide\/","og_site_name":"Airoserver | Cloud Hosting Solutions","article_published_time":"2019-12-11T07:00:03+00:00","article_modified_time":"2022-04-03T10:54:05+00:00","og_image":[{"width":750,"height":376,"url":"https:\/\/airoserver.com\/wp-content\/uploads\/2019\/12\/Cpanel.jpg","type":"image\/jpeg"}],"author":"SEO Team","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"SEO Team","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"2 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/#article","isPartOf":{"@id":"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/"},"author":{"name":"SEO Team","@id":"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897"},"headline":"cPanel Installation Guide","datePublished":"2019-12-11T07:00:03+00:00","dateModified":"2022-04-03T10:54:05+00:00","mainEntityOfPage":{"@id":"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/"},"wordCount":379,"commentCount":0,"publisher":{"@id":"https:\/\/airoserver.com\/#organization"},"keywords":["airoserver","Control Panel","Dedicated Server","Linux","VPS"],"articleSection":["AiroServer","Dedicated","VPS"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/","url":"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/","name":"cPanel Installation Guide","isPartOf":{"@id":"https:\/\/airoserver.com\/#website"},"datePublished":"2019-12-11T07:00:03+00:00","dateModified":"2022-04-03T10:54:05+00:00","description":"cPanel is another control panel that is supported on Linux. In this post, we are going to explain the easy steps of cPanel's installation on cPanel.","breadcrumb":{"@id":"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/airoserver.com\/dedicated\/cpanel-installation-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/airoserver.com\/"},{"@type":"ListItem","position":2,"name":"cPanel Installation Guide"}]},{"@type":"WebSite","@id":"https:\/\/airoserver.com\/#website","url":"https:\/\/airoserver.com\/","name":"Airoserver | Cloud Hosting Solutions","description":"Cloud server | Dedicated server | Domain | Hosting| SSL | Virtual server | Airoserver","publisher":{"@id":"https:\/\/airoserver.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/airoserver.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/airoserver.com\/#organization","name":"Airoserver | Cloud Hosting Solutions","url":"https:\/\/airoserver.com\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/airoserver.com\/#\/schema\/logo\/image\/","url":"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png","contentUrl":"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png","width":925,"height":880,"caption":"Airoserver | Cloud Hosting Solutions"},"image":{"@id":"https:\/\/airoserver.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897","name":"SEO Team","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/airoserver.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g","caption":"SEO Team"},"url":"https:\/\/airoserver.com\/fa\/author\/seoteam\/"}]}},"_links":{"self":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts\/1982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/comments?post=1982"}],"version-history":[{"count":0,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts\/1982\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/media\/33896"}],"wp:attachment":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/media?parent=1982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/categories?post=1982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/tags?post=1982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}