How to Install VHCS on Ubuntu 20.04

How to Install VHCS on Ubuntu 20.04

VHCS is a control panel with a long history, supported by moleSoftware GmbH. Mole Software was launched in 1999 and later released the first version of the VHCS control panel. VHCS stands for Virtual Hosting Control System which has 3 access levels including Server management, Reseller Management, Domain (user) Management. In this article, we try to learn you how to install VHCS on Ubuntu 20.04. You can check out the packages available in Eldernode to purchase an Ubuntu VPS server.

Tutorial Install VHCS on Ubuntu 20.04

VHCS is an open-source control panel for managing Linux-based servers. VHCS manages web, mail (POP and/or IMAP), FTP, DNS, database, quota, traffic. It should also be note that this control panel provides graphical user interfaces for administrators, vendors and domain owners. The VHCS Control Panel is released under the Mozilla General Public License (MPL) and is free to use and modify.

Reasons to choose VHCS control panel include Open Source, Usability, Supported, Accessible and International. Note that VHCS offers a complete hosting automation device with significant security, total cost of ownership, and performance advantages over competing solutions. In the continuation of this article, join us to learn you how to install VHCS on Ubuntu 20.04.

Recommended Article: How To Install Hadoop On Ubuntu 20.04 LTS [Focal Fossa]

Install VHCS on Ubuntu 20.04

Follow the steps below to start installing VHCS. In the first step, you must execute the following command:


Then you need to run the following command:

sudo sh

In this step you should check using the following commands that you have all the required repository, which has been tested with /etc/apt/sources.list:

deb hoary main restricted universe multiverse
deb hoary-security main restricted universe multiverse
deb hoary-updates main restricted universe multiverse

Next you need to create a temp directory to place the files in. Doing this is essential for creating VHCS:

sudo mkdir /root/vhcs_tmp
sudo mkdir /root/vhcs_tmp/install
cd /root/vhcs_tmp/install

To apply the installed system changes, you must update it using the following command:

sudo apt-get update
sudo apt-get upgrade -y

You can now run the following command to remove some unnecessary packages that interfere with the proper operation of the system:

sudo apt-get remove -y lpr nfs-common portmap pidentd pcmcia-cs pppoe pppoeconf ppp pppconfig

You can also remove some unnecessary services from the /etc/inetd.conf file:

sudo update-inetd --remove daytime
sudo update-inetd --remove telnet
sudo update-inetd --remove time
sudo update-inetd --remove finger
sudo update-inetd --remove talk
sudo update-inetd --remove ntalk
sudo update-inetd --remove ftp
sudo update-inetd --remove discard

It’s time to install the necessary packages:

sudo apt-get install -y ssh postfix postfix-tls proftpd-mysql courier-authdaemon courier-base courier-imap courier-maildrop courier-pop libberkeleydb-perl libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl libdate-calc-perl libdate-manip-perl libmime-base64-perl libdbd-mysql-perl libdbi-perl libio-stringy-perl libmail-sendmail-perl libmailtools-perl libmd5-perl libmime-perl libnet-dns-perl libnet-netmask-perl libnet-perl libnet-smtp-server-perl libperl5.8 libsnmp-session-perl libterm-readkey-perl libtimedate-perl perl perl-base perl-modules bind9 diff gzip iptables libmcrypt4 mysql-client mysql-common mysql-server patch php4 php4-mcrypt php4-mysql php4-pear procmail tar original-awk libterm-readpassword-perl libsasl2-modules libsasl2 sasl2-bin apache2 apache2-common apache2-mpm-prefork libapache2-mod-php4 bzip2

Use the following command to download the VHCS archive file. Note that you must visit the VHCS website to receive the latest version:

sudo wget

In the next step and after downloading the required archive, you must extract it in the directory created in the previous step:

sudo bunzip2 vhcs2.4.tar.bz2
sudo tar -xvvf vhcs2.4.tar
cd ./vhcs-2.4
Recommended Article: How to install WordPress with Apache in Ubuntu 20.04

Learn how to Install VHCS on Ubuntu

After successfully completing the previous steps, you should now install vhcs. Doing so will put the entire file in the /tmp/vhcs2 folder:

sudo make install

Copy the files to the desired location using the following commands:

sudo cp -R /tmp/vhcs2/etc/* /etc
sudo cp -R /tmp/vhcs2/var/* /var
sudo cp -R /tmp/vhcs2/usr/* /usr

After transferring the files to their main directory you should now change the root mysql password:

mysqladmin -u root -p password "new password here"

If the installation of vhcs and the root change of mysql is done correctly, you should use the following commands to update the system to apply the changes:

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get clean

You must run the following command to complete the VHCS installation:

sudo /var/www/vhcs2/engine/setup/vhcs2-setup

If you are asked for information such as password and IP, you must enter the private IP of the server. So far we have been able to successfully install VHCS.

Now you need to import the apache configuration file and then restart it. First go to /etc/apache2/httpd.conf and open the configuration file:

sudo pico /etc/apache2/httpd.conf

Now you need to put the following instructions at the bottom of the configuration file:

Include /etc/apache2/sites-available/vhcs2.conf

After adding the above command to the file, you must now restart Apache to apply the changes:

/etc/init.d/apache2 restart

Finally, after completing all the above steps, adding a daemon to launch on Ubuntu is the final step using the following commands:

sudo update-rc.d vhcs2_daemon defaults
sudo update-rc.d vhcs2_network defaults
Recommended Article: How To Install Zpanel On Ubuntu 20.04 & 19.10


VHCS is a free and open-source control panel that has simple yet setup features. This control panel uses C, PHP, Perl languages. In this article, we tried to learn you step by step and completely how to install Install VHCS on Ubuntu 20.04.

How useful was this post?

Click on a star to rate it!

Average rating 1 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way


7 days a week, 24 hours a day