Skip to content

Commit 774a851

Browse files
committed
fix: 完善安装文档
1 parent 6d29ade commit 774a851

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

redis/redis.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ r.get("foo") # 不存在default
2020
```bash
2121
cd ~
2222
wget https://download.redis.io/redis-stable.tar.gz
23-
tar xzf redis-table.tar.gz
24-
cd redis-table
25-
make
23+
tar xzf redis-stable.tar.gz
24+
rm redis-stable.tar.gz
25+
cd redis-stable
26+
sudo apt install gcc make
27+
make -j12
2628
echo 'vm.overcommit_memory = 1' >> /etc/sysctl.conf # 要用管理员权限
2729
sudo sysctl vm.overcommit_memory=1
2830
```

0 commit comments

Comments
 (0)