Initial Setup

Hardware

We recommend the following hardware specifications:

  • 8G RAM

  • 4vCPUs

  • 160GB Disk space

Setup Instructions

We recommend using Ubuntu 18.04 or 20.04. The following setup instructions are assuming you are using one of these images and the setup may be different if not.

Install Dependencies

Update packages:

sudo apt update

Install tools:

sudo apt install git build-essential wget jq -y

Install Go

Download Go:

wget https://dl.google.com/go/go1.20.3.linux-amd64.tar.gz

Unpack Go download:

sudo tar -C /usr/local -xzf go1.20.3.linux-amd64.tar.gz

Set up environment:

echo "" >> ~/.bashrc
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
echo 'export GOROOT=/usr/local/go' >> ~/.bashrc
echo 'export GOBIN=$GOPATH/bin' >> ~/.bashrc
echo 'export PATH=$PATH:/usr/local/go/bin:$GOBIN' >> ~/.bashrc

Source profile file:

source ~/.bashrc

Last updated