Created
February 16, 2020 15:13
-
-
Save licsber/6b369440d7f3cb2f6610fff854921276 to your computer and use it in GitHub Desktop.
创建swap空间
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dd if=/dev/zero of=/root/swapfile bs=1M count=1024 | |
| mkswap /root/swapfile | |
| swapon /root/swapfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment