Debian Linux Installation Lab Spring 2013
In this lab you will be installing Debian Linux in a KVM (Kernel Virtual Machine). You will be guided through a series of steps to setup the network (IP addresses, default gateway, etc).
Please follow the steps below very carefully. If you make a mistake, you may have to start from scratch. Take your time. This is not a race, go slow and learn.
We will go through the first part of this lab as a class….so keep in pace with everyone, don’t jump ahead.
Follow the instructions below, and watch what is on the screen, carefully and slowly. Work together with your partner and class. Watch what is happening. Questions on the mid-term and final will include questions from this lab.
There are two machines at each station in this lab, one is in a sling under the table which is a Rutgers Linux system on the internet, and the other is a small form factor system sitting on the desk under the monitor that we'll be using for this class. On the monitor, you will see a label, like “HPCLAB##”, that is the name of the Rutgers Linux system, for our lab systems, drop the
“HPC” part of the label, and just use the “lab##” (all lowercase) as your hostname for your system. So in other words, if you are sitting at “HPCLAB01”, then make sure you name your system “lab01”, and your IP address will be 192.168.1.101. The person sitting at “lab14” will have an IP address of 192.168.1.114”. If you are not sure what your IP address is for your system, just ask. It's important that you use the correct IP address for your system, or you will run into problems later.
II. Installing Debian Linux:
1. Just as you did with the Windows install, we need to setup a virtual machine to install Linux on. So log into the KVM host.
2. Setup a new virtual machine, by doing the following:
•
Press the “New” button to create a new virtual machine.
•
Step 1 of 5: For “Name” enter “linux-lab##”, in other words, if you are sitting at
“HPCLAB01”, you would enter “linux-lab01”. Make sure that “Local install media (ISO image or CDROM)” is selected, then click “Forward”.
•
Step 2 of 5: For install media, choose “Use ISO image” and click the “Browse...”
button, then select “debian-6.0.6-amd64-DVD-1.iso” and click “Choose Volume”. For “OS Type” choose “Linux” and for “Version” choose “Debian Squeeze” and then click “Forward”.
•
Step 3 of 5: For memory, choose “1024” (MB) and for CPUs, choose “2” and then click “Forward”.
•
Step 4 of 5: Make sure “Enable storage for this virtual machine” is selected and choose to “Create a disk image on the computer's hard drive” and set the size to
“15” (GB), and un-check the “Allocate entire disk now” and then click
“Forward”.
•
Step 5 of 5: Confirm that your setup looks similar to these settings:
•
OS: Debian Squeeze
•
Install: Local CDROM/ISO
•
Memory: 1024MB
•
CPUs: 2
•
Storage: 15.0 GB /vm/linux-lab##.img
•
You'll also see an “Advanced options” area, don't change anything in there, but feel free to look in there where you can set different options like MAC address and architecture (32bit/64bit). The defaults are fine for us, so again, no need to change anything in there. Just click “Finish”.
•