hacker emblem

admin's blog

Using the etch DVD as local Debian mirror

When booting the Debian installer via PXE (see the relevant chapter in the Installation Guide for how to setup DHCP/TFTP and where to download the necessary files), the next logical step is to use a local Debian mirror in your network.

read more | add new comment

Comparing process environments

Using the entry in the proc-Filesystem of a running process, it's easy to get a sorted list of environment variables for a certain process ID (PID):

tr '\0' '\n' < /proc/<PID>/environ | sort

Since the lines in environ are null-terminated, putting proper newlines in the output with tr is necessary before sorting. (sort can only output lines terminated with \0 using the option -z, but not read them, besides: even -z doesn't quite work as expected in my case)

read more | 1 comment

diff remote files interactively with vim and ssh

Oh, this comes in handy:

vimdiff /path/to/file scp://remotehost//path/to/file

Damn, how many features do I actually know of vim? (thanks, Mika for pointing this out, there's even a blog post about it)

add new comment

gnupg, apt-get und die Uhrzeit

Beim Installieren von Debian etch auf einem Linksys NSLU2 ist mir heute folgendes Problem untergekommen:

read more | add new comment

Aergernisse bei checkinstall bzw. installwatch

checkinstall ist zwar einfacher anzuwenden als ein richtiges Debian oder RPM-Paket zu bauen, und natuerlich ist ein richtiges Package gerade beim Verteilen auf mehrere Rechner praktischer, trotzdem ist es halt nur eine Kruecke.

read more | add new comment
Syndicate content