How to deploy Redis2.6.14 in Mac OS

Source: Internet
Author: User
Tags redis install redis

Deploy a Redis instance as a cache for verification and record the deployment process.

Official website: http://redis.io/. currently, the latest stable version is 2.6.14.

Decompress the package and enter the directory. Follow the instructions in the README file for compilation and verification.

Run the command in the extracted root directory.

$> Make

 

 

After execution, you can use

$> Make test

For verification, we basically see a bunch of OK.

 

 

After compilation, start the Redis service. Go to the src directory.

$> Cd src

$>./Redis-server

 

 

Now, the redis service is started. If you want to install redis-related commands under/usr/local/bin,

Executable

$> Make install

 

 

After the service is started, you can run the client command to verify whether the service is running normally.

 

 

Now, a redis service is deployed. If you want to use Java to download the Jedis package, the API is very simple.

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.