Created
June 10, 2016 14:57
-
-
Save goude/78293b5fe7f82f94134e20c695501b36 to your computer and use it in GitHub Desktop.
Turn on swap on small virtual machines (e.g. letsencrypt command 'x86_64-linux-gnu-gcc' failed with exit status 4)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Digitalocean, 512MB - need to turn on swap: | |
sudo dd if=/dev/zero of=/swapfile bs=1024 count=524288 | |
sudo chmod 600 /swapfile | |
sudo mkswap /swapfile | |
sudo swapon /swapfile | |
Sources: https://community.letsencrypt.org/t/installation-via-letsencrypt-auto-fails-with-error-code-1/5919, http://stackoverflow.com/a/26762938 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment