CentOS7 安装Redis 3.2.3
$ wget http://download.redis.io/releases/redis-3.2.3.tar.gz $ tar xzf redis-3.2.3.tar.gz $ cd redis-3.2.3 $ make
编译完毕之后
$ src/redis-server
安装好之后,启动文件
#启动redis
src/redis-server &
#关闭redis
src/redis-cli shutdown
测试redis
$ src/redis-cli
127.0.0.1:6379> set foo bar
OK
127.0.0.1:6379> get foo
"bar"
$
测试成功
http://redis.io/download