Setup swap in EC2 instance Posted on March 26, 2015 by lpryszcz # configure 2GB swap (1M x 1024 blocks) sudo dd if=/dev/zero of=/swapfile bs=1M count=2048 sudo mkswap /swapfile sudo swapon /swapfile # add swap info to /etc/fstab /swapfile swap swap defaults 0 0 Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to email a link to a friend (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window) Related
Pingback: Transfer WordPress to Amazon EC2 | BioInfoExpert