Well..i guess that depends on where you want to set it up. If you've already installed all the tools and kernel from..say..openvz..there are two ways:
1) manual-type all the commands (time-consuming)
or..what I do:
2) make install scripts
This is quite a bit of info to set them up. Example:
vzctl create 101 --ostemplate centos-4-i386-default --config vps.basic
vzctl set 101 --hostname blah.com --save
vzctl set 101 --ipadd 220.127.116.11 --save
vzctl set 101 --nameserver 18.104.22.168 --save
vzctl start 101
vzctl set 101 --userpasswd root:123456789
Note this uses the vps.basic basic config that comes with openvz.
Also...please...do *not* use the password example.
As you can see...this vps is setup with centos-4. Three are many other options..not so many if you use the 64bit version, though.
A quick start from the openvz website is here:
Bryon L Harvey
Soil Relocation Engineer