Wenn möglich die netinstall verwenden, und ein “stable” System installieren. Als Bootkernel immer expert auswählen. Das System Sollte grundsätzlich auf Englisch installiert werden, die Deutschen/Schweizer Locales sollten auch installiert werden, aber als default muss en_US.UTF-8 ausgewählt werden, das Tastaturlayout ist de-CH.UTF-8.
* Choose a language: english > Choose a contry: other > Europe > Switzerland > Choose a locale: en_US.UTF-8 > Choose other locals: de_CH.UTF-8
* Select a keyboard layout: PC-style > Swiss German
* Detect and mount CD-ROM: Continue > Start PC card services (PCMCIA)? NO
* Load installer componets from CD: nichts auswählen > Continue
* Detect network hardware: floppy (Linux Floppy) deaktivieren > Continue
* Configure the network: DHCP oder statische IP
* Detect disks
* Partition disks (siehe unten)
* Configure time zone: Europe/Zurich
* Configure the clock: set to UTC? NO
* Set up users and passwords: enable shadow passwords? YES > Allow login as root? YES > Create a normal user account now? YES > Full name: USERNAME > Username: username
* Install the base system > Kernel to install: 2.6.??-?-686
* Configure the package manager: Use a network mirror? YES > Siwitzerland > (mirror: ETH Zürich sonst SWITCH) > (kein Proxy) > Use non-free software? YES
* Select and install software? diesen Punkt nicht auswählen, auch wenn jede Paketauswahl deaktivieren ist, werden immer noch diverse unnötigen Packete installiert
* Install the GRUB boot loader on a hard disk: Install the GRUB boot loader on the master boot record? YES > kein GRUB password setzten
* Finish the installation
Partitioning method: Manuel
* / type ext3, primary, bootable flag, Grösse mind. 10G (wenn wenig Platz ist 6GB)
* SWAP type swap primary Grösse mind. doppelte Grösse von physikalischem RAM bis 1GB danach nicht mehr doppelte Grösse
das LVM auch als primary mit dem restlichen Speicher
* /var type ext3 Grösse mind. 10G (Nach möglichkeit im LVM)
* /home type ext3 Restlicher Platz (im LVM nach Möglichkeit noch Platz freilassen)
Falls man mehrere Partitionen für Benutzer-Daten braucht diese unter das /home mounten. Z.B. /home/archiv, /home/public. Natürlich auch mit LVM.
Basis System
vi /etc/apt/source.list (deb cdrom auskommentieren)
#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ – Official amd64 NETINST Binary-1 20090413-22:20]/ lenny main
deb http://ftp.ch.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.ch.debian.org/debian/ lenny main non-free contrib
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
linux:~# apt-get update
linux:~# apt-get upgrade
linux:~# apt-get install bzip2 mc libncurses5-dev tcpdump ngrep iptraf vim nmap acl rsync wget mutt postfix \
strace make gcc tar cron iptables iproute screen hdparm hwinfo ntpdate links dnsutils ssh less psmisc ftp \
mailx util-linux lvm2 pciutils links lsof sysstat