From 24470ffa08c92885cb964ac9ea6c3dcb7ef28b81 Mon Sep 17 00:00:00 2001 From: wwya Date: Mon, 30 Mar 2026 20:19:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20update/=E5=8D=87=E7=BA=A77?= =?UTF-8?q?.2.6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update/升级7.2.6.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 update/升级7.2.6.md 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