一、Redis安装
- 1,下载,解压,make
$ wget http://download.redis.io/releases/redis-6.0.7.tar.gz
$ tar xzf redis-6.0.7.tar.gz
$ cd redis-6.0.7
$ make
- 2,启动server
进入src文件下执行:
./redis-server
Screen Shot 2020-09-10 at 4.03.54 PM.png
- 3,启动客户端
./redis-cli
Screen Shot 2020-09-10 at 4.06.19 PM.png
网友评论