Hi, this tutorial will guide you to successfully install and setup zPanel CP on Centos 6 VPS. This is basically not normally what I prefer but so many requests ask me to post such tutorial. Well, many of those requests are asking about cPanel/WHM and Kloxo installation but however I prefer zPanel (also called zPanelx). Why? First because it is free and secondly it is more user-friendly. If you’re going to ask me about Kloxo vs zPanel and which is better, so my answer is simple. If you want a free Control Panel for your VPS that is very easy to use and user friendly, then go to zPanel. But if you want more complex and advanced panel, then go to Kloxo because you may be also able to use Nginx with it.
This guide is done on a cloud vps running CentOS 6.4 64-bit. This will also work on any CentOS 6 32-bit or 64-bit but for better compatibility make sure you use at least CentOS 6.3.
Also, although zPanel is very lightweight panel in regard of resource usage (compared to cPanel/WHM), but it is strongly recommended to have at least 512MB of RAM if you wish to use -any- control panel with your VPS.
How to Install zPanel CP?
UPDATE: zPanelx v10.1.1 is released. The way how to install it has also changed. Read my new guide on how to install zPanelX CP using its new installer script.
Below is the old one 🙂
Step 1 – Prepare a fresh CentOS 6 VPS. Log in to your server via SSH (use Putty or Terminal) as root.
Step 2 – Now try to stop Apache and MySQL service (just in case if you have them installed and running already).
service httpd stop
service mysql stop
in my case I only have Apache running so I stop it:
Step 3 – Then remove Apache and MySQL service:
yum remove httpd
yum remove mysql
Hit Y to confirm. Screenshot:
Step 4 – Now lets download the installer file:
# for 64-bit use:
wget -O installer-10-1-0-centos-64.sh.x
# for 32-bit use:
wget -O installer-10-1-0-centos-32.sh.x
Step 5 – Now you have to make the installer executable:
# For CentOS 64-bit:
chmod +x installer-10-1-0-centos-64.sh.x
# For CentOS 32-bit:
chmod +x installer-10-1-0-centos-32.sh.x
Step 6 – Also install required packages:
yum install ld-linux.so.2 curl
You may need to type Y twice for confirmation:
Step 7 – Finally, issue this command to start installing zPanel:
# for CentOS 64-bit:
# for CentOS 32-bit:
You have to answer few simple questions. The process should take few minutes, so sit tight and wait till it finishes:
Step 8 – At the end of the process you’ll see all generated passwords displayed, write that down. Also, the process requires restarting your server hence you’ll automatically be logged out from your server.
Step 9 – Now open up your favorite web browser then access your server by typing its ip address. Voila, you’ll now see default zPanel login page. Use zadmin as username and use generated password (step 8 above) to login. Once logged in, you can then change default generated password to something easier to remember but make sure it still uses strong combination.
Step 10 – That’s it. Now you can do some necessary tasks in zPanel control panel area once you logged in. Don’t be worry, all settings inside zPanel are really easy to understood so you’ll be familiar in no time. If you can use cPanel then you should also be able to use zPanel.
NEXT TO DO
- Install zPanel on CentOS VPS (you are here)
- Install Ajaxplorer File Manager on zPanel CP
Q: Does zPanel already include Apache, MySQL and PHP?
A: Yes. During installation the installer also installs Apache web server, MYSQL, PHP5 and PHPMyAdmin along with necessary tools like FTP server and mail server.
Q: How much RAM zPanel consumes?
A: Once installed, with all of those services installed and running (Apache, Mysql, PHP, SMTP, IMAP, POP3 and FTP), I got following on my vps:
As you can see above, used RAM is about 106MB (still below 128MB) assuming with no traffic (fresh zPanel install).