Skip to content

Commit

Permalink
Add armbian-swap
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Nov 4, 2021
1 parent 73b387c commit d074e4e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ armbian-docker
armbian-config
```

- ### 为 Armbian 创建 swap

如果你在使用 `docker` 等内存占用较大的应用时,觉得当前盒子的内存不够使用,可以创建 `swap` 虚拟内存分区,将磁盘空间的一定容量虚拟成内存来使用。下面命令输入参数的单位是 `GB`,默认为 `1`

登录 Armbian 系统 → 输入命令:

```yaml
armbian-swap 1
```

- ### 在 TF/USB 中使用 Armbian

激活 TF/USB 的剩余空间,请登录 Armbian 系统 → 输入命令:
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ Login in to armbian → input command:
armbian-config
```

- ### Create swap for Armbian

If you feel that the memory of the current box is not enough when you are using applications with a large memory footprint such as `docker`, you can create a `swap` virtual memory partition, Change the disk space a certain capacity is virtualized into memory for use. The unit of the input parameter of the following command is `GB`, and the default is `1`.

Login in to armbian → input command:

```yaml
armbian-swap 1
```

- ### Use Armbian in TF/USB

To activate the remaining space of TF/USB, please login in to armbian → input command:
Expand Down

0 comments on commit d074e4e

Please sign in to comment.