new vps with centos 6 for tinydns secondary

yum update -y ; vi /etc/sysconfig/iptables; #configuring iptables is an exercise for the reader iptables-restore /etc/sysconfig/iptables; /etc/init.d/httpd stop; chkconfig –del httpd; /etc/init.d/sendmail stop; chkconfig –del sendmail; /etc/init.d/xinetd stop; chkconfig –del xinetd; #install daemontools (djb does crazy things with symlinks – Read more

backup to warm-swapable disk

#physically insert disk # on this next line the hostN number may be different echo “- – -” > /sys/class/scsi_host/host5/scan mount /dev/sdc1 /mnt rsync -aHxv /boot /mnt rsync -aHxv /dev /mnt rsync -aHxv / /mnt #this is for a special Read more

djbdns dnscache

This is great simple way to get off of your ISP’s dns, e.g. stop them redirecting you to their search partner when you typo. And very handy if you’re working with DNS or changing webhosts, in that a quick sudo Read more

ubuntu 12.04 xcp bare metal recovery via rsnapshot

I’m verifying my backup process via a bare metal recovery to identical hardware so I thought I’d take some notes… I got started on my ubuntu xen xcp/xapi setup with this excellent guide: http://francispereira.com/blog/step-by-step-guide-to-setting-up-xen-and-xenapi-xcp-on-ubuntu-12-04-and-managing-it-with-xencenter/ Booted a usb based rescue disk Read more

wordpress rss cache

This is a little off topic but wordpress RSS seems to cache things for 12 hours and nobody seems to have a clue. I set lifetime from 43200 to 3600 in wp-includes/class-feed.php. Which will hopefully let me see the morning Read more