Skip to content

Instantly share code, notes, and snippets.

@tachesimazzoca
Last active December 9, 2015 23:19
Show Gist options
  • Save tachesimazzoca/4343390 to your computer and use it in GitHub Desktop.
Save tachesimazzoca/4343390 to your computer and use it in GitHub Desktop.
Adding swap space #linux
% su -
% dd if=/dev/zero of=/swap bs=1M count=2048
% mkswap /swap
% swapon /swap
% vi /etc/fstab
....
/swap swap swap defaults 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment