Commit 5c84ffb7 authored by Iulian Gheorghiu's avatar Iulian Gheorghiu

Update README.md

parent a2adddb4
# Adding SWAP memory and registering the SWAP file to be used at startup
# Adding or modify SWAP file and registering the SWAP file to be used at startup
To add SWAP memory on UBUNTU execute the fallowing lines:
Removing:
* swapoff /swapfile
* rm /swapfile
Adding or readding:
* fallocate -l 4G /swapfile
* chmod 600 /swapfile
* mkswap /swapfile
* swapon /swapfile
Now register the SWAP file to be used at startup:
Now register the SWAP file to be used at startup, only if not already registered:
* echo '/swapfile none swap sw 0 0' >> /etc/fstab
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment