Bluzelle Curium on FreeBSD

Quick write up of how to get a Bluzelle Curium node up and running on FreeBSD. This post is written the same day FreeBSD celebrates the release of version 13.0.

This was done a couple of days ago, so the version used in this example was FreeBSD 12.2-RELEASE-p6

Install dependencies

pkg install git gcc gmake wget jq git gcc

Install go

cd /usr/local

wget https://golang.org/dl/go1.16.3.freebsd-amd64.tar.gz

tar -C /usr/local/ -xzf go1.16.3.freebsd-amd64.tar.gz

Create and login as a user to run blzd

adduser blz

login as user blz

edit ~/.profile

export GOROOT=/usr/local/go  
export GOPATH=$HOME/go/  
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

source ~/.profile

mkdir -p ~/go/src/github.com/bluzelle

mkdir ~/go/bin

mkdir ~/go/pkg

cd ~/go/src/github.com/bluzelle

git clone https://github.com/bluzelle/curium.git

cd ~/go/src/github.com/bluzelle/curium

gmake testnet

or

gmake mainnet

Follow the docs on Bluzelle Curium’s github pages.

Easy peasy!

freebsd-version    
12.2-RELEASE-p6
blzd version
productionMainNetAlfa-1-g927ccd9