diff --git a/update/升级7.2.6.md b/update/升级7.2.6.md new file mode 100644 index 0000000..9d3aa51 --- /dev/null +++ b/update/升级7.2.6.md @@ -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版本 \ No newline at end of file