Nguyễn Hồng Nhung
New member
How do I enable swap space in Linux?
Answer
Adding Swap Space on a Linux System
Answer
Adding Swap Space on a Linux System
- Become a superuser (root) by typing: % su Password: root-password.
- Create a file in a selected directory to add swap space by typing: dd if=/dev/zero of=/ dir / myswapfile bs=1024 count =number_blocks_needed. …
- Verify that the file was created by typing: ls -l / dir / myswapfile.