This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:bh011695:vm_server_install [2010/05/11 19:15] – bh011695 | user:bh011695:vm_server_install [2010/05/11 20:37] (current) – bh011695 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====VM Server Install===== | ||
+ | ===Debian Installation=== | ||
+ | *Select Debian Lenny text version | ||
+ | *Set root password to " | ||
+ | *Choose software choice: " | ||
+ | *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:// | ||
+ | *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 | ||
+ | */ | ||
+ | */ | ||
+ | *save and exit vi | ||
+ | ===Modules and menu.lst=== | ||
+ | *vi / | ||
+ | *change " | ||
+ | *save and exit vi | ||
+ | *cd / | ||
+ | *vi menu.lst | ||
+ | */kernel - search for this lined paired with gz | ||
+ | *add " | ||
+ | *save and exit vi | ||
+ | ===xen-tools.conf=== | ||
+ | *cd / | ||
+ | *vi xen-tools.conf | ||
+ | */dir - look for dir=/ | ||
+ | *uncomment and change dir=home/ | ||
+ | */ | ||
+ | */size - search for size and change size = " | ||
+ | *memory = 128Mb | ||
+ | *swap = 128Mb | ||
+ | *dist = lenny | ||
+ | *image = full | ||
+ | */dhcp - search for dhcp and uncomment | ||
+ | */passwd - search for passwd and uncomment | ||
+ | */mirror | ||
+ | *mirror = http:// | ||
+ | */ext_3 - look for paired with FS and uncomment | ||
+ | */ | ||
+ | */ | ||
+ | */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 |