Make sure the VM Server KVM is set to the VM Server machine you are using for the install, make sure the KVM channel is set to 00 (mine VM Server machine was connected to KVM button 8).
Turn on the VM Server computer on which you will install the VM server, Make sure the monitor at the monitor and keyboard station near the VM Server “farm” is turned on.
As it boots, press F2 on the keyboard to bypass the “System Setup” screen and go directly to the cmos setup.
Arrow down to the “Disk Configuration” item and press enter. A popup screen will appear.
On the popup screen, arrow down to “Primary Master Drive” and press enter. A popup screen appears.
On the popup screen, arrow to (if required) “Drive Type”; using the right or left arrow keys, set to the type “Auto”. Press enter to exit the second popup; press escape to exit the first popup.
On the BIOS setup main screen, arrow down to “Boot Sequence” and press enter. A popup screen appears.
On the popup screen, using the +/- arrow keys, move the “Integrated NIC” item to the second item on the list with the hard drive at the top of the list. Make sure it is enabled (square root symbol directly to the left of this item). If it isn't enabled, use the space bar to enable it. Press enter to exit the popup window.
On the BIOS setup main screen, arrow down to the “Integrated Devices (LegacySelect Options)” and press enter. A popup screen appears.
On the popup, arrow down to “Network Interface Controller” item. Using the right or left arrow keys, set the network interface controller to “On w/PXE”.
Press escape to exit the bios setup screen. Popup appears.
On the popup screen, arrow to (if required) the “Save Changes and Exit” item. Press enter to exit the BIOS setup screen.
Computer reboots.
Next, the Lair Network Boot Menu loads.
Select “Debian/i386 Netboot” and press enter.
Arrow to “Install Squeeze/testing [text]” if required and press enter.
At this point, the installation begins (defaults were selected throughout MOST but not all of the installation).
The “Select a language” screen is displayed. The default is “English”, press enter to select this item.
The “Select a location” screen is displayed. The default is “United States”, press enter this item.
The “Select a keyboard layout” screen is displayed. The default is “American English”, press enter this item.
The “Configure the network” screen is displayed. On this screen, the Host name: “dhcp-175” is entered automatically. press enter to continue.
The “Configure the network” screen is displayed. On this screen, the Domain name: “offbyone.lan” is entered automatically. Press enter to continue.
The “Choose a mirror of the Debian archive” screen is displayed. The default is “United States”. Arrow up to “Enter information manually” item and press enter.
The “Choose a mirror of the Debian archive” screen is displayed. The Debian mirror host name: “mirror” is entered automatically. Press enter to continue.
The “Choose a mirror of the Debian archive” screen is displayed. The Debian archive directory: “/debian/” is entered automatically. Press enter to continue.
The “Choose a mirror of the Debian archive” screen is displayed. HTTP proxy information is blank by default. Press enter to continue.
In the first installation od Debian Squeeze, the installation continued from here, however during the second installation, the installation failed because a file could not be insalled from the network archive. This was because there was a newer version that was avalable. When the failure occured, the installer is prompted to either retry or change the mirror. During the second installation the mirror was changed to thr RIT mirror.
Next, the “Set up users and passwords” screen is displayed. The Root password I entered was “bob”.
The “Set up users and passwords” screen is displayed. The installer is prompted to re-enter the password. I entered entered “bob”.
The “Set up users and passwords” screen is displayed. The installer is prompted to enter “The full name for the new user:” I entered “a”.
The “Set up users and passwords” screen is displayed. The installer is prompted to enter the username for the account. I entered “a”.
The “Set up users and passwords” screen is displayed. The installer is prompted to enter a password for the new user. I entered “a”.
Next, the “Configure the clock” screen is displayed. For Select your time zone: “Eastern” is the default. Press enter to continue.
The “Partition disk” screen is displayed. The default is “Guided-use entire disk”, press enter to continue.
The “Partition disk” screen is displayed. The disk to partition: SCSI 1 (0,0,0) (sda)-xxx.xxGB ATA Maxtor. has been entered automatically. Press enter to continue.
The “Partition disk” screen is displayed. Partitioning scheme: “All files in one partition (recommended for new users)” is the default. Press enter to continue.
The “Partition disk” screen is displayed. The default “Finish partitioning and write changes to disk” is displayed. Press enter to continue.
Partitioning message-“The following partitions are going to be formatted: Partition #1 of SCSI1 (0,0,0) sda as ext3; Partition #5 of SCSI1 (0,0,0) sda as swap.”
Popularity contest message “Configuring popularity contest: Participate in the package usage survey?”. Select <no>.
The “Software selection” screen is displayed. The default is “Graphical desktop environment”. Deselect this selection using the spacebar. Using the space bar, select the ssh server. If any other items are selected, deselect them using the space bar. Press enter to continue.
Configuring grub message: “Configuring grub-pc: Install grub boot loader to master boot record”, <yes>.
Installation complete <continue>.
Finishing the installation..
Computer reboots automatically.
Next, at the prompt as root vmserver04 login: root password bob
Now delete user a's account. At the command prompt, enter “userdel -r a” (a in this case is the name of the user)
Now change directory to /etc/apt and list the contents of the directory. At the command prompt, enter “ls”.
rename sources.list because we are going to download a new one into this disrectory. At the command prompt, enter “mv sources.list oldsources.list”.
-
Next, open sources.list with a text editor and replace all references to “lenny” to “squeeze” (squeeze was release last Sunday). On the command prompt, enter “vi sources.list”. In vi enter “:%s/lenny/squeeze/g”. Next to save the changes and quit vi, Enter “:wq”.
on the command line enter “aptitude update”.
Next on the command line, enter “aptitude upgrade”.
On the commmand line enter “aptitude search xen”.
Next, on the command line, enter “aptitude install xen-linux-system xen-tools”
Now on a remote computer, open a terminal and at the prompt enter “ssh root@vmserver04.student.lab”. When propmted, enter the password “bob”.
Next, edit the file /etc/xen/xend-config.sxp. on the command line enter “nano /etc/xen/xend-config.sxp”. In nano, search for “network-script”. Once this is located, uncomment “(network-script network bridge)”. Make sure you have no leading spaces on this line once you uncomment as Python doesn't like leading spaces. While in nano, make sure that the line “(vif-script vif-bridge)” is uncommented. Save the file and exit nano.
Next, edit the file /etc/xen/scripts/vif-common.sh. On the command line, enter “nano /etc/xen/scripts/vif-common.sh”. Locate the function “frob_iptable()”. Add “–physdev-is-bridge” to the two “iptables” lines so that they become “iptables “$c” FORWARD -m physdev –physdev-is-bridged –physdev-in “$vif” “$@” -j ACCEPT \ 2>/dev/null &&” and “iptables “$c” FORWARD -m state –state RELATED,ESTABLISHED -m physdev \ –physdev-is-bridged –physdev-out “$vif” -j ACCEPT 2>/dev/null”. Once these modifications have been made save and exit nano.
Now edit the file /etc/modules. on the command line enter “nano /etc/modules”. Find the line “loop” and change it to “loop max_loop=255”. Save the file and exit nano.
Edit the file /etc/xen-tools/xen-tool.conf. On the command line, enter “nano /etc/xen-tools/xen-tools/xen-tool.conf”. Delete the entire contents of this file using cntl-k. Next, paste the all of the text from the text field (dowiki code field) labelled “xen-tools…Config file, /etc/xen-tools/xen-tools.conf follows:” located on
http://lab46.corning-cc.edu/haas/system/sokraits_halfadder.offbyone.lan. Now change the line “arch = amd64” to “arch = i386”. Once these modifications have been made save and exit nano.
Next, edit the file /etc/default/grub. On the command line, enter “nano /etc/default/grub”. Verify that the line is set as follows, “GRUB_DISABLE_
OS_PROBER=true”. If it isn't, edit it so it so that it is. Once these modifications have been made save and exit nano.
-
Now run update-grub2. On the command line, enter “update-grub2”.
Now edit the file /etc/default/xendomains. On the command line, enter “nano /etc/default/xendomains”. In this file, make the following modification: change XENDOMAINS_SAVE from “XENDOMAINS_SAVE=/var/lib/xen/save” to “XENDOMAINS_SAVE=”“” (change XENDOMAINS_SAVE to an empty string). Also verify that XENDOMAINS_RESTORE is set to false: “XENDOMAINS_RESTORE=false”. Once these modifications have been made save and exit nano.
On the command line enter the command to reboot: “ reboot” (look across the room at the monitor at the VM server setup station to observe the reboot process).
Once the reboot has taken place, on the command line, enter “xm list”.