skeletonz - The simple Python CMS system

In order to get LightCloud up and running you'll need to install following components:

This should be supported on Windows, Linux and OS X. We'll only give a guide on how to install this on Linux (debian / ubuntu).

Install Tokyo Cabinet

Download and extract:

$ sudo apt-get install wget
$ sudo apt-get install zlib1g-dev libbz2-dev
$ wget http://tokyocabinet.sourceforge.net/tokyocabinet-1.4.9.tar.gz
$ tar -xvf tokyocabinet-1.4.9.tar.gz

Configure and install:

$ ./configure
$ make
$ sudo make install

Install Tokyo Tyrant

Download and extract:

$ wget http://tokyocabinet.sourceforge.net/tyrantpkg/tokyotyrant-1.1.16.tar.gz
$ tar -xvf tokyotyrant-1.1.16.tar.gz
$ cd tokyotyrant-1.1.16

Configure and install:

$ ./configure --with-lua --enable-lua
$ make
$ sudo make install

You are all set, proceed with installing the LightCloud manager.

Install Lua (optional)

This is only needed if you want to support scripting via Lua:

$ sudo apt-get install libreadline5-dev
$ wget http://www.lua.org/ftp/lua-5.1.4.tar.gz
$ tar -xvf lua-5.1.4.tar.gz
$ cd lua-5.1.4
$ ./configure; make linux; sudo make install

Install Redis (optional)

Redis, which is another key-value database, is fully supported by LightCloud and can be used as an replacement for Tokyo Tyrant.

Some unique features of Redis are:

  • it's persistent (but one has to hold the dataset in the memory)
  • it supports unique datatypes such as lists and sets
  • it can do some very interesting stuff like union and intersection between sets
  • it's very fast since everything is kept in memory

Benchmarks etc. can be read in LightCloud adds support for Redis.

To install Redis, simply do:

$ wget http://redis.googlecode.com/files/redis-0.100.tar.gz
$ tar -xvf redis-0.100.tar.gz
$ cd redis-0.100
$ make
$ sudo ln -s /path/to/redis-0.100/redis-server /usr/bin/redis-server
Powered by Skeletonz