Difference between revisions of "Swap"
Jump to navigation
Jump to search
(content) |
(No difference)
|
Latest revision as of 12:52, 28 May 2021
set up or add swap storage
swapoff /swapfile free -m rm /swapfile dd if=/dev/zero of=/swapfile bs=1G count=32 chmod 600 /swapfile mkswap /swapfile swapon /swapfile swapon -s echo '/swapfile none swap sw 0 0' >> /etc/fstab