How to Install zPanel on CentOS 6 VPS
| |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.
Preparation
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.xhttps://github.com/zpanel/zpanelx/releases/download/10.1.0_orig/installer-10-1-0-centos-64.sh.x
# for 32-bit use: wget -O installer-10-1-0-centos-32.sh.xhttps://github.com/zpanel/zpanelx/releases/download/10.1.0_orig/installer-10-1-0-centos-32.sh.x
Pic:
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
pic:
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: ./installer-10-1-0-centos-64.sh.x # for CentOS 32-bit: ./installer-10-1-0-centos-32.sh.x
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
F.A.Q
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).
How to activate htaccess after installing ZPANEL?
After finish extract my file, the .htaccess file are not shown on my file manager, I need your help
.htaccess is automatically supported as along with zpanel installation Apache is also configured with mod_rewrite activated 🙂
oops sorry, I’m still newbie, hehe
How about FTP access permission, when I’m editing some file on Notepad++ that connect on my server, they can’t save on my server?
You should apply the patch which can be found here: http://forums.zpanelcp.com/thread-8739.html
however in the newly released package of zpanel this has been fixed
Okay thanks, this works for me
I love your website!!! thanks for the tutorials. I have a VPS with ChicagoVPS and I just installed Zpanel using this guide. Thanks! I do have one question though. Zpanel only sees 2GB of available space while my allocated space through ChicagoVPS is 50GB. Any ideas?
Thanks
You can change that in “Package” menu. Just think zPanel as WHM/cPanel where there are clients and packages. Each client can be assigned to a specific hosting package.
Hello, i have installed ZPanel on my server, then i installed wordpress and add the WP-Picshield (By-REV) plugin, but the plugin won’t work here? is there any mistake when i configure my ZPanel?
You should firstly check plugin’s requirements first. What it needs in server side 🙂
What’s the plugin’s server requirements?
Thanks for tutorial .
I Already take host from DigitalOcean and this is My second try on VPS .
I Added domain from Zpanel but How I configure Name Server For my domain
I had problem installing this zpanel then I reinstall centos and remove apache and bind. I didn’t remove bind while installing it at first place now its working fine
This commend remove bind. Please also add it in your tutorial
______
sudo yum remove bind
______
Thank you very much for this excellent tutorial.
you are welcome 🙂
Kindly change the command in step 4. Installer is no more available in that URL.
wget -O installer-10-1-0-centos-32.sh.x https://github.com/zpanel/zpanelx/releases/download/10.1.0/installer-10-1-0-centos-32.sh.x
Thanks.. I will also release a revised version of this tutorial 🙂
Hi…
Nice blog Sawiyati
Btw heres a newbie questions for my problems.
I’ve found my installation stuck after i run the command
./installer-10-1-0-centos-64.sh.x
and it shows:
Initialized empty Git repository in /root/zpanelx/.git/
Any clues?
Same problem..
My ZPanel installation also stucks on Initializing Empty git repository on /root/zpanelx/.git/
I’m still trying to figure it out…
Yum remove httpd…ok
Yum remove mysql…ok
Yum remove bind… ok
But didn’t set any rule on iptables yet… its a fresh installation of Centos 6.5 (minimal)
Please let me know if you have any solution for this problem already… thxb4… wiwi..
./installer-10-1-0-centos-64.sh.x: line 63: read: `”-//IETF//DTD’: not a valid identifier
getting this error after ./installer-10-1-0-centos-32.sh.x
and one thing in public ip it showing by default
m
Enter the Public (external) IP of the server: <!DOCTYPE
I have the same issue because we are missing the word “-L” in command. Run this in your terminal or putty:
bash <(curl -L -Ss https://raw.github.com/zpanel/installers/master/install/CentOS-6_4/10_1_1.sh)
thanks for the tip
not working. still same problem
Is it possible to install Zpanel on the same server if I already have installed on it Cpanel/WHM?
I don’t think it’s possible 🙂
Ok then thank you . So that means that I have to reload the OS on the server in order to be able to install Zpanel ?
I can not see anything after login in to zpanel
tab is not working.
Thanks for the help really awesome tutorial.I am getting confused in managing an unmanaged vps.But your tutorial is very straight forward and clear.
Anyone Tell Me How To Edit ( installer-10-1-0-centos-64.sh.x )
I Try To Edit With Notepad But I Can’t , Showing This Type
============================================
‘&:Ô—6®±Ü‹œ´De|†µÉ-öðuG¦u<œ¶G-Ü‚t¸°%•<ÁI'ÅÜ4ÓJHŸ’ï΋˹§˜¼QlAæ©/*+õ1…fÛ±$¤C¸žƒ(X+ÁGˆø*Œ(U·‡
============================================
Anyone Can Help Me?
You don’t have to edit the installer file. If you insist, you can download the source file from Github. The one you download is the executable one 🙂
any option to edit?
Maam, is it possible mix between lighttpd & zpanel? bcoz my RAM only 512MB. I saw you got more than 1gig of RAM. tq -Dan
I don’t think it’s possible 🙂 but you can install nginx as frontend proxy
Hi, what about if I want to login to zpanel by subdomain.mydomain.com ONLY and remove the IP login option when you enter your host IP on the browser and the zpanel login prompts, so to avoid someone getting my IP adress and gaining access to the login option so only me can know which subdomain leads to the login zpanel page. I hope that I’ve explained myself…
Thank you!
Q: what about if I want to login to zpanel by subdomain.mydomain.com ONLY
A: You can simply add A entry on your DNS and point it to your main IP without having to create subdomain.
Q: remove the IP login option when you enter your host IP
A: I don’t think that’s possible but I think you can try different approach like moving from default port to another one or restricting IP login to enable only from your IP
I’ve already installed Zpanel. I am just wondering where to login? It just says
“It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.”
Thanks for the answer!
If you access your default IP it should display zPanel login page
HI
First of all thank you for such a good tutorial. its good to see that you are responding to queries.
1- How can we access zpanel for add-on domains
eg: 103.45.23.54 is the server(VPS) and has pointed to mydomainname.com and it has an add-on domain as addondomain.com but the add-on domain does not have any admin privileges (in cpanel we can access this by addondomain.com:2083 or addondomain.com/cpanel)
you can simply create new user in zpanel so that newly created user can add new separate domain with separate zpanel login credential.
I used Zpanel and install Mangento on that, it’s very slow and i think Zpanel used more than 106mb of RAM. (my VPS on DO with 1Gb of RAM)
have you tried CWP yet?
after login in zpanel its show only options when i click on any option it show only white screen
when i logging to zpanel its show only blank screen
image of the zpanel
https://www.diigo.com/item/image/54hz9/paqt
Hey, I had the same problem with the blank screen, click on the first icon, it looks like a wifi icon.. it’s after the zpanel logo, then go to “Server IP Address” and write the ip address.. click “Save changes” it should be OK now 🙂
Great tutorials by the way, ty for everything servermom 🙂
I dit the turatol to install zpanel its great if the install is done i login to the panel bud then i see only the menu bars if ik click annything the page stay blank 🙁 noting is showing up can you tel me how to fix this ??
I dit the turatol to install zpanel its great if the install is done i login to the panel bud then i see only the menu bars if ik click annything the page stay blank 🙁 noting is showing up can you tel me how to fix this ?? i dont know what to do
Proccess of installing stopped with kernel panic error “Unable to mount root fs on unknown-block …”
Next is list of call trace
and nothing happens
I have a problem I’m also white page after installation is finished
I try to install IP number but I can not find options to do so
Is it possible to do through the shell
zpanel installer not working on centos 6.7 .How to make it work on centos 6.7 version
hi, thanks. Installation was done successfully.
hi
i am getting below noted error how i can remove it ?
[root@koolwal ~]# wget -O installer-10-1-0-centos-64.sh.x
https://github.com/zpanel/zpanelx/releases/download/10.1.0_orig/installer-10-1-0-centos-64.sh.x
-bash: syntax error near unexpected token `newline’
Issue with Zpanel: I unziped file in ssh by root user. Then i don’t have permission to chmod file in ftp client by ftp account creat via Zpanel.
How to solve? Tks.
Hi there,
Is there zPanel for CentOS 6.7,
When I am trying to install it from above link, I am getting an error stating that not supported,
Please help me out,
Thanks in advance.
I dont think so. Try sentora instead
Tried this today and it works. Edit the .sh file you get from the zpanel website, using your favorite editor. Go to line 62 and replace
||[ “$VER” = “6.6” ] ; then
with
||[ “$VER” = “6.6” ] ||[ “$VER” = “6.7” ] ; then
Installed fine for my needs.
Hello,
First of all thanks for the article. But I have few more questions, first of all I am trying to make my own name server using zpanel.
I created a child name server at my registrar namely ns1.mydomain.com and ns2.mydomain.com and add my server IP to both of them.
Then I add that domain on zpanel and in edit I have changed A record and NS to my server Ip and nameserver.
And then I create a client and host add one of my domain on that, and change that domain to my newly created nameserver but when I tried to ftp to that domain, its not resolving the name.
Can you please tell me what I did wrong?
wow ! great tutorial.its really helped me.thanks a lot.and dude please suggest me any good vps providers at low cose
Hi mom, thanks for your guide :*
Im just asking, about my username and pass, when im loging into z panel.
Which user and pass, that i can input?
Im just trying with my putty login, and it cant
Are you able to add packages like wordpress from the zpanel like you can with other control panels?
I have installed it on my test server and the install was very easy and once in its one of the best I have seen and ease of use. Hope this is something can do with zpanel if not is there something I could install that would allow this as I find it easier to do the installs for things like wordpress this way its not a big thing just handy.
I am afraid you have to install it manually. There was once a script installer addon but it’s not well-maintained.