Monday, October 31, 2011

install redis on a AWS EC2.

Step 1. get source from redis web site (http://redis.io/download) and follow the following instructions.

$ wget http://redis.googlecode.com/files/redis-2.4.2.tar.gz
$ tar xzf redis-2.4.2.tar.gz
$ cd redis-2.4.2
$ make

it works fine on my CentOS image running on t1-micro.

Saturday, October 22, 2011

if you can't run couchdb on port 80.

1. cd to your source directory such as $ cd svn/couchdb
2. $ vi etc/default/couchdb and change COUCHDB_USER=root
3. $ make && sudo make install

of course you need to change your local.ini (port = 80) before restart your couchdb.