Saltycrane logo

SaltyCrane Blog

Notes on Python, Django, and web development on Ubuntu Linux

     Posts tagged "scalr"

Notes on installing Scalr on Ubuntu Jaunty

Here are my notes on installing Scalr. I am using an Alestic Ubuntu 9.04-jaunty-base-20091011 image. Here are my references:

Install prerequisites

apt-get update
apt-get upgrade
apt-get install php5
apt-get install php5-mysql
apt-get install php5-mcrypt
apt-get install php5-mhash
apt-get install php5-snmp
# apt-get install bind9

Install php ssh2 extension

http://www.how2pc.co.il/blog/2009/08/how-to-install-a-php-ssh2-extension-on-ubuntu-server-9-04/

apt-get install php5-dev php5-cli php-pear build-essential
apt-get install libssh2-1-dev
pecl install -f ssh2
echo ‘extension=ssh2.so’ > /etc/php5/conf.d/ssh2.ini ...
... read more »

Fuse error on Scalr

I got the following error while trying to use s3fs on one of Scalr's Ubuntu EC2 instances:

fuse: device not found, try 'modprobe fuse' first

Trying modprobe fuse, I got:

FATAL: Module fuse not found.
FATAL: Error running install command for fuse

The solution to this problem is here: http://groups.google.com/group/scalr-discuss/web/mount-an-s3-bucket-to-your-instance. The Scalr AMI does not include fuse.ko kernel module, so I needed to install it:

mkdir -p /lib/modules/2.6.16-xenU/kernel/fs/fuse
cd /lib/modules/2.6.16-xenU/kernel/fs/fuse
rm -f fuse.ko
curl -O http ...
... read more »
Created with Django | Hosted by Slicehost