Difference between revisions of "How to Install cPanel"

From Acenet Knowledgebase
Jump to: navigation, search
(test)
 
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html> Before installing cPanel, we recommend your server be partitioned appropriately.  The default partitioning scheme for Virtual Servers is sufficient.  Acenet has a recommended partitioning scheme for Dedicated Servers.  cPanel should only be installed on a fresh, clean Operating System.  Once your server has the appropriate partitioning and has been licensed for cPanel, follow the below steps for installation.   
+
Before installing cPanel, we recommend your server be partitioned appropriately.  The default partitioning scheme for Virtual Servers is sufficient.  Acenet has a recommended partitioning scheme for Dedicated Servers.  cPanel should only be installed on a fresh, clean Operating System.  Once your server has the appropriate partitioning and has been licensed for cPanel, follow the below steps for installation.  
1) Login to your server as the root user via SSH.  
+
    
2) Run the following commands to install cPanel:  
+
[1] Login to your server as the root user via SSH.  
<div class="code_style">mkdir /home/cpins<br /> cd /home/cpins<br /> yum install wget<br /> yum install perl<br /> wget -N http://httpupdate.cpanel.net/latest<br /> sh latest</div>
+
 
  3)  If you receive a license warning upon first logging in to WHM, run the following command from SSH as the root user to update your license:  
+
[2] Run the following commands to install cPanel:  
<div class="code_style">/usr/local/cpanel/cpkeyclt</div></html> [[Category:cPanel]]
+
<syntaxhighlight lang="bash">
 +
systemctl stop NetworkManager
 +
systemctl disable NetworkManager
 +
iptables -F
 +
service iptables save
 +
mkdir /home/cpins
 +
cd /home/cpins
 +
yum -y install wget perl screen
 +
wget -N http://httpupdate.cpanel.net/latest
 +
sh latest
 +
</syntaxhighlight>
 +
 
 +
 
 +
[3] Once the installation has completed you can login to WHM as the root user using the following URL:
 +
 
 +
<pre>
 +
https://xxx.xxx.xxx.xxx:2087
 +
</pre>
 +
 
 +
You'll need to replace xxx.xxx.xxx.xxx with your server's main IP. For example if your server's main IP is 192.168.100.1, then you would use the following URL:
 +
 
 +
<pre>
 +
https://192.168.100.1:2087
 +
</pre>
 +
 
 +
 
 +
[4] If you receive a license warning upon first logging in to WHM, run the following command from SSH as the root user to update your license:  
 +
 
 +
<syntaxhighlight lang="bash">
 +
/usr/local/cpanel/cpkeyclt
 +
</syntaxhighlight>
 +
 
 +
 
 +
==Additional Information==
 +
 
 +
Not sure what to do after you have finished installing cPanel? We have a cPanel Beginner's Guide here:
 +
 
 +
[[CPanel Beginner's Guide]]
 +
 
 +
[[Category:cPanel]]

Latest revision as of 09:12, 24 September 2020

Before installing cPanel, we recommend your server be partitioned appropriately. The default partitioning scheme for Virtual Servers is sufficient. Acenet has a recommended partitioning scheme for Dedicated Servers. cPanel should only be installed on a fresh, clean Operating System. Once your server has the appropriate partitioning and has been licensed for cPanel, follow the below steps for installation.

[1] Login to your server as the root user via SSH.

[2] Run the following commands to install cPanel:

systemctl stop NetworkManager
systemctl disable NetworkManager
iptables -F
service iptables save
mkdir /home/cpins
cd /home/cpins
yum -y install wget perl screen
wget -N http://httpupdate.cpanel.net/latest
sh latest


[3] Once the installation has completed you can login to WHM as the root user using the following URL:

https://xxx.xxx.xxx.xxx:2087

You'll need to replace xxx.xxx.xxx.xxx with your server's main IP. For example if your server's main IP is 192.168.100.1, then you would use the following URL:

https://192.168.100.1:2087


[4] If you receive a license warning upon first logging in to WHM, run the following command from SSH as the root user to update your license:

/usr/local/cpanel/cpkeyclt


Additional Information

Not sure what to do after you have finished installing cPanel? We have a cPanel Beginner's Guide here:

CPanel Beginner's Guide