INSTALLING MUCKOS:
These are the basic high level instructions - more details to follow:
0) If you are using Fuse-0.08, apply the etc/Fuse-0.08-get-context.diff patch
and install it. If Fuse 0.09 is stable on CPAN, just use that - it should
have the patch.
- Install Muck from CPAN - the tests will fail since we don't yet mount a
filesystem for testing.
- Install memcached from www.danga.com
- Install MySQL 5.1.x from www.mysql.com
- Setup MySQL:
- Create database and account
mysql> CREATE DATABASE muckfsdb;
mysql> GRANT SELECT, INSERT, UPDATE, DELETE ON muckfsdb.* TO muckfs@"%"\
IDENTIFIED BY 'password';
mysql> FLUSH PRIVILEGES;
- Create tables
$ mysql -uroot -p muckfsdb < etc/muckfs.sql
- Create local cache directory:
# mkdir /mnt/muckFScache
- Copy etc/muckfs.conf.orig to yourpath/muckfs.conf and edit it with your
AWS info, your local cache dir (should be under /mnt for EC2 instances)
- Start memcached:
# memcached -u nobody
- Mount muckFS as a filesystem
$ mkdir /mnt/muckfs
$ sudo ./muckFS etc/muckfs.conf /mnt/muckfs
- export MUCKFS_TESTDIR= /mnt/muckfs
- run the bin/test-muckFS.pl