How to Add Swap on EC2 Instance or Linux? | Hindi | LetsTalkAbout |

Published: 04 December 2021
on channel: LetsTalkAbout
294
8

In this Video We are adding the swapfile on the AWS EC2 instance or you can add on any Linux server.
steps and command are as below
Step 1 === dd if=/dev/zero of=/swapfile bs=128M count=16
Step 2 === chmod 600 /swapfile
Step 3 === mkswap /swapfile
Step 4 === swapon /swapfile
Step 5 === swapon -s
Step 6 === vi /etc/fstab
/swapfile swap swap defaults 0 0


Watch video How to Add Swap on EC2 Instance or Linux? | Hindi | LetsTalkAbout | online without registration, duration hours minute second in high quality. This video was added by user LetsTalkAbout 04 December 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 294 once and liked it 8 people.