A running Hostsystem
Howto install a hostsystem in debian sid
OpenVCP Daemon
Dependencies
- IPFM - IP Flow Meter http://robert.cheramy.net/ipfm/
- util-vserver >= 0.30.210 http://linux-vserver.org/
Preparation
Setup Ipfm to log the traffic
vim /etc/ipfm.conf
DEVICE eth0 LOG 192.168.1.1/255.255.255.0 FILENAME "/var/log/ipfm/%m/%d" DUMP EVERY 10 minutes CLEAR EVERY 24 hour
Customize it to fit your needs but keep the FILENAME directive because OpenVCP relies on the Format. Then restart ipfm "/etc/init.d/ipfm restart"
Installation
- wget http://files.openvcp.org/openvcpd-0.1-beta.tar.gz
- tar xfvz openvcpd-0.1-beta.tar.gz; cd openvcpd-0.1-beta
- ./configure --prefix=/usr --sysconfdir=/etc
- make; make install
- vim /etc/openvcpd.conf
- /bin/openvcpd
VServer Images
You can setup the location of the images in /etc/openvcpd.conf. Every Subdirectory will be treated as an Image. When you set up a new VServer the placeholder "#ROOTPASS#" will be replace in /etc/shadow of the image.
OpenVCP Webinterface
Dependencies
- Apache 1.3/2.0 http://www.apache.org
- MySQL 4.0/5.0 http://www.mysql.org
- PHP 4.3/5.0 http://www.php.net/
- PHP GD Extension http://www.php.net/gd
Installation
- wget http://files.openvcp.org/openvcp-web-0.1-beta.tar.gz
- tar xfvz openvcp-web-0.1-beta.tar.gz
- cd openvcp-web-0.1-beta
- vim config.inc.php
- Insert mysql.sql into Database (e.g. using phpmyadmin)
- login http://domain.com/openvcp-web-0.1-beta/admin/ User: Admin Password: test
