Make swapfile permanent by adding to fstab in install.sh

This commit is contained in:
Simon Edwards 2015-07-31 15:12:33 +01:00
parent 8f3b189f2a
commit 98f5430732

View file

@ -32,6 +32,7 @@ sudo fallocate -l 1G /swapfile
sudo chmod 600 /swapfile sudo chmod 600 /swapfile
sudo mkswap /swapfile sudo mkswap /swapfile
sudo swapon /swapfile sudo swapon /swapfile
sudo su -c "echo '/swapfile none swap sw 0 0' >> /etc/fstab"
# lxml deps # lxml deps
# libxml2-dev libxslt1-dev # libxml2-dev libxslt1-dev