Translations:NixOS Installation Guide/52/zh: Difference between revisions

Mayer (talk | contribs)
Created page with "== Swap文件 == <syntaxhighlight lang="console"> $ sudo dd if=/dev/zero of=/mnt/.swapfile bs=1024 count=2097152 (2GB size) $ sudo chmod 600 /mnt/.swapfile $ sudo mkswap /mnt/.swapfile $ sudo swapon /mnt/.swapfile </syntaxhighlight>"
 
Ardenet (talk | contribs)
Replaced content with "== 交换文件 =="
Tag: Replaced
 
Line 1: Line 1:
== Swap文件 ==
== 交换文件 ==
<syntaxhighlight lang="console">
$ sudo dd if=/dev/zero of=/mnt/.swapfile bs=1024 count=2097152 (2GB size)
$ sudo chmod 600 /mnt/.swapfile
$ sudo mkswap /mnt/.swapfile
$ sudo swapon /mnt/.swapfile
</syntaxhighlight>