wget https://dl.google.com/go/go1.9.4.linux-amd64.tar.gz
tar zxvf go1.9.4.linux-amd64.tar.gz
mv go /usr/local/
ln -s /usr/local/go/bin/go /usr/bin/go
ln -s /usr/local/go/bin/gofmt /usr/bin/gofmt
make dependencies
mkdir ~/sia
cd ~/sia
siad
cp sampleconfig/sia.yml ~/sia
vim ~/sia/sia.yml
apt install mysql-server
siad -M cgtwp
Note: make sure you increase the number of open files you can have at a time, or you will have problems with sockets and log files