2005-06-15

apt-get install wordpress

i installed the debian wordpress package. it supports multiple blogs via hostname. very nice. see /etc/wordpress

custom themes can be linked into the wordpress directory with
ln -s /www/domain.tld/mytheme /usr/share/wordpress/wp-content/themes/mytheme

2005-06-14

removing domains from mokey

i don't know if it makes sense to write a script for this, so i created a checklist for manual removal of a domain. check it out at /usr/local/hosting/doc/checklist_domain_removal.txt

please add thing that i didn't think of.

bash completion ON

i switched on the bash completion in /etc/bash.bashrc. so now many commands make wise suggestions at pressing tab. try it with chown or man. very useful.

2005-06-08

phpmyadmin upgrade

from 2.6.1-pl3 to 2.6.2 (apt output was overwritten by the dpkg-configure screen)

2005-06-03

killing all processes of a user

this here will do the trick:
pkill -U meinhard

this here is an interesting way to do the same thing:
kill `pgrep -U meinhard -d " "`

actually i was looking for a way to kill all zombie processes, but i didn't find an easy way.

2005-06-02

/hbin/editvirtual

i use it to edit /etc/postfix/virtual. it calls an editor first (mcedit, sorry), then rebuilds the virt user table by calling the script.

also i moved /etc/postfix/built-vut to /hbin/postfix-build-vut, but i left a symlink in the postfix directory for traditional resons. :)

2005-06-01

auto responder

i looked at some vacation/autoresponder solutions - god, they all make it crazy complicated! so in the end i went for a simple pipe into a perl script via an alias.

look at the end of /etc/aliases and check out /hbin/autoreply.pl if you feel like it.

the perl script is taken from webmin (thanks!) and we can adjust it to our needs.