1. 上传新版本到服务器中 2. 解压并编译 ```shell tar xf redis-7.2.6.tar.gz cd redis-7.2.6 make make install ``` 3. 拷贝旧版本的redis.conf 到新版本文件中 4. 删除链接文件 5. 创建链接文件 ```shell ln -sf redis-7.2.6 redis ``` 6. 启动应用 ```shell systemctl daemon-reload systemctl restart redis ``` 7. 登录查看redis版本