So I downloaded this Debian netinstall image… and Windows went suicidal?
Archive for the 'Linux' Category
Fun with “beep”
Posted in Linux on Oct 22nd, 2008
At the end of my huge list of stuff I always install on a Debian box, I put a “beep” to let me know when it’s done, because I will no doubt be doing something else, most likely on a different screen, when it’s done.
Now, suppose you run a lot of processes you want to [...]
Simple reference, moving a mysql database:
mysqldump -h <oldhostip/name> -u username -p[<password>] <databasename> > <dumpfilename>.sql
mysql -u<username> -p[<password>] < <dumpfilename>.sql
Note: The lack of spaces in some places of the commands. They are intended.
Note: Specifying the password after -p is []‘d, which means it’s optional.
Note: If you do enter a password on the command line, it will get [...]
GPG Error: The following signatures were invalid
Posted in Linux, Solved Problems on Aug 3rd, 2008
debian-archive-keyring up to date? still get the error?
here’s a tip: try without a transparent proxy (i had to flush the cache on mine)
CIFS VFS No response for cmd n mid…
Posted in Linux, Solved Problems on Aug 2nd, 2008
On a few systems, I’ve noticed CIFS mounts have a tendency to lock up the system when transferring large files, or a shitload of small ones in quick succession. When this happens, the system may or may not completely lock up, and lines like these will appear in your syslog:
Aug 1 22:58:16 dreadnought kernel: CIFS [...]
On machines which are set up to have no local mail and send all their messages to a smarthost, using e.g. exim4, the “No mail.” message at login is both unnecessary and annoying, because when things are set up correctly, there should never be any local mail in the first place.
This can be remedied by [...]
Hardware clock fix for Debian on Mac Mini
Posted in Linux, Solved Problems on Jul 19th, 2008
On my Mac Mini, the hardware clock was seriously screwed up under Debian. The clock would set itself 1 hour back for each boot and cause all kinds of strange issues with cron when corrected. A small fix will remedy this situation.
1. sudo vim /etc/init.d/hwclock.sh
2. change ‘HWCLOCKPARS=’ to ‘HWCLOCKPARS=”–directisa”‘ (note: that’s two dashes before directisa, [...]
Tired of seeing this?
Linux ***** 2.6.18-6-686 #1 SMP Fri Jun 6 22:22:11 UTC 2008 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: ***** from *****
Edit /etc/motd, [...]
This is a list of nifty oneliners I often use and just as often forget. Now I have a place to jot them down.
This is an updated (as of 6. July 2008) howto on how to install vmware server on top of a fresh install of Debian Linux.