Debian Admin - Your way to Debian World

October 9, 2006

VHCS ISP Control Panel Installation With Screenshots

by @ 8:44 pm. Filed under General, Free Tools, Other Linux

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

VHCS delivers a complete hosting automation appliance by offering significant security, total-cost-of-ownership, and performance advantages over competing commercial solutions.

With VHCS Pro you can configure your server and applications, create user with domains with a few point-and-click operations that take less than a minute. There is no limit to the number of resellers, users and domains that can be created.At the core of VHCS Pro are 3 easy-to-use, Web-based control panels. VHCS provides graphic user interfaces for the administrators, resellers and users.

VHCS Requirements

Apache-Webserver

Postfix - MTA

ProFTP

PHP 4.x

Perl

MySQL-Database

POP3 and IMAP Daemon (Courier)

OpenSSL or mod_ssl for SSL-Webs

BIND8 / BIND9 (DNS Server)

iptables (optional)

Install VHCS ISP Contro Panel in Debian

Preparing you system for VHCS Installation

# aptitude install ssh postfix postfix-tls proftpd 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 \
libdbd-mysql-perl libdbi-perl libio-stringy-perl libmail-sendmail-perl \
libmailtools-perl libmd5-perl libmime-base64-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 php4 patch php4-mcrypt \ php4-mysql php4-pear procmail tar original-awk libterm-readpassword-perl \ libsasl2-modules libsasl2 sasl2-bin bzip2 gcc make libc6-dev mysql-client-4.1 \ mysql-server-4.1 apache2 apache2-common apache2-mpm-prefork \ libapache2-mod-php4

This will install all the required packages for VHCS.

After finishing all the installation of above packages you need to add the following source list to your /etc/apt/sources.list file

deb http://apt.scunc.org/ sarge main

or

deb http://apt.k-inet.de/ sarge main

Now you need to update your source list using the following command

#apt-get update

Installing VHCS in Debian

#apt-get install vhcs

This will start the installation process this time it will prompt for some questions we will see one by one now

First one is Welcome message you can see this in the following screen

Should i do the setup of VHCs select yes and press enter

Enter the hostname of your server and i have entered as technews select ok and press enter

Enter the ip address of your server select ok and press enter

Enter the admin email address to send VHCS logs select ok and press enter

Database Configuration Message

Choose the way you want to configure VHCS database here you need to select as automatic so that it will create DB Automatically select ok and press enter

If you want to drop database on pure you need to select yes and select ok and press enter

Enter the database username for VHCS database default one is vhcs2 i left the same and if you want to change you can change.Now you need to select ok and press enter

Enter the password for VHCS database user and select ok and press enter

Confirm the password for VHCS database user and select ok and press enter

Enter the database vftp user by default vftp will be these you leave as default one and select ok and press enter

Enter the password for the VHCS database vftp user select ok and press enter

Confirm the password for the VHCS database vftp user select ok and press enter

Enter your seconday name server i have entered test.technews.com you can enter which one is your secondary DNS select ok and press enter

Enter SASL Domain select ok and press enter

Enter the VHCS admin user name here and i have entered as admin after that select ok and press enter

Enter the password for the VHCS admin user after that select ok and press enter

Confirm the the password for the VHCS admin user after that select ok and press enter


System starts to configure packages now. When installation asks about overwriting old configs, select Yes.
Configuration file `/etc/vhcs2/crontab/backup/crontab.conf.12564′
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a new shell to examine the situation
The default action is to keep your current version.
*** crontab.conf.12564 (Y/I/N/O/D/Z) [default=N] ?Y

Creating config file /etc/vhcs2/apache/parts/vhcs2_base.tpl with new version
Configuration file `/etc/postfix/main.cf’
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a new shell to examine the situation
The default action is to keep your current version.
*** main.cf (Y/I/N/O/D/Z) [default=N] ?y

Configuration file `/etc/postfix/master.cf’
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a new shell to examine the situation
The default action is to keep your current version.
*** master.cf (Y/I/N/O/D/Z) [default=N] ?y

Configuration file `/etc/courier/authdaemonrc’
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a new shell to examine the situation
The default action is to keep your current version.
*** authdaemonrc (Y/I/N/O/D/Z) [default=N] ?y

Configuration file `/etc/proftpd.conf’
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a new shell to examine the situation
The default action is to keep your current version.
*** proftpd.conf (Y/I/N/O/D/Z) [default=N] ?y

This will complete the installation now you need to access you VHCS using the following URL

http://your-server-ipaddress/vhcs2/ you should see the following screen

Now you need to enter you admin as username and password (installation time we set this password) for this user.Once you logged in to the VHCS control panel you should see the following screen.

If you want to know how to manage and administer VHCS check this documentation

Reconfiguring VHCS

If you want to do reconfiguring to VHCS system, just type

#dpkg-reconfigure vhcs

Uninstall VHCS

#apt-get remove vhcs

If you want to delete all files related to VHCS, type

#dpkg –purge vhcs

If you are a ubuntu user you just use sudo before apt-get installing packages.

Tags: , , , , , , , , , , , ,
 

17 Responses to “VHCS ISP Control Panel Installation With Screenshots”

  1. razor7 Says:

    I report this works on ubuntu 6.06

    Thanks a lot!

  2. razor7 Says:

    if the tools are not installed (IE phpMyAdmin, webmail, filemanager)just run
    # apt-get install vhcs-gui-filemanager
    # apt-get install vhcs-gui-pma
    # apt-get install vhcs-gui-webmail
    # apt-get install vhcs-lang-en
    # apt-get install vhcs-lang-es

  3. razor7 Says:

    # apt-get install vhcs
    Ubuntu users maybe run into an error caused in the file /var/lib/dpkg/info/vhcs.postinst at line 1887, just go to that file and edit it to add this line “keysize => 32,”, without quotation marks, just above the line 1888. And also go to /var/www/vhcs2/engine/vhcs2_common_code.pl and edit it, adding this code “‘keysize’ => ‘32′,”, without quotation marks, in lines 1411 and 1447. Be advised, DO NOT ERASE ANY LINE, JUST ADD THIS CODE IN THE CORRECT PLACES.

  4. Admin Says:

    thanks for you nice suggestions

  5. moebius Says:

    Same problem has razor7 but in Debian. The trick solves the problem.

  6. edERn Says:

    I test it on a Debian “Sarge”, it works perfectly.

  7. Valentin Says:

    Hi,
    This source “deb http://apt.scunc.org/ sarge main” and
    this one “deb http://apt.k-inet.de/ sarge main”
    doesn’t work.

    What other source have I use?

    Valentin

  8. svenlohuis Says:

    have also a error at same place as valentin:
    -bash: deb command not found

    I’m linux novoice user. Please help

  9. Valentin Says:

    I have to put the followings sources (/etc/apt/sources.list) to run the command “apt-get update” without errors.

    Sources:

    deb http://apt.scunc.it/ sarge main
    deb-src http://apt.scunc.it/ sarge main

    Valentin

  10. forestcall Says:

    Anyone have any luck with Centos?
    If so what did you do to get it to work!! :-)

    Due tell!!!

    Thanks!

  11. Flash Says:

    Further to the post by razor7, you can do “apt-get install vhcs*” as an install step.

  12. grizz Says:

    Can I install it on working www server “on the fly” - without damage to currently installed sites ?
    thanks

  13. pawel Says:

    i got something like that. where is the problem ?

    If specified by -literal_key, then the key length must be equal to the chosen ci
    pher’s key length of 56 bytes at /var/lib/dpkg/info/vhcs.postinst line 1887
    dpkg: Fehler beim Bearbeiten von vhcs (–configure):
    Unterprozess post-installation script gab den Fehlerwert 2 zurück
    dpkg: Abhängigkeitsprobleme verhindern Konfiguration von vhcs-daemon:
    vhcs-daemon hängt ab von vhcs (= 2.4.7.1-2); aber:
    Paket vhcs bereitstellt, ist noch nicht konfiguriert.
    dpkg: Fehler beim Bearbeiten von vhcs-daemon (–configure):
    Abhängigkeitsprobleme - lasse es unkonfigurierta

    dpkg: Abhängigkeitsprobleme verhindern Konfiguration von vhcs-gui:
    vhcs-gui hängt ab von vhcs (= 2.4.7.1-2); aber:
    Paket vhcs bereitstellt, ist noch nicht konfiguriert.
    dpkg: Fehler beim Bearbeiten von vhcs-gui (–configure):
    Abhängigkeitsprobleme - lasse es unkonfiguriert
    Fehler traten auf beim Bearbeiten von:
    vhcs
    vhcs-daemon
    vhcs-gui
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  14. matteo Says:

    i have this problem with debian

    Setting up vhcs (2.4.7.1-2) …
    If specified by -literal_key, then the key length must be equal to the chosen cipher’s key length of 56 bytes at /var/lib/dpkg/info/vhcs.postinst line 1887
    dpkg: error processing vhcs (–configure):
    subprocess post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of vhcs-daemon:
    vhcs-daemon depends on vhcs (= 2.4.7.1-2); however:
    Package vhcs is not configured yet.
    dpkg: error processing vhcs-daemon (–configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of vhcs-gui:
    vhcs-gui depends on vhcs (= 2.4.7.1-2); however:
    Package vhcs is not configured yet.
    dpkg: error processing vhcs-gui (–configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    vhcs
    vhcs-daemon
    vhcs-gui
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    how i fix?

  15. Blade Says:

    Hi everobody. I get this message when I try to send a mail to my server.

    This is the Postfix program at host ytar.hu.

    I’m sorry to have to inform you that your message could not be be delivered to one or more recipients. It’s attached below.

    For further assistance, please send mail to

    If you do so, please include this problem report. You can delete your own text from the attached returned message.

    The Postfix program

    : unknown user: “info”

    If I send a mail from my server it’s working but when I try send a mail to my server it isn’t working.

    What can I do? How can i fix this problem?

    (OS: debian sarge + vhcs + etc)

  16. suw Says:

    Blade: edit /etc/aliases add this line,

    info: root

    save, then run newaliases command
    and you-re problem is fixed

    cheers

  17. Paul Says:

    I’ve another problem… I install vhcs2, fix it with var/lib/dpkg/info/vhcs.postinst at line 1887 and vhcs2_common_code.pl “‘keysize’ => ‘32′,”.

    I do everything that is write on this page and installation is complete, but in http://your-server-ipaddress/vhcs2/ I see empty page (thers nothing), no errors. I think that is problem whith mysql but I don’t kwon how to check it…

    any ideas?

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

Related Links:


Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.