Update install
This commit is contained in:
parent
fe9d3d6299
commit
7b6bac7e9d
|
@ -19,7 +19,7 @@ sudo apt-get install git build-essential libxslt-dev python-dev python-virtualen
|
||||||
# Check Swap
|
# Check Swap
|
||||||
if [ $(sudo swapon -s | wc -l) = 1 ];
|
if [ $(sudo swapon -s | wc -l) = 1 ];
|
||||||
then
|
then
|
||||||
sudo dd if=/dev/zero of=/tmp/myswapfile bs=1M count=128
|
sudo dd if=/dev/zero of=/tmp/myswapfile bs=1M count=512
|
||||||
sudo chmod 600 /tmp/myswapfile
|
sudo chmod 600 /tmp/myswapfile
|
||||||
sudo mkswap /tmp/myswapfile
|
sudo mkswap /tmp/myswapfile
|
||||||
sudo swapon /tmp/myswapfile
|
sudo swapon /tmp/myswapfile
|
||||||
|
|
Loading…
Reference in New Issue