Make swapfile permanent by adding to fstab in install.sh
This commit is contained in:
parent
8f3b189f2a
commit
98f5430732
|
@ -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