Authored by sauret

Swap Ubuntu

Pour ajouter un fichier de swap :

sudo fallocate -l 8g /file.swap
sudo chmod 600 /file.swap
sudo mkswap /file.swap
sudo swapon /file.swap
sudo echo "/file.swap none swap sw 0 0" >> /etc/fstab
163 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment