mkdir -p /opt/redis && cd /opt/redis
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable/
make redis-cli BUILD_TLS=yes
make install
cp src/redis-cli /usr/local/bin/
安装过程中如果遇到异常报错,建议查看安装包中的README.md
mkdir -p /opt/redis && cd /opt/redis
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable/
make redis-cli BUILD_TLS=yes
make install
cp src/redis-cli /usr/local/bin/
安装过程中如果遇到异常报错,建议查看安装包中的README.md