How to install Redis on OS X

This is my setup of redis with OS X 10.9.2 Mavericks and requires brew.

brew install redis

Start redis when computer starts:

ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents

Start redis:

launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist

Without using `launchctl:

redis-server /usr/local/etc/redis.conf

Check is redis is correctly running:

redis-cli ping

This should reply with PONG if successful.

Configuration

The configuration file is located in /usr/local/etc/redis.conf.

Uninstall redis:

brew uninstall redis; rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Apr 4, 2014 Servers

Support this blog

Buy yourself ANYTHING!

That's right! Shop as you normally would using Amazon.com with my affiliate link and the commissions made go directly into keeping this blog healthy. It's that simple! The hardware and software costs used for this site comes out of my own pocket and it's expensive. Lets keep this site ad free :)

Start shopping on Amazon.com now!

Thank you!
Richard S.