mac os 安装redis

版权声明:本文为博主原创文章,未经博主允许不得转载。谢谢配合!!! https://blog.csdn.net/masuwen/article/details/87875040

Download, extract and compile Redis with:

$ wget http://download.redis.io/releases/redis-5.0.3.tar.gz
$ tar xzf redis-5.0.3.tar.gz
$ cd redis-5.0.3
$ make

The binaries that are now compiled are available in the src directory. Run Redis with:

$ src/redis-server

You can interact with Redis using the built-in client:

$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"

猜你喜欢

转载自blog.csdn.net/masuwen/article/details/87875040