2008-06-262008-06-27T01:56:54ZY-m-d">June 26, 20082008-06-27T01:56:54ZF j, Y
I have an old T43 laptop by IBM. Recently I put Ubuntu 8.04 (Hardy) on it and started getting a hissing noise when running on battery power. I found 2 possible solutions:
add the following to /etc/modprobe.d/options
options processor max_cstate=2
get the linux-server kernel
sudo apt-get install linux-server
I didn’t get a chance to try the first option as I [...]
Read the full article →
2008-06-232008-06-23T20:24:18ZY-m-d">June 23, 20082008-06-23T20:24:18ZF j, Y
To dump data from a postgreSQL database you can use the pg_dump command as follows
pg_dump database > file.sql
To restore that data you can execute the following command
psql -d database -f file.sql -U db_username
Read the full article →