Debian setup

Installation

I am going to assume that you have some knowledge of Debian installation, so we will go through the installation pretty quick.

Begin

  1. Insert the Debian Etch CD

  2. power on or reboot

  3. hit enter to boot the default kernel

  4. Select English (or you language of choice)

  5. Select Australia (or your country of choice)

  6. Select American English (or your keboard of choice)

Network

  1. Select eth0 (or the first Broadcom interface)

  2. DHCP should fail (unless you have a DHCP server on your network in which case ignore the next few steps)

  3. enter iP address (select either the IP address for eddie or russell)

  4. Netmask 255.255.255.0

  5. gateway 192.168.1.1

  6. nameserver "192.168.1.2 192.168.1.3"

  7. enter hostname (eddie or russell)

  8. enter domain name, example.org

Disk Patiitions

  1. partition manually

  2. Leave the existing partitions (this is up to you of course)

  3. Create a new ext3 primary partition at the beginning of the disk of size 200MB mounted at /boot (will end up showing up as 197.4MB)

  4. Create a new physical volume for LVM at the beginning of the disk using all remaining space

  5. Configure Logical Volume Manager

  6. Write the changes to disk

  7. Create a new volume group using all the physical volume with the name the same as the machine.

  8. Create a new logical volume called root of size 10G (will end up showing up as 10.7GB)

  9. Create a new logical volume called swap of size 2G (will end up showing up as 2.1GB)

  10. Finish

  11. Make the swap logical volume usable as swap

  12. Make the root logical volume ext3 mounted at /

  13. Finish

  14. Write the changes.

System

  1. Timezone: Sydney (or your choice of timezone)

  2. Set root passwd

  3. Create a system user

Package Management

  1. Use a network mirror? Yes

  2. Enter information as appropriate for your contry, I ran an apt proxy so I chose manual.

  3. Package Survey: Yes

  4. tasksel: select base system

  5. Install Grub: Yes

  6. reboot

SSH

eddie:~# aptitude install openssh-server

Now use ssh, it is much simpler than sitting on the console or DRAC all day.

Install Extra Software

Add a new repository to your /etc/apt/sources.list.

deb http://www.performancemagic.com/~gregc/debian ./

Now install some packages that we will need.

eddi:~# aptitude update
eddi:~# aptitude install binutils bison bridge-utils bzip2 cpp cpp-4.1 dmsetup dpkg-dev gcc gcc-4.1 \
hdparm ifenslave ifenslave-2.6 iproute kpartx libatm1 libc6-dev libc6-xen libssp0 \
linux-headers-2.6-xen-686 linux-headers-2.6.18-5-xen linux-headers-2.6.18-5-xen-686 \
linux-image-2.6-xen-686 linux-image-2.6.18-5-xen-686 linux-image-xen-686 \
linux-kbuild-2.6.18 linux-kernel-headers linux-modules-2.6.18-5-xen-686 make \
module-assistant multipath-tools open-iscsi screen sdparm ssh sudo sysstat \
xen-hypervisor-3.0.3-1-i386 xen-hypervisor-3.0.3-1-i386-pae xen-utils-3.0.3-1 \
xen-utils-common dellomsa snmpd

Accept the non-verified packages.

Proudly sponsored by whatisxenhosting.com