VPS creation
A procedure to create VPSs
Note: this article assumes you have already installed OpenVZ and prepared the OS template cache(s). If not, follow the links to perform the steps needed.
To create and start a VPS, run the following commands:
vzctl create VPSID --ostemplate osname vzctl set VPSID --ipadd a.b.c.d --save vzctl start VPSID
Here VPSID is the numeric ID for the VPS (for example, 100); osname is the name of the OS template for the VPS (for example, fedora-3), and a.b.c.d is the IP address to be assigned to the VPS (for example, 10.1.1.1).
Your freshly-created VPS should be up and running now; you can see its processes:
vzctl exec VPSID ps ax
See the vzctl(8) man page for more information.