OpenVZ Forum


Home » General » Support » Howto config ve of ram 1GB
Re: Howto config ve of ram 1GB [message #24708 is a reply to message #24707] Sat, 08 December 2007 00:50 Go to previous messageGo to previous message
blunt is currently offline  blunt
Messages: 16
Registered: October 2007
Junior Member
Well here is a little tutorial on how to create a VPS:

#change to the dir where you have your templates
cd /var/lib/vz/template/cache

#get the template from the openvz site
wget http://download.openvz.org/template/precreated/[filename]
# create with the template you have downloaded
vzctl create [number] --ostemplate debian-3.1-i386-minimal --config vps.basic
# set onboot to boot the VPS on server boot
vzctl set [number] --onboot yes --save
# set vps hostname
vzctl set [number] --hostname hostname.org --save
#set ip
vzctl set [number] --ipadd 192.168.1.130 --save
#set number of sockets (may not be needed)
vzctl set [number] --numothersock 120 --save
#set the ip of a dns server (local or on the internet)
vzctl set [number] --nameserver 192.168.1.130 --save
# start vps
vzctl start [number]
#set root password
vzctl exec [number] passwd

hope this helps Smile
 
Read Message
Read Message icon10.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon10.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] where do I download brctl ?
Next Topic: migration?
Goto Forum:
  


Current Time: Thu Oct 02 05:24:53 GMT 2025

Total time taken to generate the page: 0.10056 seconds