Download, extract and compile Redis with: $ wget http://download.redis.io/releases/redis-3.2.8.tar.gz $ tar xzf redis-3.2.8.tar.gz $ cd redis-3.2.8 $ make The binaries that are now compiled are available in the src directory. Run Redis with: $ src/r
将压缩包解压到/usr/local目录
tar zxvf redis-5.0.8-bin.tar.gz -C /usr/local
压缩包中附加三个bash脚本语言编写的sh文件
1.启动redis服务
sh /usr/local/redis-5.0.8/start.sh
2.停止redis服务
sh /usr/local/redis-5.0.8/stop.sh
3.启动redis客户端
sh /usr/local/redis-5.0.8/client.sh