| created: 4/2/2008 |
updated: 5/22/2008 |
|
Update and Upgrade
To make sure you are running the latest and greatest in Ubuntu...
aptitude update
aptitude safe-upgrade -y
I recommend using aptitude over apt, because you can easily uninstall software along with it's dependencies.
Consistent Locale
In trouble shooting a production bug with my SQLite database, I finally deduced that I had inconsistent locale settings between my development and production machines.
Here are the two commands I now use on a new installation of Ubuntu to make sure that it has the same locale settings as my other machines.
locale-gen en_US.UTF-8
/usr/sbin/update-locale LANG=en_US.UTF-8
Change Default Editor
I love Ubuntu, but I have nothing but contempt for the default editor, Nano. For those times when I need to do a quick edit, Vim works much better for me.
update-alternatives --config editor
1
Rush
Don't you just love writing code in Ruby? Don't you just hate using Bash in your shell? Despair no more friends, cause there is Rush (Ruby Shell). I can not adequately convey the sheer joy it was to rewrite my Bash deployment functions in Ruby. Bonus points for one of the coolest unix command names, ever.
Install Rush
gem install rush