1. 下载源码
wget http://download.redis.io/redis-stable.tar.gz
2. 解压
tar xvzf redis-stable.tar.gz
3. 安装
cd redis-stable
make redis-cli
sudo cp src/redis-cli /usr/local/bin/
4. 连接
redis-cli -h host -p port -a password
5. 常用命令
# https://www.jb51.net/database/290224muf.htm
标签:cli,tar,redis,gz,stable,安装
From: https://www.cnblogs.com/chenzechao/p/17864889.html