This repository contains Ansible scripts for installing, updating, and removing an Aleo node on Linux systems. The playbook simplifies the process of setting up an Aleo node, managing its services, and viewing logs for debugging and monitoring.
A Linux system Ubuntu 22.04 TLS with root. Git and Ansible installed on your machine. Getting Started
Update your system's package list:
sudo apt update && sudo apt upgrade -y
Install Ansible and Git:
sudo apt install ansible git -y
Clone this repository to get the Ansible playbook and all necessary files:
git clone https://github.com/nodemasterpro/deploy-node-aleo.git
cd deploy-node-aleo
Run the playbook using the following command. You'll be prompted to specify the action (install, update, or remove):
ansible-playbook aleo_node.yml
Ensure you're running the playbook with root privileges or via a user with sudo access.
Starting Services: To start the Aleo client or prover service:
sudo systemctl start aleo-client
then
sudo systemctl start aleo-prover
Stopping Services: To stop the services:
sudo systemctl stop aleo-client
then
sudo systemctl stop aleo-prover
To view the logs for the Aleo client or prover:
Logs aleo client:
journalctl -u aleo-client -f -o cat
Logs aleo prover:
journalctl -u aleo-prover -f -o cat
After installation or update, the Aleo account keys are stored in /root/aleo/account_new.txt. Please ensure to check this location for your keys.