Somewhere between happy and total f**king wreck
Linux
Redmine and Passenger bugfix
Aug 11th
Source: Redmine.org
For those of you who are running Redmine on Phusion Passenger, if you have certain versions of the RedCloth gem installed, you are in for some trouble.
More >
Passenger and RubyEnt updates
Aug 11th
Updated my web server with Ruby Enterprise Edition 1.8.6-20080810 and Phusion Passenger 2.0.3 successfully. Both releases feature bugfixes for security issues and the like. My web server currently powers this blog, a Redmine instance for my own projects, and some “production” servers for a few Rails apps I’m writing right now.
I’d highly recommend Passenger and RubyEnt for low-volume or even high-traffic production Rails servers. It has greatly simplified my deployment and performance on a VPS with, say, 540MB of RAM is stellar. If you set the idle timeout to something huge, you can get almost Nginx+Mongrel/Thin level performance even on a low-traffic server; otherwise you have to wait a brief time (10-15 seconds) when the app has been idle for a while.
Building libxml-ruby gem on Ubuntu Hardy
Jul 14th
Source: Tibs’ Blog
I had been having a lot of trouble using libxml-ruby on Ubuntu Hardy for a hobby project of mine. Any task including libxml calls via require 'xml/libxml' fails with the message:
no such file to load -- libxml_so
Live backups using LVM and dump
May 27th
Quick Tip: Ubuntu default runlevel
Apr 24th
If you, like me, use sysv-rc-conf to change the services that run a particular runlevel, i.e. so that runlevel 2 is actually only networked and not GUI as tradition holds, you can set the default runlevel to boot in Ubuntu by editing:
/etc/inittab: id:3:initdefault
The number in the middle is the runlevel to start by default.
Personal internet acceleration, part 1
Apr 14th
My SFF server machine has been configured to speed up my digital life. More >
Using binary NVidia 8800GT drivers on Ubuntu Gutsy
Apr 14th
In order for me to use the official binary drivers, version 169.12, from NVidia with my GeForce 8800GT on Ubuntu Gutsy, I had to do some research. Alberto Milone‘s envy tool makes the whole thing almost idiot-proof.
More >
Ubuntu Gutsy AMD64, LVM, and Xen from repositories
Apr 10th
My desktop just grew by two 500GB Western Digital Caviar drives. Having installed those, I loaded Gutsy-AMD64 on one using LVM. The partition schema is as follows:
Drive: 500GB #1 Volume Group: server1 Volumes: swap_1 - 6GB - swap root_1 - 30GB - ext3 - mounted as / home_1 - 20GB - ext3 - mounted as /home/ Free space: ~398GB
500GB number two will probably wind up being a RAID mirror via my motherboard. This LVM layout allows me to dynamically allocate space for the many potential Xen DomUs I create.
To install Xen on Gutsy-AMD64 desktop version:
sudo apt-get install ubuntu-xen-desktop-amd64
God is watching over my Rails
Apr 7th
On my home server I’m toying with some Rails clustering and such, using nginx and thin, and now God to watch over things.
With this setup, I can add apps and port-ranges to monitor any time I like, and I can split off a particularly specific configuration group if an app has unusual trends or requirements, such as using loads of memory.
More >