Archive for May, 2005

Eject CD from Open Firmware

Turn the power on with the power button and hold Command-Option-O-F — this will boot you into open firmware. Now type eject cd and wait until the CD pops out. Type mac-boot to reboot.


Linux Basics

This post outlines a couple of commonly used Linux commands.
man - command used to display manual pages for specific commands (e.g., “man ls”). Man pages are your friend!
ls - similar to the DOS dir command. It lists directory contents. Try “ls -al” for a detailed directory listing.
cd - change directory. “cd ~” will [...]


Backup and Restore Databases

The following steps can be executed as a non privileged user on the server, however, the username and password you use with the commands needs to be a database user that has r/w privileges within MySQL (think “sa” account for Microsoft SQL Server).
1. Export the database to a SQL file.
[user@host]$ mysqldump –opt –user=dbuser \
[...]