Quantcast
Channel: LINUX HOWTO – LinOxide
Viewing all articles
Browse latest Browse all 382

How to Setup ZPanel CP on Linux CentOS 6

$
0
0

Today we are going to show you about one of the most important solution of web hosting control panel which is more than an open source application that works on Windows and Linux that is ZPanel. Its written in PHP and uses different other open source software packages to provide secure web hosting control panel. Using ZPanel you can use it to manage every aspect of your web server, including email accounts, MySQL databases, domains, FTP, DNS and other advanced configurations like Cron jobs.

The installation setup of ZPanel is extremely easy to getting it up and running. ZPanel provides its installation script that does everything you need to run on your own web server, so all you need is a blank server with CentOS 6 installed on it, and ZPanel will do the rest of everything else.

System Preparation

ZPanel is a very lightweight web hosting control panel in regard of resource usage as compared to other hosting control panels but it is strongly recommended to have at least 512MB of RAM for better performance.

Zpanel does not support CentOS 6.6 and above as yet so we will be using CentOS 6.5 here. So, first of all prepare a fresh CentOS 6.5 version and log in to your server via SSH with root user and stop any other web services and database service are running on it. Then remove their installation packages and make it clean so that no other web or database services are running on it.

Once you are ready with clean installation of CentOS 6.5, first apply all updates with below command.

# yum update

Download ZPanel Installer

Let’s download ZPanel latest available installer from their official web link zPanel Download Page .

zpanel download

Copy the link to get the latest available supported installation script for centos 6 and download it using the below command in your server’s Secure Shell.

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

zpanel install package

Starting ZPanel Installation

Before starting the installation through Zpanel installer script, make sure that it has executable permissions. You can check and and assign it executable permissions as shown in below image.

change permissions

Now execute the ZPanel installation script using the below command.

# ./10_1_1.sh

This will check for the installed packages and detect the version of your supported operating system. So, once everything is according the its requirements you will be greeted with Welcome screen of Official ZPanel Installer as below.

##############################################################
# 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. #
# #
##############################################################

Then press “Y” key to continue and choose the continent, your country name and the time zone as followed by the instructions provided during the installation.

The following information has been given:

Britain (UK)

Therefore TZ='Europe/London' will be used.
Local time is now: Sat Aug 22 01:13:45 BST 2015.
Universal Time is now: Sat Aug 22 00:13:45 UTC 2015.
Is the above information OK?
1) Yes
2) No
#? 1

You can make this change permanent for yourself by appending the line
TZ='Europe/London'; export TZ
to the file '.profile' in your home directory; then log out and log in again.

Here is that TZ value again, this time on standard output so that you
can use the /usr/bin/tzselect command in shell scripts:
Europe/London

After that you have to provide the FQDN (fully qualified domain name) that will be used to access the server. Let’s provide the appropriate settings and then type “Y” to continue as shown below.

Enter the FQDN you will use to access ZPanel on your server.
- It MUST be a sub-domain of you main domain, it MUST NOT be your main domain only. Example: panel.yourdomain.com
- Remember that the sub-domain ('panel' in the example) MUST be setup in your DNS nameserver.
FQDN for zpanel: zpanel-cp.linoxide.com
Enter the public (external) server IP: 19.19.23.12
ZPanel is now ready to install, do you wish to continue (y/n) y

Now during the installation process on your machine that will take a while in their setup as it will install the following packages

  • ZPanel
  • Apache
  • MySQL
  • PHP
  • Bind
  • Postfix

After successful completeion of its packages it will restart services of all of its installed packages and will greet with its generated password for MySQL, Postfix and Zpanel User name and Password. So, save all of this valuable information and type “Y” for Restart your server to complete the install process.

zpanel installation

One your server is back, open your web browser to access ZPanel Web Login, using your server’s IP.

http://your_servers_ip/

Provide your login detail a above generated after completion of installation.

zpanel login

Welcome to ZPnale Control Panel

Once you have provided your true credentials you will be directed to the Zpanel Dashboard, where you will be able to perform any kind of your web host tasks, whether you want to configure your emails, manage your database or domains.

zpanelcp dashboard

Conclusion

ZPanel is the best looking, simplest to use, and by far the easiest to setup. However, it will be more than enough for the vast majority of users who require a free web server control panel. Hope you enjoyed this tutorial feel free to comment us about your feedback and suggestions.

The post How to Setup ZPanel CP on Linux CentOS 6 appeared first on LinOxide.


Viewing all articles
Browse latest Browse all 382

Trending Articles