How to install and use Redis under Mac

Source: Internet
Author: User
Tags redis version install redis

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.