Technical notes, my online memory

Wednesday, January 27, 2010

HOWTO install a moinmoin wiki

›
This article , although old, covers the basics. What I find crap is that you need to copy the /usr/share/moin/data and underlay directories...
Thursday, January 21, 2010

Upgrading postgres after an ubuntu dist-upgrade

›
After an ubuntu dist-upgrade, there is work to be done to bring a new version of postfix online. First you need to (unintuitively) drop the...

HOWTO Backup a Postgres database

›
Easy! pg_dump -U username -h localhost dbname > backup_2010_01_22.sql Here's a quick and dirty way to send it over the network compre...

Quick postgres cheatsheet

›
You can use '\h' for help on MySQL commands and '\?' for help on postgres commands. '\d' is show tables. It seems ...
Wednesday, January 20, 2010

Recovering a deleted file from Subversion

›
You need to point at the repository, not the checked out copy. Something like: svn copy file:///var/local/svn/myrepo/trunk/files/blah.conf@...

Using rsyslog to log with dynamic file names

›
I wanted to split logs into /host/year/month/host-yyyy-mm-dd_syslog to avoid having to have a rotate rule for each one. The first thing I t...
Monday, January 18, 2010

HOWTO mount a qcow disk image with multiple partitions

›
To mount a qcow disk image directly you first need to convert it to raw: qemu-img convert -O raw disk0.qcow2 disk0.dd Take a look at the par...
1 comment:
‹
›
Home
View web version
Powered by Blogger.