1885
Kommentar:
|
← Revision 4 vom 2022-11-25 22:05:56 ⇥
0
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 1: | Zeile 1: |
=== Tiny Debian Installation HOWTO === 1. Debiankiste besorgen und '''apt-get install debootstrap machen''' 1. Dann '''debootstrap --arch i386 --verbose -exclude=setserial,apt-utils,adduser,pcmcia-cs,info,man-db,tasksel,ed,manpages,modconf,ipchains,nvi,hostname,base-config woody /TARGETDIR &> /tmp/debootstrap.out''' 1. ausserdem weg mit: fdutils 1. Mir wurden immernoch ein paar Sachen zuviel installiert, darum: 1. '''chroot /TARGETDIR''' 1. '''apt-get remove --purge apt-get remove modconf nano pppconfig pppoeconf telnet gettext-base ipchains syslinux console-data,dhcp-client''' 1. '''apt-get install nano-tiny''' 1. per Hand hab ich folgendes geloescht (Alternative: in ein Archiv schieben, um es wiederherstellen zu koennen: '''tar cz --remove-files -f /tiny-removed.tar.gz {{{cat /root/to_remove.lst}}}''' - vorher chrooten!): 1. /usr/share/{man,doc,locale,zoneinfo,calendar} 1. /var/lib/apt/ 1. /var/cache/apt/archives 1. /usr/lib/gconv/{EBCDIC,GREEK,GEORGIAN,KOI,LATIN,MAC 1. /usr/games/banner 1. /usr/bin/{apt-cdrom,dselect,localedef,superformat,calendar} 1. /usr/lib/apt/methods/{cdrom,file} 1. /usr/lib/dpkg/methods/{floppy,disk} 1. /etc/cron.daily 1. /etc/{calendar,mediaprm} 1. /etc/init.d/nviboot 1. Nun wurden einige bestehende Tools durch dietlibc-compilte binaries ersetzt, den Link gibts irgendwo auf http://www.fefe.de 1. /bin/{bash,true,uname,umount,arch,ps,mount,ls,kill 1. /usr/bin/{wget,yes,tty,basename} 1. configs anpassen 1. /etc/apt/sources.list 1. /etc/network/interfaces 1. /etc/issues ;> 1. /etc/fstab -> /,proc,tmpfs auf /tmp,var/lib/apt/lists,/var/cache/apt/archives 1. vom Debian host kopiert: 1. /sbin/{ifup,ifdown} --> aus irgendeinem Grund funzte ifup -a sonst nicht. 1.done. bei mir sinds jetzt statt 80MB nach debootstrap 29MB. und ssh und wvdial sind drauf. |