Installing Redis under Mac

Source: Internet
Author: User

The introduction of Redis here is not much to say, please participate in the blog Windows under the MAC installation, the following straight to the topic.

One. Redis Installation

1. First, the default port for Redis is 6379

2. Download the Redis installation package for Mac, Https://redis.io/download, the version i downloaded is 4.0.9

3. Follow these steps in order:

Decompression: Tar zxvf redis-4.0.9.tar.gz

Move to: MV redis-4.0.9.tar.gz/users/panyang/This step if you do not need to omit

I extracted the extract directly to the current directory, so do not need to move, I skipped this step

Switch to: cd/users/panyang/redis-4.0.9/

Go to the extracted folder below, the path to your own folder to store the path

Build test: sudo make test

Compiling and Installing: sudo make install

Two. Redis start-up and stop

1. Start

Redis-server, it's like it's starting to happen.

2. Stop

Just shut down the terminal.

Installing 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.