### **目录结构**
安装路径:/www/server/redis
### **编译安装**
```
[root@local ~]# wget http://download.redis.io/releases/redis-5.0.3.tar.gz
[root@local ~]# tar xzf redis-5.0.3.tar.gz
[root@local ~]# mv redis-5.0.3 /www/server/redis
[root@local ~]# cd /www/server/redis
[root@local ~]# make
```
make完后目录下会出现编译后的redis服务程序redis-server,
还有用于测试的客户端程序redis-cli
### **启动**
```
[root@local ~]# cd /www/server/redis
[root@local ~]# ./redis-server
```