LAUNCH A FULL NODE WITH ERIGON ON BINANCE SMART CHAIN | |||||||
---|---|---|---|---|---|---|---|
Description | A tutorial demonstrating the process of connecting to a remote server running Linux Ubuntu, setting up and running a full nodeonBinance Smart Chain using the Erigon client. | ||||||
Assignee | |||||||
Key Resource | |||||||
Document Status |
|
Expand | ||
---|---|---|
| ||
|
Roadblocks
Code Block | ||
---|---|---|
| ||
init 6 :'This command closes the connection and termporarily locks user out of the server.' |
...
00 PREREQUISITES
0.1 – System Requirements
...
Enter the following command/s in Terminal to enable / disable SSH on the system:
Code Block language bash sudo systemsetup -setremotelogin on #Enable SSH sudo systemsetup -setremotelogin off #Disable SSH Password: [?] #System password
...
01 SETTING UP THE REMOTE SERVER
1.1 – Connecting to the Remote Server
...
Install the latest version of GoLang.
Check and remove the existing GoLang version.
Code Block language bash go version #displays the existing version sudo apt purge golang* #removes the existing Go version
Use purge to remove the existing version; then, use wget to install the latest version.
Code Block language bash sudo apt purge golang* #Removes the existing Go version. wget https://go.dev/dl/go1.17.7.linux-amd64.tar.gz #Installs the current version (go1.17.7 as of 2022-02-14). sudo tar -C /usr/local -xzf go1.11.4.linux-amd64.tar.gz #Extracts Go in the /usr/local folder mkdir ~/.go
Set the environmental variables and $PATH location.
Code Block language bash GOROOT=/usr/local/go GOPATH=~/.go PATH=$PATH:$GOROOT/bin:$GOPATH/bin
Update the Go command.
Code Block language bash sudo update-alternatives --install "/usr/bin/go" "go" "/usr/local/go/bin/go" 0 sudo update-alternatives --set go /usr/local/go/bin/go
Confirm Go was updated to the latest version.
Code Block language bash go version
Code Block go version
...
02 Install Dependencies
2.1 Viewing and Verifying the Server’s Components
...