Installing Redis on Mac Snow Leopard

Here’s how I do it.

Step 1 – Get the source and compile it

Step 2 – Place the binaries and configure

  • copy redis-benchmark, redis-server, redis-cli, and redis-stat to /usr/local/bin and set the owner to root.
  • copy redis.conf to /usr/local/etc and change “daemonize” to “yes”
  • if you want it to start when the system boots, create redis.plist in ~/Library/LaunchAgents directory with following content:

    Then use the following command to automatically start when your computer boots:

Step 3 – Test

  • open Redis CLI by entering “redis-cli”
  • open Redis CLI again

Comments

Comments are closed.

Powered by Olark