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