Increase swap on Ubuntu 12

Increase swap on Ubuntu 12



Example: Our ubuntu server is having 1gb Swap, and we want to increase to 3gb swap, how we can do that ?

Step 1:  Show present swap status on our Ubuntu Server

Step 2:  Create swap space


Step 3:  Create Swap image


Step 4:  Add to fstab to mount when our server reboots


Step 5:  Active our Swap and we can see now we are having 3GB swap.



That’s all. Thanks for using


Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>