Useful Commands
Notes on how to use a Besu Client.
geth.service
besu-log # View the besu.service logs
besu-start # Start the besu.service
besu-stop # Stop the besu.service
besu-restart # Restart the besu.service
besu-status # View the status of the besu.service
besu-version # Check the version of Besu in use
besu-enable # Enable the besu.service
besu-disable # Disable the besu.service
besu-delete-data # Delete all Besu chain data
besu-config # Open the /etc/systemd/system/geth.service in vim
daemon-reload # Reload any changes made to the geth.serviceOther Useful Commands
Checks Besu is running.
BESU_PORT= # Default 8545
curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' http://localhost:${GETH_PORT}Check ports can be accessed.
Checks the validator status using the validator's public address.
Check validator status using a public endpoint in a browser.
Data Locations
Besu chaindata location.
Last updated