Installing Ternoa
Last updated
Last updated
We have made an installer script automates the installation process of the Ternoa Node software on Debian/Ubuntu-based systems. It downloads the Ternoa Node binary, creates a systemd service, and sets up necessary configurations.
Debian/Ubuntu-based Linux distribution
Internet connection to download the Ternoa Node binary
Sudo privileges
Download the installer script:
Make the script executable:
Run the script with sudo privileges:
Follow the on-screen prompts to provide necessary inputs like Node Name, Chain Name, Validator option, etc.
Once the installation is complete, the Ternoa Node service will be started automatically.
Verion: Required. Ternoa Binary version default is v1.3.2.
Node Name: Required. Name of the Ternoa Node.
Chain Name: Choose from alphanet, mainnet, or betanet. Default is mainnet.
Archive Mode: Choose true or false. Default is true.
Enable Prometheus: Choose true or false. Default is false.
Prometheus Port: Optional. Port for Prometheus metrics. Default is 9615.
Validator: Choose true or false. Default is false.
The installer script detects the operating system (Debian or Ubuntu) and sets up necessary dependencies.
It prompts the user for required inputs such as Node Name, Chain Name, and other configurations.
The script downloads the Ternoa Node binary from the official repository.
It creates a systemd service for the Ternoa Node, ensuring it starts automatically on system boot.
Additional configurations like Prometheus metrics, archive mode, and validator option are applied based on user inputs.
Once the installation is complete, the Ternoa Node service is started automatically.
Logs of the Ternoa Node service are displayed for 10 seconds to verify successful installation.
Once Ternoa is installed, let’s check to make sure that it’s working correctly:
You can also restart the Ternoa service using.
or if you would like to stop it, you should run :
to troubleshoot, and check the logs in real-time, you can run the following command:
For more detailed instructions, view our workshop on setting up a validator node here.