ucvmpg
Last Updated: November 08, 2017
·
6
· djalmaaraujo
Be74fd9a577ea5ef1ab2e7c71bcfa4b5

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

Say Thanks
Respond
Filed Under