=====Debian VM Server Install===== - Hit F12 for the boot menu when the system starts - Go to the BIOS setup and change the option for the network controller to On w/ PXE and reboot - Hit F12 and boot from the integrated NIC - Choose 32-Bit Debian Lenny, text install - Choose the language for the install - Choose United States with American English keymap - Keep the hostname and domain name the same - Choose manual entry of information for mirror country and enter mirror - Keep the package directory and proxy information the same - Choose eastern time for the time zone - Choose guided partition, use entire disk - Choose the only hard drive - Set the partitioning to put all files in one partition - Finish partitioning and write changes to disks - Set root password - Set the username and password for the user - Select not to participate in package usage survey - Uncheck all package information in the choosing functions section and reboot once complete - Delete /etc/apt/sources.list and then wget it from http://10.80.2.6/files/student/sources.list - Perform aptitude update and aptitude upgrade - Change the contents of /etc/modules to be 'loop max_loop=255' - Perform aptitude install xen-linux-system-2.6.26-2-xen-686 xen-tools openssh-server openssh-client - Confirm vif-script and vif-bridge is set and set network-bridge and network-script in /etc/xen/xend-config.sxp - Add 'dom0_mem=262144' to the end of the kernel option in the first section of the grub menu in /boot/grub/menu.lst - Delete the two entries directly below the first kernel section - Change the contents of /etc/xen-tools/xen-tools.conf to be the same as the blocked text on the project page [[http://lab46.corning-cc.edu/haas/hpc0/projects/vm_server_install]] - Create the directories /xen, /xen/images, /xen/boot, /xen/conf, and /xen/save and reboot =====Creating Virtual Machines====== - Use ssh to get into the VM Server we created in the previous project. - Issue this line 'xen-create-image --hostname=vm02 --mac=00:16:3e:2e:c0:02 --role=udev --force' to create the virtual machine - Issue a password for the machine and confirm it - After that finishes issue the command 'xm create -c /xen/conf/vm02.cfg' to boot the virtual machine * Log in with root and the password you created in Step 3 * You can list active machines with 'xm list' * Exit and then detach from the machine by issuing an exit command and pressing Ctrl-] to detach from it * You can login later by issuing the command 'xm console vm02'