Web Hosting Talk







View Full Version : Install Cpanel - CentOS


rcbandit
12-17-2008, 02:42 PM
Install Cpanel - CentOS

I try many times to install Cpanel on Virtual machine with CentOS but when I type wget http://layer1.cpanel.net/latest and sh latest in terminal and install the script after that when i type in my browser localhost:2086 nothing happens. The browser shows me it can't find the page?
Where I am wrong?

DigitalLinx
12-17-2008, 02:45 PM
Use your VPS's IP address rather than localhost

rcbandit
12-17-2008, 02:47 PM
I try it - same result
Is there something specific in installation?

Jdubz31
12-17-2008, 02:59 PM
Paste the results of the following command.
iptables -L -n -v





__________________Jordan OhringerGigenet Communications - Chicago, IL

A Grateful Dad
12-17-2008, 03:24 PM
Sounds like your or your host's firewall is blocking access...
Also, try port 2087...

rcbandit
12-17-2008, 03:50 PM
In Cpanel.com - in download area I see that there is layer1 and layer2 witch one of them I have to use?





Last edited by rcbandit : 12-17-2008 at 02:56 PM.

PogiWeb
12-17-2008, 04:39 PM
I believe layer1 and layer2 are two different locations, but the same file...
You may want to try the following.
1. Turn off your firewall and try to access yourip/whm
2. Try restarting cPanel from shell.





__________________HostPenguin - Separate Yourself ● A Christian Owned and Operated Hosting Provider!● Shared, Reseller, Virtual Private Server Hosting and Website Integrationshttp://www.HostPenguin.net - http://Integration.HostPenguin.net - Sales@HostPenguin.net

rcbandit
12-17-2008, 06:01 PM
When I type 192.168.2.1 it appears apache test page. But when i type 192.168.2.1 nothing happens. Firewall is disabled.
I have a problem with WHMCS too. I copy files as it says in manual. After that I type in a browser 192.168.........../install/install.php and appear plan text not graphical interface.





Last edited by rcbandit : 12-17-2008 at 05:09 PM.

Adam-AEC
12-17-2008, 07:58 PM
cPanel requires an external IP (iirc). I don't believe your 192.x and 10.x networks will work.





__________________
IP Address Manager for WHMCS - http://github.com/adam12/whmcs-ipman

DaveDark
12-19-2008, 11:38 AM
To see if cPanel is running, type the following command:
Code:
# ps aux | grep cpsrvd
You should get output that looks like this:
Code:
root 4605 0.0 0.3 17020 7992 ? S 02:37 0:14 cpsrvd - waiting for connections
root 7266 0.0 0.0 4196 656 pts/0 S+ 09:34 0:00 grep cpsrvd
If not, type:
Code:
/usr/local/cpanel/bin/cpsrvd-ssl
Once cPanel is running, you'll need a license. You can obtain a 15 day test license here if you are trying out cPanel. Here's a link to our partner page if you wish to buy a license: http://www.cpanel.net/partners/partn....cgi?showall=1 (large page warning)
Once you have a license, you can make sure it is activated by running:
Code:
/usr/local/cpanel/cpkeyclt
You will need to ensure that traffic is permitted over ports 80, 443, 2087, 2083, and any for other services you wish to use. Also, you will need to have a public IP address for the license that is accessible on port 80 or 2089.





__________________
-Dave
cPanel Inc.
Need to submit a support request for your cPanel server? Go here