Last active
March 7, 2018 04:34
-
-
Save kesar/1f3a64e6f908b11b13018ad6842554bd to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
sudo fallocate -l 2G /swapfile | |
sudo chmod 600 /swapfile | |
sudo mkswap /swapfile | |
sudo swapon /swapfile | |
sudo sysctl vm.swappiness=10 | |
sudo sysctl vm.vfs_cache_pressure=50 | |
git clone https://github.com/eosio/eos --recursive | |
cd eos | |
# git checkout dawn-2.x | |
git checkout DAWN-2018-01-25-ALPHA | |
nohup ./build.sh ubuntu full > /root/log.log 2>&1 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment