Merge pull request #69 from darkindex/permanent-swap
Make swapfile permanent by adding to fstab in install.sh
This commit is contained in:
commit
dbebc5100b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue