Create My First VE under OpenVZ

After successfully install OpenVZ under CentOS4.6_x86_64, then I created a simplest VE.


#cd /vz/template/cache
#wget http://download.openvz.org/template/precreated/centos-5-x86_64.tar.gz
#vzctl create 101 --ostemplate centos-5-x86_64 --config vps.basic
#vzctl set 101 --onboot yes --save
#vzctl set 101 --hostname ve01.rubypdf.com --save
#vzctl set 101 --ipadd 192.168.0.101 --save
#vzctl set 101 --numothersock 120 --save
#vzctl set 101 --nameserver 213.133.98.98 --nameserver 213.133.99.99 --save
#vzctl start 101
#vzctl exec 101 passwd
#vzctl enter 101
#exit

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride

3 Responses to “Create My First VE under OpenVZ

Leave a Reply

You must be logged in to post a comment.