When I get to the swapon command it fiels.
$ sudo swapon /swapfile swapon: /swapfile: swapon failed: Invalid argument
Docs should be fixed to tell people to use: sudo dd if=/dev/zero of=/swapfile count=4096 bs=1MiB instead of fallocate. Anyway another tutorial also says its bad idea to use swapfile for SSD systems
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.