vserver
by
Wyden Silvan
—
last modified
06.01.2010 14:12
//vserver (für debian lenny)
aptitude install linux-image-2.6.26-2-vserver-686 vlan util-vserver vserver-debiantools -> reboot pc
newvserver --hostname vserv01 --domain wydenvs.ch --ip 192.168.1.101 --mirror http://ftp.de.debian.org/debian --dist lenny
vserver automatisch aufstarten: echo default > /etc/vservers/vservX/apps/init/mark
vserver deb teilen: cp -pR /dev/usb /vservers/vservername/vdir/dev
vserver mit dhcp3: CAP_NET_RAW in /etc/vservers/<vserver>/bcapabilities
Limits with vserver:
- /etc/vservers/vserver-name/rlimits
A directory with resource limits. Possible resources are cpu, fsize, data, stack, core, rss, nproc, nofile, memlock, as, locks, msgqueue, nsock, openfd, anon, shmem, semary, nsems and dentry. This configuration will be honored for kernel 2.6 only.- resource
A file which contains the hard- and soft-limit of the given resource in the first line. The special keyword 'inf' is recognized. - resource.hard
A file which contains the hard-limit of the given resource in the first line. The special keyword 'inf' is recognized. - resource.min
A file which contains the guaranteed minimum of the given resource in the first line. The special keyword 'inf' is recognized. - resource.soft
A file which contains the soft-limit of the given resource in the first line. The special keyword 'inf' is recognized.
- resource
