Category Archives: Linux

Stuff about the superior OS

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

How to move a mysql database from one box to another

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

CIFS VFS No response for cmd n mid…

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: […]

Hardware clock fix for Debian on Mac Mini

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. sudo vim /etc/init.d/hwclock.sh change ‘HWCLOCKPARS=‘ to ‘HWCLOCKPARS=”–directisa”‘ (note: that’s two dashes before directisa, […]

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

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. First, make sure you have all the required libraries. If you’re on a console-based installation, you may need to “apt-get install linux-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 psmisc […]

The stuff I always install on a Debian box

Sitting here installing a brand new box, I look through what I use on other machines and figure out a list of things I want to have installed on any box I’m on. Here’s the list so far, in no particular order: vim – my favorite text editor ssh – the secure shell server and […]