Dedicated Smesher + Dedicated Node Spacemesh Setup – Go – Part 2/4



Dedicated Smesher + Dedicated Node Spacemesh Setup – Go – Part 2/4

Dedicated Smesher + Dedicated Node Spacemesh Setup - Go - Part 2/4

This is part 2 of 4 where I walk through every step required to run a dedicated smesher and then move the files to a low power node to mine. This is specifically for Linux + Nvidia users.

# This should be done before installing go-spacemesh

# Go Install
# Download latest release https://go.dev/dl/
wget [URL goes here]

# Extract the files
tar -xf go1.21.0.linux-amd64.tar.gz

# Remove previous installation
sudo rm -rf /usr/local/go

# Set file ownership to root
sudo chown -R root:root ./go

# Move files
sudo mv -v go /usr/local

# Update Profile
sudo nano /etc/profile

# Add
——————
# Go Lang Path
export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
——————

# Save with CTRL+x then y then Enter

# Open and Close Terminal to load the new profile or do “source /etc/profile”

# Install grpcurl
go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest

# Test
go version
grpcurl -help

If this video helped you, please share with others. Let’s make Spacemesh community the best community. Thanks!