-
Notifications
You must be signed in to change notification settings - Fork 1
Redis
victorkane edited this page Jun 24, 2011
·
6 revisions
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$
Ubuntu 10.04 Lucid in Linode Library
- http://blog.carbonfive.com/2011/06/14/instagram-realtime-demo-with-node-js-redis-and-web-sockets/
- Redis pooling for nodejs
https://github.com/visionmedia/connect-redis
Recommended now: https://github.com/mranney/node_redis