This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:hpc0:kdenson_projects:project_3 [2010/05/13 18:43] – kdenson | notes:hpc0:kdenson_projects:project_3 [2010/05/13 18:48] (current) – kdenson | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===Project 2 - VM Server Install=== | ||
+ | First step of this project is to do a fresh install of the physical VM server. | ||
+ | - F12 -> System Setup -> Integrated Devices -> Integrated NIC. Restart. | ||
+ | - 32-bit(i386)-> | ||
+ | - Setup -> Enter mirror manually -> mirror -> / | ||
+ | - Setup install -> install nothing -> install grub boot loader | ||
+ | - Reboot and change the boot prioirty back to normal. | ||
+ | |||
+ | While running as root run the following.... | ||
+ | - userdel -r vm02 | ||
+ | - cd/etc/apt | ||
+ | - rm sources.list | ||
+ | - wget http:// | ||
+ | - aptitude updaate | ||
+ | - aptitude upgrade | ||
+ | | ||
+ | Next... | ||
+ | - Aptitude install openssh-client open ssh-server | ||
+ | - aptitude install xen-linux-system-2.26.26-2-xen-686 | ||
+ | - aptitude install xen-tools | ||
+ | |||
+ | Next... | ||
+ | - cd /etc/xen | ||
+ | - vi xend-config.sxp | ||
+ | - Find the line (network-script network-bridge) and remove the # to uncomment this line. | ||
+ | - Find the line (network-script network-dummy) and add a # to commentout this line. | ||
+ | - Make sure that (vif-script vif-bridge) | ||
+ | - To quickly find these lines rather than scrolling through hit enter while not in insert mode and use a forward slash(/) and type in what you want to match. | ||
+ | |||
+ | Next... | ||
+ | - vi / | ||
+ | - Set loop maxloop = 255 | ||
+ | |||
+ | Next... | ||
+ | - cd /boot/grub | ||
+ | - vi menu.lst~ | ||
+ | - Scroll down untill you find 4 lines pertaining to xen that do not have a .gz attached to them; remove those lines. | ||
+ | - Do this for the 3rd and 4th group of quad lines as well. | ||
+ | - After you've removed those 3 groups of 4 lines. There should be one remaining, on the line speficied as Kernal change it to match.. | ||
+ | * kernel | ||
+ | | ||
+ | Next... | ||
+ | - cd / | ||
+ | - vi xen-tools.conf | ||
+ | - Search for the line #dir = /home/xen | ||
+ | - Remove the # and /home from the line. It should look like dir = /xen | ||
+ | - Uncomment install-method = debootstrap | ||
+ | - Down a little further find the "Disk and Sizing options" | ||
+ | * size = 2Gb | ||
+ | * dist = lenny | ||
+ | - Down further find the line that says dhcp = 1, and uncomment. | ||
+ | - Going further, the line passwd = 1, uncomment. | ||
+ | - serial_device = hvc0 #default, uncomment at the beginning of the line, leave the #default alone. | ||
+ | - A couple lines down, disk_device = xvda #default, uncomment, leave #default the same. | ||
+ | - At the bottom of the file uncomment and change the output line to match | ||
+ | * output = /xen/conf | ||
+ | - And the same for the extention line, it should read as.. | ||
+ | * extension = .cfg | ||
+ | | ||
+ | Next | ||
+ | - cd / | ||
+ | - mkdir /xen | ||
+ | - mkdir /xen/images | ||
+ | - mkdir /xen/conf | ||
+ | - mkdir /xen/save | ||
+ | * These can all be done at the same time, like... | ||
+ | * mkdir /xen /xen/images /xen/conf /xen/save | ||
+ | |||
+ | At this point you should reboot, and see your final product up and running! |