Jamie Sefton | Web Developer

How to Install ZPanel on Centos VPS

Posted: 17th Jan 2015

ZPanel is a free server management control panel that allows you to manage various server features without having to enter commands.

To find out more about what ZPanel is go to: http://www.zpanelcp.com/

IMPORTANT: ZPanel is not supported on Centos 7 as of yet. This guide is for Centos 6.x

First you need to make sure you have a LAMP stack already installed on your server. If you haven't then read my tutorial on Installing Linux, Apache, MySQL and PHP (LAMP) on Centos.

First thing you need to do is connect in via command line to your server. If you don't know how to do this then please read my tutorial on Using Putty to access a server command line.

Downloading and preparing

To download ZPanel from the official ZPanel resource location enter the command below:

wget https://raw.github.com/zpanel/installers/master/install/CentOS-6_4/10_1_1.sh

Note that in some versions wget is not installed. To install wget function run the command below:

yum -y install wget

To view the directory to make sure you have downloaded the file enter the command below:

ls

Once you have the file you will need to give full permissions to the file so it can be installed. To do this enter the command below and replace the filename with that it is called when you listed the directory.

chmod 0777 10_1_1.sh

Once you have done this it is time install ZPanel.

Installing ZPanel

To install simply enter the name of the file in your directory into the command console like below:

./10_1_1.sh

You should then get a notice asking do you want to continue looking like this:

############################################################## # Welcome to the Official ZPanelX Installer for CentOS 6.4 # # # # Please make sure your VPS provider hasn't pre-installed # # any packages required by ZPanelX. # # # # If you are installing on a physical machine where the OS # # has been installed by yourself please make sure you only # # installed CentOS with no extra packages. # # # # If you selected additional options during the CentOS # # install please consider reinstalling without them. # # # ############################################################## Would you like to continue (y/n)?

You will then be asked to select your continent to help get the correct timezone. Simply enter a number that is related, for example 8 for Europe.

You will then need to select your country. For example, 8 for Britain (UK). Finally you need to confirm these settings.

Now you will be asked to enter a FQDN for ZPanel. This is the best way of accessing ZPanel once installed. The best thing to enter is a zpanel subdomain on your main domain you will point to your server (Example: zpanel.yourdomain.com).

Next it will ask for your public IP, which should default to your server IP address. If this is not correct then please replace it.

Finally, confirm that you want to install ZPanel and leave it for about 5 minutes to install.

Through the installation process it will ask for your ROOT database password that was created when installing your LAMP stack.

Once it has finished it will ask if you want to restart your server. Before you do, please note the username and password above.

IMPORTANT: Make sure you copy the username and password before continuing.

Next select Yes to restart your server. This will close the connection you have open in your command window.

Accessing ZPanel

Once the installation is complete you can access ZPanel through a browser by going to your server IP address (Example: http://12.34.56.78/).

You should see a login box. You now need to enter the username and password supplied at the very last step of the installation process.

Congratulations you have successfully installed ZPanel!

You can now use the various features that come with ZPanel to manage your server and host multiple websites easily.