Creating Swap file in Redhat Linux-
we have some steps to create swap file:-
1 2 3 4 5 |
dd if=/dev/zero of=/var/swap.file count=2000000 bs=1024 chmod go= /var/swap.file mkswap /var/swap.file echo "/var/swap.file swap swap defaults 0 0" >> /etc/fstab swapon -a |
Watch video:-
- Creating Swap file Partition in Redhat Linux:-
2 thoughts on “Creating Swap file in Red Hat Linux”
Manish
(August 31, 2017 - 9:49 am)very nice dude !!! could you share your contact details. so that I can contact you directly.
Rohit
(August 31, 2017 - 10:13 am)sure dear, you can contact me on rohitcs09@gmail.com