Redis MAC installation and simple command usage

Source: Internet
Author: User

have been using Redis, but they have not been manually installed, today in their own Mac fencing try, record easy to follow their own installation and deployment of servers;

At present, the company is using 2.8 version point Redis; I'm personally installing 2.6.16.

  • Step1. Download

Redis 2.6.16 Version of: http://download.redis.io/releases/redis-2.6.16.tar.gz

After downloading, go to the directory to extract

  • Step2. After entering the directory, do make, and the installation, there will be a lot of logs, after the completion of two steps and installation completed

  

Prompt make test to execute

  

  • Step3. Connect to Redis and simple commands using

    

The above steps and the use of simple commands from download, installation and Redis, the whole process and completion;

Here is a simple operation of Redis by command, so the Java operation is usually provided through the Jedis package to provide links and corresponding API operations.

Redis MAC installation and simple command usage

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.