Archive for the 'Linux' Category

So I downloaded this Debian netinstall image… and Windows went suicidal?

Read Full Post »

Fun with “beep”

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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)

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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, [...]

Read Full Post »

Disable Debian’s motd on login

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, [...]

Read Full Post »

Nifty linux oneliners

This is a list of nifty oneliners I often use and just as often forget. Now I have a place to jot them down.

Read Full Post »

Installing vmware from scratch

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.

Read Full Post »

« Prev - Next »