How to add swap file to ec2 instance
sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
sudo /sbin/mkswap /var/swap.1
sudo /sbin/swapon /var/swap.1
Written by Djalma Araújo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Swap
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#