How to Install ZpanelX Web Hosting Control Panel on Ubuntu Server 12.04

in How To, Networking, Web Server

About Zpanel

Zpanel is free and open source web hosting control panel designed to work on platform Linux, Unix, Mac OSX and Windows OS based servers or computers. It easy to use and manage web hosting server for SOHO (Small Office Home Office) or professional servers.

ZpanelX support for unlimited resellers and  flawlessly integrates with MySQL Server, Apache2, hMailServer (on Microsoft Windows), Posfix (on Linux Distribution) and Filezilla (on Microsoft Windows) or ProFTPd (on Linux Distribution). For more detail about Zpanelx feature  you can check out @Zpanel_Feature_Page

Step-by-Step to Install ZpanelX 10.0.0 on Ubuntu Server 12.04

This guide will show Step-by-step to install Zpanelx 10 web hosting control panel  in ubuntu 12.04 LTS Server edition. There are two methods  to installing Zpanelx: Methods 1). Install automatically using script auto-installer . Methods 2) Install manually, direct download source Zpanelx then install and config manually. It is recommended that you only install ZPanelx 10 on a fresh installation of Ubuntu Server. On this case my IP Address : 192.168.56.2 and Hostname : preciseserver

Method 1 : Install automatically using script auto-installer

Step 1. Login to your server  using ssh and make sure you have all the latest security updates for Ubuntu Server 12.04 by running following commands

sudo apt-get update
sudo apt-get upgrade

Step 2. Download script Zpanelx10 auto-installer for Ubuntu 12.04. This script work on Ubuntu server 12.04 x64 and Ubuntu server 12.04 x86.

wget https://dl.dropbox.com/u/50880014/ZPX_ubuntu_12-04_auto_installer.v1.02.zip

Step 3. Install package tofrodos  using apt-get command.

sudo apt-get install tofrodos

Tofrodos comprises one program, “fromdos” alias “todos”, which converts text files to and from these formats. Use “fromdos” to convert DOS text files to the Unix format, and “todos” to convert Unix text files to the DOS format.

Step 4. Unzip ZPX_ubuntu_12-04_auto_installer.v1.02.zip then convert these script from DOS text files to the Unix format using fromdos command.

unzip ZPX_ubuntu_12-04_auto_installer.v1.02.zip
sudo fromdos ZPX_ubuntu_12-04_auto_installer.sh

Step 5. Change the permission of the install script so it can be executed.

chmod +x ZPX_ubuntu_12-04_auto_installer.sh

Run the installation script to disable AppArmor daemon

sudo ./ZPX_ubuntu_12-04_auto_installer.sh

Reboot your computer

sudo init 6

 Step 6. After reboot, run again  installation script.

sudo ./ZPX_ubuntu_12-04_auto_installer.sh

This script ask for all of the required information (such as IP address, Hostname/domain and Mysql password)

===================================================
= Starting Auto Installer for ZPX on Ubuntu 12.04 =
===================================================
=-------------------------------------------------=
= By Xengulai (xengulai@xengulai.com) =
=-------------------------------------------------=
===================================================
Variable collection:
Enter Server Public IP Address: 192.168.56.2
Enter server name:
(this should be the reverse lookup of 192.168.56.2)
(ex. zeus.zpanelcp.com): preciseserver
Enter FQDN for ZPX (ex. panel.zpanelcp.com): preciseserver
Enter MySQL root password: reloaded
Updating Aptitude Repos: Done.
Creating initial folder structure: Done.
Downloading / Extracting ZPX From SF to Temp Directory at /opt/zpanel: Done.
Copying ZpanelX files to /etc/zpanel: Done.
Registering 'zppy' client: Done.
Installing main packages: Done.
Setting Zpanel MySQL access: Done.
Importing Zpanel Core Database: Done.
Setting up Apache configuration to work with ZPX: Done.
Setting up Network info for ZPX and Compiling Default VHOST: Done.
Configuring Postfix and Dovecot: Done.
Configuring Roundcube: Done.
Installing and Configuring ProFTPD: Done.
Installing and Configuring BIND: Done.
Compiling zsudo: Done.
Setting cron for daemon.php: Done.
Registering ZPPY Client: Done.
Removing temp files: Done.
Restarting all necessary services: 
-- Apache2 Web Server Restarted Successfully
-- Postfix Server Restarted Successfully
-- Dovecot Server Restarted Successfully
-- ProFTPD Server Restarted Successfully
-- MySQL Server Restarted Successfully
-- Bind9 Server Restarted Successfully
Installing ballen/rustus zppy repo and modules: 
-- gatekeeper: installed
-- system_logviewer: installed
-- kfm: installed
-- ftp_browser: installed
-- visitor_stats: installed
=====================================================================
= Installation and Configuration of ZPX on Ubuntu 12.04 is Complete =
=====================================================================
=====================================================================
= Install Log can be found at /home/precise/zpx_install.log
=====================================================================
=====================================================================
= Please REBOOT the server and open: =
= http://preciseserver/zpanel
= or =
= http://192.168.56.2/zpanel
= =
= USER: zadmin =
= PASS: password (Change on 1st login!) =
=====================================================================
=====================================================================
= This script is not written by official ZPX Support =
= Please do not ask them for official support on this =
=====================================================================
=...................................................................=
= By Xengulai (xengulai@xengulai.com) =
=...................................................................=

 Step 7. Download and Install post-installation patches/sql script

wget https://dl.dropbox.com/u/50880014/post-install_patches.zip
unzip post-install_patches.zip
mysql -u root -p YOUR_ROOT_MYSQL_PASSWORD < /home/precise/post-install_patches.sql
sudo cp -R /home/precise/panel/* /etc/zpanel/panel/* 

Pages: 1 2

Advertisement:

  • Mohamed Nazar

    Hi,

    Thanks for the steps, I have successfully installed the zpanel, but I have a issue when i try to log in via webmail with the email ID and password I am unable to login into it. The error is “connection to IMAP server failed”

    How to solve it?

    Thanks

  • John

    Step 2: Link off -> {“error”: “Service Unavailable”}

  • http://www.facebook.com/profile.php?id=100000074302646 Victor Iaros

    chmod: changing permissions of `ZPX_ubuntu_12-04_auto_installer.sh’: Operation not permitted

    • Izhar Aazmi

      use sudo chmod +x ZPX_ubuntu_12-04_auto_installer.sh and provide password when requested. See if this works!

Previous post:

Next post: