Doorgaan naar hoofdcontent

Posts

Posts uit april, 2010 tonen

PXE rescue ploplinux

Een tijdje terug heb ik kennis gemaakt met de voordelen van PXE boot vanaf een tftp server . Het grote voordeel is dat je geen medium meer hoeft te maken om iets te installeren of een rescue operatie uit te voeren. Eén keer installeren op het netwerk en nooit meer zeulen met CD of usbstick, die bovendien altijd kwijtraken. Daarna heb ik nog een tijdje gezocht naar een geschikt image om snel een volwaardige linux te kunnen booten. Uiteindelijk is dat ploplinux geworden. De aanwijzingen voor PXE kunnen hier gevonden worden . In deze aanwijzingen wordt een samba share gegeven om het image te kunnen laden. Ik heb dat vervangen door nfs, mede omdat ik geen windows gebruik. De append initrd regel wordt dan zoiets als: append initrd=initrfs.gz vga=1 nfsmount=192.168.x.x:/export/ploplinux Een ander belangrijke tip is het bestand runme.sh, de rc.local van ploplinux. Als je opstart parameters wil veranderen moet je hier zijn. Het staat in ploplinux/ploplinux/myscripts. Vanuit runme.sh ...

Maillist using procmail

OS: UNIX in general PACKAGE: procmail Why Some time ago I received a list of email addresses wich I needed to sent a bulk message to. Because I didn't had an easy solution like copy-paste and typing some easy comments, I started to look for a recipe with procmail. I found one here . This recipe is just like so many UNIX recipes: nice, but it has to be tweaked before it's ready to serve. dedicated user First of all: assign this procmail rules to a dedicated UNIX user. It will prevent mixing up with procmail rules in your own account. Of course it is more professional this way :-) Make sure that your MTA can deliver email to this user, also make sure this user can send email assigning a different user like the sendmail -f option. In sendmail, use the virtuserstable. controling the mail list I created three brands of procmail rules: open, semi-open and closed. Closed is a list to wich only the owner can send email to, and of course he is also the only one who can put...