up:
  1. @Created: 2007-12-26 16:29:23

  2. Kaja is a virtual host running grml, located at the Bürgernetz Ulm.

    1. We'll bootstrap from a netbooted Grml installation by installing it to /dev/hda using grml2hd. All steps should be done in screen(1) in case the network connection breaks.

    2. First, we need to partition the disk.

      1. I decided to make a 6gb /root+/boot, 2gb /swap and 12gb /home.

    3. grml2hd

      1. Install on /dev/hda1.

      2. Install the boot manager to mbr.

      3. Use ext3.

      4. grml2hd now copies all stuff. (Takes roughly 20 minutes.)

      5. No additional boot parameters.

      6. Hostname: kaja.

      7. Default keyboard.

      8. en with unicode as language.

      9. Set passwords.

      10. grml-autoconfig: Disable gpm.

      11. grml-setservices: Disable mdadm.

      12. remove-packages-server: Keep bind9, dirvish, filetraq.

      13. Use lilo.

    4. mkswap /dev/hda2.

    5. mkfs.ext3 /dev/hda3.

    6. Adapt /mnt/hda1/etc/fstab.

    7. Mount /dev/hda3(!) and cp -a /mnt/hda1/home/* /mnt/hda3.

    8. Reboot and pray.

    9. Clean up ~.

    10. apt-get update.

    11. Remove all (most) X11 packages (start with x11-common).

    12. Remove various Opt/Xtr stuff. Don't forget to purge.

    13. apt-get upgrade.

    14. Install exim4-base.

    15. Enable IPKFSTART=1 in /etc/default/ipkungfu and configure it. Add ipkungfu in runlevel.conf.

    16. Setup BIND9. Add bind9 in runlevel.conf. Make sure port 53 is open on TCP and UDP(!).

    17. Install ruby1.8-dev. And the rest of apt-cache showsrc ruby1.8. (Suckers.)

    18. Add id_dsa.pub to ~/.ssh/authorized_keys.

    19. Install collectd.

    20. Setup rrdtool. rrdtool graph prints 0x0.

    21. Setup gitweb.

    1. The default xterm-color terminfo is not VT220 compatible. (Backspace and Delete are swapped with Terminal.app.)

      1. Hack solution: cp /lib/terminfo/x/xterm-debian /etc/terminfo/x/xterm-color