Cover photo

Node installation guide

Server preparation

sudo apt update && sudo apt upgrade -y
sudo apt install make clang pkg-config libssl-dev libclang-dev build-essential git curl ntp jq llvm tmux htop screen unzip cmake -y

Install go

cd $HOME
wget -O go1.19.1.linux-amd64.tar.gz https://golang.org/dl/go1.19.1.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz && rm go1.19.1.linux-amd64.tar.gz
echo 'export GOROOT=/usr/local/go' >> $HOME/.bash_profile
echo 'export GOPATH=$HOME/go' >> $HOME/.bash_profile
echo 'export GO111MODULE=on' >> $HOME/.bash_profile
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile && . $HOME/.bash_profile
go version

Install docker and docker-compose

sudo apt install docker.io -y
git clone https://github.com/docker/compose
cd compose
latestTag=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep '.tag_name'|cut -d\" -f4)
echo $latestTag
git checkout $latestTag
make
cd ~
sudo mv compose/bin/build/docker-compose /usr/bin/docker-compose
chmod +x /usr/bin/docker-compose
docker-compose version

Install a node

wget https://staging.dev.goracle.io/downloads/latest-staging/goracle
sudo mv goracle /usr/bin
sudo chmod u+x /usr/bin/goracle

Connect your pera wallet and prepare your phone. Make sure that you switch network to testnet on your phone and have tokens on your account and Participation key. You can use this faucet if you need.

Start node

sudo goracle docker-start --background

Check you logs

sudo docker logs goracle-nr -f --tail 100

Website | Twitter | Telegram | Reddit |Facebook | Linkedin | Medium