添加 update/升级7.2.6.md

This commit is contained in:
2026-03-30 20:19:56 +08:00
parent ee01eed820
commit 24470ffa08

20
update/升级7.2.6.md Normal file
View File

@@ -0,0 +1,20 @@
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版本