User Tools

Site Tools


user:bh011695:vm_server_install

VM Server Install

Debian Installation

  • Select Debian Lenny text version
  • Set root password to “bob”
  • Choose software choice: “nothin'”
  • Grub: yes
  • Ctrl+] to detach from login

New sources.list and Xen Installation

  • Log in as root
  • Remove user vm02: userdel -r vm02
  • cd /etc/apt
  • rm sources.list
  • wget http://10.80.2.6/ files/student/sources.list
  • aptitude:
    • update
    • upgrade
    • install open-ssh client
    • install open-ssh server
    • install xen-linux-system-2.6.26-2-xen-686 xen-tools

xend-config.sxp

  • cd /etc/xen
  • vi xend-config.sxp
  • /network script - search for the first line and uncomment it
  • /network-dummy - search for this line make sure it's commented out
  • /vif-script - search for this line paired with vif-bridge and uncomment
  • save and exit vi

Modules and menu.lst

  • vi /etc/modules
  • change “loop” to “loop max_loop=255”
  • save and exit vi
  • cd /boot/grub
  • vi menu.lst
  • /kernel - search for this lined paired with gz
  • add “dom0_mem=262144” to the end of the above line
  • save and exit vi

xen-tools.conf

  • cd /etc/xen-tools
  • vi xen-tools.conf
  • /dir - look for dir=/home/xen
  • uncomment and change dir=home/xen to dir=/xen
  • /install-method - look for this paird with bootstrap make sure its uncommented
  • /size - search for size and change size = “xx” to “2GB”
  • memory = 128Mb
  • swap = 128Mb
  • dist = lenny
  • image = full
  • /dhcp - search for dhcp and uncomment
  • /passwd - search for passwd and uncomment
  • /mirror
  • /ext_3 - look for paired with FS and uncomment
  • /serial_device - search for and uncomment hvc0 line
  • /disk_device - search for and uncomment xvda line
  • /output - uncomment and change to /xen/conf
  • /extension - search for and uncomment

Housekeeping

  • mkdir /xen /xen/images /xen/conf /xen/boot /xen/save
  • reboot
  • uname -a xmlist
  • xm list
  • xm help
user/bh011695/vm_server_install.txt · Last modified: 2010/05/11 16:37 by bh011695