From 9155c4f6012cf353ab55f73eb60e144244e06c8e Mon Sep 17 00:00:00 2001 From: Root Date: Tue, 23 Feb 2016 22:26:25 -0500 Subject: [PATCH] Add instructions for setting up a swap file --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5971bac..d98b7b3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ # Base Config -Note: The Mail Server requires SSL certificates +Note: The Mail Server requires SSL certificates + +## Swap File + +1. Run `dd if=/dev/zero of=/swapfile bs=1M count=2048` then `chmod 600 /swapfile` followed by `mkswap /swapfile` and `swapon /swapfile` +2. Set the system up to mount the swap file at boot by adding `/swapfile none swap defaults 0 0` to the bottom of `/etc/fstab` ## Web Server