pydelion.com

How to create new OpenVZ container

cd /vz/template/cache ; wget https://download.openvz.org/template/precreated/centos-6-x86_64.tar.gz
vzctl create 100 --ostemplate centos-6-x86_64 --layout simfs

You can omit

--layout simfs

if you’d like to use ploop.

vzctl set 100 --hostname example.com --save
vzctl set 100 --ipadd 192.168.1.1 --save
vzctl set 100 --nameserver 8.8.4.4 --save
vzctl set 100 --nameserver 8.8.8.8 --save

And we are ready to go.

vzctl start 100
vzctl enter 100
Exit mobile version