Installation

Erigon client installation guide.

Create Aliases

These aliases make interacting with Erigon on the command line easier.

echo "alias erigon-log='journalctl -f -u erigon.service -o cat | ccze -A'" >> ~/.bashrc
echo "alias erigon-start='sudo systemctl start erigon.service'" >> ~/.bashrc
echo "alias erigon-stop='sudo systemctl stop erigon.service'" >> ~/.bashrc
echo "alias erigon-restart='sudo systemctl restart erigon.service'" >> ~/.bashrc
echo "alias erigon-status='sudo systemctl status erigon.service'" >> ~/.bashrc

echo "alias erigon-version='sudo /usr/local/bin/erigon --version'" >> ~/.bashrc
echo "alias erigon-config='sudo vim /etc/systemd/system/erigon.service'" >> ~/.bashrc

echo "alias erigon-enable='sudo systemctl enable erigon.service'" >> ~/.bashrc
echo "alias erigon-disable='sudo systemctl disable erigon.service'" >> ~/.bashrc

echo "alias erigon-delete-data='sudo rm -rf /var/lib/goethereum/erigon'" >> ~/.bashrc
echo "alias erigon-update='~/erigon-update.sh'" >> ~/.bashrc

source ~/.bashrc

Firewall Configuration

Configure the firewall using generic Execution client UFW settings:Execution Clients

Erigon - Install

Build the latest version of Erigon.

Move the compiled Erigon build to a new directory.

Create Erigon user and directory.

JWT Secret is now shared between all clients on the same machine:Create JWT Secret

Erigon - Configure Service

Set permissions.

Configure Execution Service Environment Variables.

Configure Erigon service using the command line flags.

Start the service and check it's working as expected.

Erigon - Command Aliases

Erigon - Update Scripts

Create Erigon update script.

Make the script executable.

Last updated