Redis set up under Mac environment

Copyright: chengf https://blog.csdn.net/qq_34156628/article/details/91346687

First, install redis

The most simple and the most recommended method is to use the brew command installation, provided that you want to install the mac brew

brew install redis

Then on the other installed just fine

 

Second, the installation rdm

Installed directly rdm dmg file

https://pan.baidu.com/s/10vpdhw7YfDD7G4yZCGtqQg

 

Use brew cask install rdm will complain:

Cask 'rdm' is unavailable: No Cask with this name exists.

This shows that the installation package has gone before can use this command line directly downloaded

 

Third, the use rdm connected redis

1, redis command line to start

Enter redis, enter

redis-server

To note here is that many online tutorials enter redis, is cd / usr / local / redis then start command input, but to come into the redis according to their actual installation address, such as my own is 

cd /usr/local/Cellar/redis

2. Start Method Two

Direct Input

brew services start redis

Use the second method is to install brew in advance, have lamented the brew is really a mac artifact

The following pattern appears to indicate the installation was successful

This installation address, you brew using the command-line installation is complete, you will be prompted's

Always remember addresses!

 

2, connected redis

Open rdm

Then it will connect successfully

 

The following appears, name myself command is called test

Visualization Tools Download: https://snapcraft.io/redis-desktop-manager

 

Guess you like

Origin blog.csdn.net/qq_34156628/article/details/91346687