You are here: Home Linux Misc vserver
Search
Advanced Search…
E-Mail

Webmail: webmail.wyden.com

E-Mail Preferences: postfix.wyden.com/users

E-Mail Administration: postfix.wyden.com

Statistics
Total: 463
Total Pages: 284
Total Folders: 87
Total Files: 18
Total Links: 26
Last modification: 03.02.2012 16:00
 

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.