Recently intends to change the development environment from widows to Mac OS X, and Mac OS X is a bit different, many software installation methods are also unique, so also write a bit of experience, today a brief introduction to Redis under Mac OS x installation and use of methods. First fromRedis official website http://www.redis.io to download the latest version of the Redis installation file (described here as an example of Redis version). Redis 2.6.16 version of: Http://download.redis.io/releases/redis-2.6.16.tar.gzUncompressed after download. Then open the terminal, into the directory just after decompression, the general directory named
redis-Version number, here is/redis-2.6.16 and then enter at the prompt: $make can be doneRedis installation. If the make command does not exist here, please refer to this article, "Mac does not have the Make command solution" method, install Xcode andCommand line Tools, you can use the Make command.
After you install Redis, enter in the terminal: $src/redis-serverYou can start the Redis service. It is also easy to turn off the Redis service by first using the Redis client to connect to the Redis service and using the shutdown command to shut down the service. $src/redis-cliRedis 127.0.0.1:6379>shutdownOther Redis commands, you can visit the Redis official website for review, the author of each command is detailed explanation, here is not cumbersome to explain.
Excerpt from: Http://blog.sina.com.cn/shalonwarren
How to install and use Redis under Mac 1