Skip to content

Commit 94fa13c

Browse files
authored
fix
1 parent 2872039 commit 94fa13c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/case/case6.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,18 @@ https://github.com/spiritLHLS/addswap
1010

1111
为openvz、kvm虚拟化的linux服务器增加swap分区(虚拟内存)
1212

13-
```bash
13+
国际
14+
15+
```shell
1416
curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o addswap.sh && chmod +x addswap.sh && bash addswap.sh
1517
```
1618

19+
国内
20+
21+
```shell
22+
curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o addswap.sh && chmod +x addswap.sh && bash addswap.sh
23+
```
24+
1725
已增加openvz架构重启swap自动添加的
1826

1927
openvz这个添加=掩耳盗铃,实际受到虚拟化限制应该是无法添加的,只能由虚拟化的宿主机控制,同理LXC虚拟化的也只能由宿主机控制,都无法自主添加虚拟内存SWAP

0 commit comments

Comments
 (0)