This project aims to proivde a minimal server/desktop Debian setup
The Installation is automated through the use of preseed file
(see http://wiki.debian.org/DebianInstaller/Preseed for more information)
A bash script will take care of the remaining stuff
These settings are my personal preferences, and might not fit for everyone / everything. Extend them as you need
Get the latest Debian net install image (x86 or x64) and boot it.
(see http://wiki.debian.org/DebianInstall for more information)
I use this kernel and initrd for installation
- kernel x86: ftp://ftp.debian.org/debian/dists/squeeze/main/installer-i386/current/images/netboot/debian-installer/i386/linux
- initrd x86: ftp://ftp.debian.org/debian/dists/squeeze/main/installer-i386/current/images/netboot/debian-installer/i386/initrd.gz
- kernel x64: ftp://ftp.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux
- initrd x64: ftp://ftp.debian.org/debian/dists/squeeze/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
After booting your installation device, press TAB (or something like that, depends on your bootloader) and edit the command run by the bootload.
/path/to/kernel initrd=/path/to/initrd auto=true url=webserver.example/path/to/preseed-file ex: linux initrd=initrd auto=true url=http://w4rh4wk.dyndns.org/tftp/debian/scripts/debseed
(see http://www.debian.org/releases/stable/amd64/ch05s03.html.en for more installation)
Complete the installation.
Boot the new installed system and login with user=root, pass=toor (ssh is installed) Then download the bash script.
wget http://webserver.example/path/to/post-install-script ex: wget http://w4rh4wk.dyndns.org/tftp/debian/scripts/debpost
edit the file so it fits your needs, then execute it
bash post-install-script ex: bash debpost
See Debian Wiki and Google for more information.
"THE BEER-WARE LICENSE" (Revision 42): <Ax.Warhawk@gmail.com> wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Alex "W4RH4WK" Hirsch This project is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.