Sometimes the Ubuntu software updater finds it doesn’t have enough temporary space to download and apply updates – you get a message like this:
And even running the “sudo apt-get clean” doesn’t help.
I like the way trackpad edge-scrolling allows you to “coast” (start scrolling with the edge of the trackpad, then release it, and the scrolling continues until you tap the trackpad again).
It’s not enabled by default on Ubuntu 10.04, but here’s how to turn it on (put it in a startup script):
xinput set-prop –type=float “AlpsPS/2 ALPS DualPoint TouchPad” “Synaptics Coasting Speed” 1
I had to jump through a few hoops..
I tried the obvious “sudo gem install activerecord”, but it gave an error – it needs to install the i18n gem, but that needs rubygems version >= 1.3.6, and I had rubygems 1.3.5.
So I had to upgrade rubygems first, which would normally be :
sudo gem update --system
but that reports that it’s been disabled on Debian, and directs you to use apt-get instead (which doesn’t have a better version). So I had to use the gem-updater gem:
sudo gem install rubygems-update
sudo gem install activerecord
I still needed to get the mysql gem installed, which in turn needed the libmysql-dev stuff installed
Alestic and Canonical have released new Ubuntu AMIs for EC2 – the EBS version in the eu-west-1 region has AMI ID “ami-38bf954c”, and the source is “099720109477/ebs/ubuntu-images/ubuntu-lucid-10.04-i386-server-20100827″.
Ubuntu images support CloudInit, which runs scripts on startup to allow you to configure the server (set up ssh keys, update the repos etc). There’s a load of different ways to specify what should get run (see https://help.ubuntu.com/community/CloudInit for full details).
One of the simplest is just to give it a script in the User Data, like this:
#!/bin/sh echo "Hello World. The time is now $(date -R)!" | tee /root/output.txt EOF
It runs as the root user, so you can do pretty much anything you want to configure the box.