Print

Previous page Parent page Next page TOC
Structure   (4.11)   Documentation  >  Configuration  >  OpenVZ
OpenVZ Containers


Starting OpenVZ:
service vz start

Note: Remember to enable ip forwarding in /etc/net/sysctl.conf .

Creating an OpenVZ container:
Download the template to /vz/template/cache
vzctl ceate 20 --ostemplate idms-linux-4.1-x86


Redirecting a OpenVZ container to a ttty:
vzctl set 20 --devnodes "tty8:rw" --save
vzctl set 20 --devices "c:4:8:rw" --save
ln -sf tty8 20/private/dev/
echo tty8 >> 20/etc/udev/makedev.d/50-installer-fixup.nodes
MAKEDEV -d 20/private/dev tty8




Copyright © 2000-2009, AllWorldIT
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.