Memcache and Redis Installation

Memcache


Installation:

brew install memcached

If you get error message during linking:

brew link -f memcached 

To Start Memcache

memcached -vv

Redis


Installation :

wget http://redis.googlecode.com/files/redis-2.6.9.tar.gz
tar xvzf redis-2.6.9.tar.gz
cd redis-2.6.9
make
sudo mv src/redis-server /usr/bin
sudo mv src/redis-cli /usr/bin
mkdir ~/.redis
touch ~/.redis/redis.conf

Starting Redis Server

$cd /Users/zepho/temp/redis-2.6.9
$redis-server

Interact with Redis:

redis-cli
redis> set foo bar
OK
redis> get foo
"bar"

Reference


Installing Redis on Mac OS


Related Articles


Create your own user feedback survey