You are viewing a single comment's thread from:

RE: Mining STEEM on AWS (Free Tier)

in #steemhelp8 years ago (edited)

This is a really great help - thanks for doing this. I am totally new to Linux but I'm trying to learn, could you break down what the commands in the first section are doing?

specifically:
sudo fallocate -l 4G /swapfile

sudo chmod 600 /swapfile

sudo mkswap /swapfile

sudo swapon /swapfile

chmod things are changing permissions to files, I can look that up

./bootstrap.sh --prefix=/usr/local

cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONTENT_PATCHING=OFF -DLOW_MEMORY_NODE=ON

after that we are installing steem and configuring.

any clarification would be great, thank you once again for taking the time to post about this!!!!

Sort:  

No problem. The AWS t2.micro is a low memory instance. In order to compile the software from source, we require virtual memory from the storage partition. This is what the swap commands are doing. Once you finish compiling the source files, you can turn off the swap file by running the following two commands:

sudo swapoff /swapfile

sudo rm /swapfile

Coin Marketplace

STEEM 0.15
TRX 0.16
JST 0.028
BTC 67715.17
ETH 2423.95
USDT 1.00
SBD 2.37