Difference between revisions of "How to Install cPanel"

From Acenet Knowledgebase
Jump to: navigation, search
Line 5: Line 5:
 
[2] Run the following commands to install cPanel:  
 
[2] Run the following commands to install cPanel:  
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 +
iptables -F
 +
service iptables save
 
mkdir /home/cpins
 
mkdir /home/cpins
 
cd /home/cpins
 
cd /home/cpins
Line 13: Line 15:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
[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:  
+
 
 +
[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/whm
 +
</pre>
 +
 
 +
You'll need to replace xxx.xxx.xxx.xxx with your server's main IP.
 +
 
 +
 
 +
[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">
 
<syntaxhighlight lang="bash">
 
/usr/local/cpanel/cpkeyclt
 
/usr/local/cpanel/cpkeyclt
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 20:10, 14 January 2013

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:

iptables -F
service iptables save
mkdir /home/cpins
cd /home/cpins
yum install wget
yum install perl
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/whm

You'll need to replace xxx.xxx.xxx.xxx with your server's main IP.


[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