Skip to content

{ Daily Archives } Wednesday, December 2009

Uninstall MySQL on Mac

Somehow, I either forgot my password, or I did something to mess up my MySQL instance.  it is a development machine, so I don’t really care about the databases on it.  I just wanted to remove it completely from my machine.  I actually had two copies of mysql installed.  One from Mac Ports and the [...]

Determine mysql socket

netstat -ln | grep mysql

Creating and deploying a Rails app

This documents how I create Ruby on Rails applications and deploy them to my server.  I have created a bare bones apache web server that hosts ruby applications using MySQL.  It also assumes you have Ruby on Rails set up on a Macbook Pro. Server Side User mkdir ~/myrumbleapp mkdir ~/myrumbleapp/www mkdir ~/myrumbleapp/www/current mkdir ~/myrumbleapp/logs [...]

Bare Ubuntu configuration for Ruby on Rails

General Install Ubuntu 9.1 server using the Bare Server option The first thing I like to do is add my account to the /etc/sudoers file. This just guarantees that I can always use sudo, even if I mistakenly mess up my group assignment. sudo visudo # /etc/sudoers root ALL=(ALL) ALL user ALL=(ALL) ALL user should [...]