sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install build-essential curl wget jq snapd -y
useradd -U -s /bin/bash -m -d /home/bitcanna bitcanna
- Increase open files limit
sudo su -c "echo 'fs.file-max = 65536' >> /etc/sysctl.conf"
sudo sysctl -p
snap install go --classic
echo "export PATH=\$PATH:/usr/local/go/bin:/home/bitcanna/go/bin" >> /home/bitcanna/.bashrc
su bitcanna
go version
git clone https://github.com/BitCannaGlobal/bcna.git
cd bcna
git checkout v2.0.3
make build
make install