Running a Juno Node

Running a Juno node is crucial for participating in the Juno network. This guide covers various methods to set up and run a Juno node, including binary executions.

Running Juno with Binary

Prerequisites

  • Junod Binary: Build or download the latest on-chain version of junod.
  • Permissions: Ensure executable permissions for your binary.

Steps

  1. Execute Junod Binary: Run the command ./junod [command] [flags]. For starting the daemon, use ./junod start.
  2. Systemd Configuration: Configure junod to run as a systemd service for reliability.
    • Move the binary to /usr/bin with cp junod /usr/bin/.
    • Create and edit the systemd service file /etc/systemd/system/junod.service with appropriate configurations.
  3. Manage Service:
    • Reload systemd: sudo systemctl daemon-reload
    • Restart junod: sudo systemctl restart junod
    • Enable on boot: sudo systemctl enable junod
    • Check logs: journalctl -u junod -f

Configuring Junod

  • Config Files: Located in $HOME/.juno/config.
    • config.toml: General settings.
    • app.toml: Application-specific settings.
    • client.toml: Juno client settings.