We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swap 的开启和关闭。
The text was updated successfully, but these errors were encountered:
sudo swapoff -a
然后删除 /etc/fstab 对应行
/etc/fstab
Sorry, something went wrong.
$ dd if=/dev/zero of=/root/swapfile bs=1M count=1024
$ mkswap /root/swapfile #建立swap的文件系统
$ swapon /root/swapfile #启用swap文件
/root/swapfile swap swap defaults 0 0
No branches or pull requests
swap 的开启和关闭。
The text was updated successfully, but these errors were encountered: