标签:release java 启动服务 centos 客户 cal hang 编译 tar.gz
1. 下载
[logan@localhost java]$ wget http://download.redis.io/releases/redis-3.2.8.tar.gz
2. 解压
[logan@localhost java]$ tar zxf redis-3.2.8.tar.gz
3. 进入目录
[logan@localhost java]$ cd redis-3.2.8/
4. 编译
[logan@localhost redis-3.2.8]$ make
5. 启动服务端
[logan@localhost redis-3.2.8]$ src/redis-server
6. 启动客户端
[logan@localhost redis-3.2.8]$ src/redis-cli
127.0.0.1:6379> set name zhangsan
OK
127.0.0.1:6379> get name
"zhangsan"
标签:release java 启动服务 centos 客户 cal hang 编译 tar.gz
原文地址:http://www.cnblogs.com/rocky-fang/p/6693321.html