Swap-Partition erstellen
Eine 2-GB-Swap-Partition erstellen
Overview
Eine 2-GB-Swap-Partition erstellen
Commands
Eine 2-GB-Swap-Partition wird erstellt. Fortfahren?
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab