Skip to content

Instantly share code, notes, and snippets.

@btbytes
Created January 4, 2011 05:31
Show Gist options
  • Select an option

  • Save btbytes/764440 to your computer and use it in GitHub Desktop.

Select an option

Save btbytes/764440 to your computer and use it in GitHub Desktop.

brew install redis ==> Downloading http://redis.googlecode.com/files/redis-2.0.4.tar.gz ######################################################################## 100.0% ==> make -C . ==> Caveats If this is your first install, automatically load on login with: cp /usr/local/Cellar/redis/2.0.4/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.0.4/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.0.4: 152 files, 1.3M, built in 9 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment