Palegray.net - Code, Linux/BSD, Tech, and more
Home Projects Tutorials Forums About Contact

Debian 6 (Squeeze) KVM Virtualization Howto

Install Debian 6 (Squeeze) on the Server

Download Debian 6 Installation Media

Download a fresh copy of the Debian 6 network install ISO. Burn this image to a blank CD and boot your server with it. Note: You must burn the image as an ISO CD image; you cannot simply burn it as you might an ordinary file.

Install Debian 6

You'll be greeted by the Debian 6 installer splash screen. Press "Enter" to continue.

Debian 6 installer splash screen.

Choose your language and press "Enter" to continue.

Debian 6 language selection.

Select your location and press "Enter" to continue.

Debian 6 location selection.

Select your keyboard mapping and press "Enter" to continue.

Debian 6 keymap selection.

Enter a unique hostname for your system and press "Enter" to continue.

Debian 6 hostname selection.

Enter your system's domain name and press "Enter" to continue.

Debian 6 domain name selection.

Select a strong root password, consisting of letters, numbers, and other characters.

Debian 6 root password selection.

Debian 6 root password confirmation.

Enter your full name when prompted, and press "Enter" to continue.

Debian 6 user full name selection.

Enter a username for your user account and press "Enter" to continue.

Debian 6 user account username selection.

Select a strong user account password, consisting of letters, numbers, and other characters.

Debian 6 user account password selection.

Debian 6 user account password confirmation.

Select your time zone and press "Enter" to continue.

Debian 6 time zone selection.

The disk partitioning program will start. Select "Manual" and press "Enter" to continue.

Debian 6 partitioning method selection.

Select your hard disk and press "Enter" to continue.

Debian 6 hard disk selection.

When asked whether you want to initialize the partition table, select "Yes" and press "Enter" to continue.

Debian 6 disk partition initialization selection.

Select "Create a new partition" and press "Enter" to continue.

Debian 6 new disk partition selection.

Select the newly allocated free space and press "Enter" to continue.

Debian 6 new disk partition free space selection.

To keep things simple, you may use all but one or two gigabytes of the available space for this partition. Enter a size and press "Enter" to continue.

Debian 6 new disk partition size selection.

Select "Primary" and press "Enter" to continue.

Debian 6 new disk partition type selection.

Select "Beginning" and press "Enter" to continue.

Debian 6 new disk partition location selection.

Select "Ext3" or "Ext4" for the filesystem type, "/" for the mount point, and then navigate to "Done setting up the partition" and press "Enter" to continue.

Debian 6 new disk partition details selection.

Select the free space remaining and press "Enter" to continue.

Debian 6 free disk space selection.

Select "Create a new partition" and press "Enter" to continue.

Debian 6 new disk partition selection.

Allocate your remaining disk space to the new partition.

Debian 6 new disk partition size selection.

Select "Logical" for the partition type and press "Enter" to continue.

Debian 6 new disk partition type selection.

Choose to use the new partition for swap, select "Done setting up the partition" and press "Enter" to continue,

Debian 6 new disk partition use selection.

Select "Finish partitioning and write changes to disk" and press "Enter" to continue.

Debian 6 new disk partitioning finished.

Debian 6 new disk partitioning write confirmation.

The base system will be installed. This will take a few minutes.

Debian 6 base sytsem installing.

Select a location near you when prompted for a mirror country.

Debian 6 mirror country selection.

Select a Debian archive mirror and press "Enter" to continue.

Debian 6 mirror URL selection.

If you need to use an HTTP proxy to access things outside your network, enter it here. Otherwise, leave this blank and press "Enter" to continue.

Debian 6 HTTP proxy selection.

If you wish to participate in the Debian package popularity contest system, select "Yes" and press "Enter" to continue.

Debian 6 popularity contest participation selection.

Select the "SSH server" and "Standard system utilities" package groups and press "Enter" to continue.

Debian 6 package group selection.

When asked whether to install the grub bootloader to the master boot record, select "Yes" and press "Enter" to continue.

Debian 6 grub master boot record installation selection.

After the installation has finished, your system will be rebooted. Be sure to remove any installation media before the reboot finishes. Your newly installed system should boot cleanly at this point.

Debian 6 fresh install booted.

Continue: Install and Configure KVM on the Server
Previous: Introduction and Prerequisites