nvidia drivers in ubuntu maverick

The other day, I ran an update on my Maverick box that wiped out my video settings. Nvidia released a nice new driver for GeForce 6000+ but I’m using a GeForce 5 series card so I think the upgrade probably replaced my video settings with the nice new ones.

There are a lot of unresolved forum posts about this … if you’re using an older video card, you just need to uninstall the new Nvidia drivers and re-install the legacy drivers:

apt-get remove --purge nvidia-current
apt-get install nvidia-173

$PATH settings on Mac Snow Leopard

Managing Paths

The problem with setting up an environment piecemeal is when you sit down to do something, you have to figure out what rabbit hole you’d gone down when you left off. In this case, I remembered installing mysql, but usually the last thing I do when I install mysql is install phpmyadmin because it’s such a handy productivity tool. Well, there was no phpmyadmin on my system, but that could be because Snow Leopard came with PHP 5.3 out of the box which is incompatible with most of the popular PHP web applications out there. Continue reading

recover mysql root password

You can recover MySQL database server password with following five steps.

Step # 1: Stop the MySQL server process.

Step # 2: Start the MySQL (mysqld) server/daemon process with the –skip-grant-tables option so that it will not prompt for password

Step # 3: Connect to mysql server as the root user

Step # 4: Setup new root password

Step # 5: Exit and restart MySQL server Continue reading

Ubuntu Gutsy Gibbon development server setup

I know there are plenty of articles and posts for setting up a development server. Yet I still find the need to write up the exact commands and process for my later self to refer to, especially since I haven’t found a clone function in VMware Fusion like the linux version has. A pet “when-I-have-time” project would be to turn these steps into a bash script. Continue reading