Erigon client can be used for staking on various supported chains. Client installation is always only one, used by services with an individual configuration (different service name, data path and ports in use).
Update Erigon client
One-page interactive complete guide to update Erigon client.
Disclaimer
This guide is for informational purposes only. The author nor website owner does not guarantee accuracy of the information in this guide and is not responsible for any damages or losses incurred by following the guide.
Updating Erigon client
Erigon documentation: https://erigon.gitbook.io/erigon
Check current version of Erigon running on the server:
$ /usr/local/bin/erigonlib/erigon -v
Find the latest stable version of Erigon on Github
- Find latest Erigon version at https://github.com/ledgerwatch/erigon/releases. AMD64 v1/v2 links at Microarchitecture levels.
- Write latest stable Erigon version:
-
Download Erigon version
2.60.10
cd ~/downloads && curl -LO https://github.com/erigontech/erigon/releases/download/v2.60.10/erigon_v2.60.10_linux_amd64v2.tar.gz
Verify hash of donwnloaded file
Get hash of downloaded file and compare it with official hashes
And check it compare to the provided hash for the file from https://github.com/erigontech/erigon/releases/download/v2.60.10/erigon_v2.60.10_checksums.txt (Note: The link links at 2.60.10 version )sha256sum erigon_v2.60.10_linux_amd64v2.tar.gz
-
Extract the downloaded package
tar xvf erigon_v2.60.10_linux_amd64v2.tar.gz
Stop Erigon client
journalctl -fu erigon $ sudo systemctl stop erigon && systemctl status erigon
-
Remove old library
sudo rm -r /usr/local/bin/erigonlib
-
Copy extracted Erigon library
sudo cp -a erigon_v2.60.10_linux_amd64v2 /usr/local/bin/erigonlib
Start Erigon client and check its status
$ sudo systemctl start erigon && systemctl status erigon
Monitor Erigon client
$ journalctl -fu erigon
-
Remove downloaded files
cd ~/downloads && rm -r erigon_v2.60.10_linux_amd64v2.tar.gz && rm -r erigon_v2.60.10_linux_amd64v2