Skip to content
victorkane edited this page Jun 24, 2011 · 6 revisions

Installation Mac

Victor-Kanes-MacBook-Pro:~ victorkane$ brew install redis
==> Downloading http://redis.googlecode.com/files/redis-2.2.8.tar.gz
######################################################################## 100.0%
==> make -C src
==> Caveats
If this is your first install, automatically load on login with:
    mkdir -p ~/Library/LaunchAgents
    cp /usr/local/Cellar/redis/2.2.8/io.redis.redis-server.plist ~/Library/LaunchAgents/
    launchctl load -w ~/Library/LaunchAgents/io.redis.redis-server.plist

If this is an upgrade and you already have the io.redis.redis-server.plist loaded:
    launchctl unload -w ~/Library/LaunchAgents/io.redis.redis-server.plist
    cp /usr/local/Cellar/redis/2.2.8/io.redis.redis-server.plist ~/Library/LaunchAgents/
    launchctl load -w ~/Library/LaunchAgents/io.redis.redis-server.plist

  To start redis manually:
    redis-server /usr/local/etc/redis.conf

  To access the server:
    redis-cli
==> Summary
/usr/local/Cellar/redis/2.2.8: 159 files, 1.4M, built in 2 seconds
Victor-Kanes-MacBook-Pro:~ victorkane$

Installation on Ubuntu

Ubuntu 10.04 Lucid in Linode Library

Of possible interest:

Express Session support

https://github.com/visionmedia/connect-redis

Node.js Redis client

Recommended now: https://github.com/mranney/node_redis

Clone this wiki locally