Install ISPconfig3 on Debian Wheezy + OpenVZ

Discussion in 'Installation/Configuration' started by crt, Jun 1, 2013.

  1. crt

    crt New Member

    Hi,

    I have been trying to install ISPconfig3 based on the following howtos:

    Installing OpenVZ + Management Of VMs Through ISPConfig 3 (Debian 6.0)
    The Perfect Server - Debian Wheezy (Apache2, BIND, Dovecot, ISPConfig 3)

    First, I have installed OpenVZ kernel and packages.

    I have inserted OpenVZ repository to the sources.list:

    Code:
    # OpenVZ kernel packages:
    deb http://download.openvz.org/debian wheezy main
    OpenVZ kernel and packages have been installed successfully and after reboot, the system is working fine.

    Then I have started to install packages according to "The Perfect Server - Debian Wheezy (Apache2, BIND, Dovecot, ISPConfig 3)" howto, but at section 11, I got the following error:

    Code:
    Unpacking linux-libc-dev:amd64 (from .../linux-libc-dev_3.2.41-2+deb7u2_amd64.deb) ...
    dpkg: error processing /var/cache/apt/archives/linux-libc-dev_3.2.41-2+deb7u2_amd64.deb (--unpack):
     trying to overwrite '/usr/include/mtd/ubi-user.h', which is also in package vzkernel-headers 2.6.32-042stab059.7
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/linux-libc-dev_3.2.41-2+deb7u2_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    My question is how I could resolv this conflict between vzkernel-headers and linux-libc-dev packages?

    Thank you for your help.
     
  2. grandall

    grandall New Member

    work around.

    i was able to get OpenVZ up and running by following method 2.1 in the walkthrough below:
    http://www.howtoforge.com/installing-and-using-openvz-on-debian-wheezy-amd64


    note** sections 2.2 and 2.3 can be ignored/skipped

    afterward, I tired to enable in ISP config and failed. It was creating an entry in the ISPConfig panel but not on the machine. I then switched to ovz-web-panel for managing my virutal machines

    https://code.google.com/p/ovz-web-panel/


    it required ruby be switched to 1.8 so first i ran
    info: http://wiki.debian.org/Ruby

    Code:
    # apt-get install ruby-switch
    
    # ruby-switch ruby1.8
    
    and then i was able to successfully install ovz-web-panel

    works great and recognized the previous machine i setup via command line.

    if you figure out how to setup in ISPconfig3 please post.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    @grandall: Just follow this guide to install ispconfig to manage openvz virtual machines:

    http://www.howtoforge.com/installing-openvz-plus-management-of-vms-through-ispconfig-3-debian-6.0

    @crt: you cant mix these two howtos as openvz will not work when quota packages are instakled. For that reason, the openvz server tutorial is a separate tutorial and not part of the perfects etup guide.

    So the steps are:

    1) Install ispconfig as described in the openvz guide.
    2) Create a vm inside ispconfig and then install a slave instance of ispconfig in the vm to host the websites, mail etc.
     
  4. grandall

    grandall New Member

    first of all thank you for your reply.

    I have decided not to use a web interface to manage my openvz containers. I really only want a container with an ISP config instance for hosting my mail/http traffic and separate dev container to test out other software without making changed to my setup. I have a couple of questions.

    1.) will venet (with forwarding/masquerading) be adequate for ISPConfig3 to host mail/http traffic? If not what is the recommend network setup for running ISPConfig inside a OpenVZ container?

    2.) when setting up a slave instance of ISPConfig 3 (I assume you just mean following the perfect setup guide as normal) in container 101, should I install the quota and quotatool packages, or can this be ignored in favor of a OpenVZ container specific method?

    *if it can be skipped I assume I should be using Second-Level Quotas for Container wich should be managed by vzquota (please correct if I am wrong.)

    **if it SHOULD be completed as normal how i configure /etc/fstab in the container.
     
    Last edited: Jun 11, 2013

Share This Page