{"id":5403,"date":"2023-11-09T10:39:03","date_gmt":"2023-11-09T10:39:03","guid":{"rendered":"https:\/\/natsav.com\/blog\/?p=5403"},"modified":"2024-02-08T11:44:39","modified_gmt":"2024-02-08T11:44:39","slug":"install-cpanel-on-centos","status":"publish","type":"post","link":"https:\/\/natsav.com\/blog\/install-cpanel-on-centos\/","title":{"rendered":"How To Install cPanel on CentOS"},"content":{"rendered":"<p><em><strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5405 aligncenter\" src=\"https:\/\/i0.wp.com\/natsav.com\/blog\/wp-content\/uploads\/2023\/11\/2-e1699526416497-300x110.jpg?resize=686%2C251&#038;ssl=1\" alt=\"\" width=\"686\" height=\"251\" data-recalc-dims=\"1\" \/><\/strong><\/em><\/p>\n<p><em><strong>Step 1: Log in using SSH.<\/strong><\/em><br \/>\nYou must be logged in via SSH as sudo or root user.<\/p>\n<p><strong><em>Step<\/em> 2: <em>Installing cPanel.<\/em><\/strong><br \/>\nRun this command:-\u00a0 <span class=\"enlighter-text\">cd \/home <\/span><span class=\"enlighter-g0\">&amp;&amp;<\/span><span class=\"enlighter-text\"> curl -o latest -L https:<\/span><span class=\"enlighter-c0\">\/\/securedownloads.cpanel.net\/latest &amp;&amp; sh latest.<\/span><\/p>\n<p id=\"step-1-log-in-to-plesk-control-panel\"><em><strong>Step 3: Logging into cPanel.<br \/>\n<\/strong><\/em>After the installation, you will get a link that will look like: cpanel.example.com:2087. Copy and paste it in your preferred browser. Now all you have to do is log in with your login credentials.<\/p>\n<p><em><strong>Step 4: Set up SMTP relay.<\/strong><\/em><br \/>\n<strong>a)<\/strong> Go to https:\/\/x.x.x.x:2087 (replace x.x.x.x with the IP address of your server).<br \/>\n<strong>b)<\/strong> Within WHM navigate to: Main &gt; Service Configuration &gt; Exim Configuration Editor, in the Basic Editor search for \u201cSPF include hosts for all domains on this system\u201d and change the setting from \u201cNone\u201d to `_spf.smtprelay.snel.com`. Click on \u201cSave\u201d at the bottom.<br \/>\n<strong>c)<\/strong> On the same page (Main &gt; Service Configuration &gt; Exim Configuration Editor), click on the Advanced Editor button and search on the page for \u201cSection: POSTMAILCOUNT\u201d and add the following:-<\/p>\n<p><span class=\"enlighter-c0\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5406 aligncenter\" src=\"https:\/\/i0.wp.com\/natsav.com\/blog\/wp-content\/uploads\/2023\/11\/Cpanel1-300x116.png?resize=298%2C115&#038;ssl=1\" alt=\"\" width=\"298\" height=\"115\" data-recalc-dims=\"1\" \/><\/span><\/p>\n<p><span class=\"enlighter-c0\"><strong>d)<\/strong> On the same page search for \u201cSection: ROUTERSTART\u201d and add the following:-<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5407 aligncenter\" src=\"https:\/\/i0.wp.com\/natsav.com\/blog\/wp-content\/uploads\/2023\/11\/cpanel2-300x116.png?resize=300%2C116&#038;ssl=1\" alt=\"\" width=\"300\" height=\"116\" data-recalc-dims=\"1\" \/><\/p>\n<p><em><strong>Step 5: Save changes.<br \/>\n<\/strong><\/em>Click on the \u201cSave\u201d button on the bottom of the page to save changes and restart the mail server to apply the new configuration.<em><strong><br \/>\n<\/strong><\/em><\/p>\n<p><em><strong>Conclusion<br \/>\n<\/strong><\/em>Congratulations, you have successfully installed cPanel on CentOS.<em><strong><br \/>\n<\/strong><\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step 1: Log in using SSH. You must be logged in via SSH as sudo or root user. Step 2: Installing cPanel. Run this command:-\u00a0 cd \/home &amp;&amp; curl -o latest -L https:\/\/securedownloads.cpanel.net\/latest &amp;&amp; sh latest. Step 3: Logging into cPanel. After the installation, you will get a link that will look like: cpanel.example.com:2087. Copy [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[259],"tags":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/posts\/5403"}],"collection":[{"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/comments?post=5403"}],"version-history":[{"count":14,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/posts\/5403\/revisions"}],"predecessor-version":[{"id":5426,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/posts\/5403\/revisions\/5426"}],"wp:attachment":[{"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/media?parent=5403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/categories?post=5403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/tags?post=5403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}