Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Install

Nicola Strappazzon C edited this page Oct 27, 2023 · 1 revision

For the moment, this tool only run in any Linux distribution with amd/aarch 64 bits.

Install

Manual instalation:

sudo cp zenit /usr/bin/zenit
sudo mkdir /etc/zenit/
sudo /usr/bin/zenit completion bash > /etc/bash_completion.d/zenit
sudo /usr/bin/zenit agent --config-example > /etc/zenit/zenit.yaml
sudo /usr/bin/zenit service --install
sudo systemctl start zenit
sudo systemctl status zenit
source <(/usr/bin/zenit completion bash)

Reinstall

sudo systemctl stop zenit
sudo /usr/bin/zenit service --uninstall
sudo rm /usr/bin/zenit

And repeat the install process.

Verify and debug

/usr/bin/zenit agent --config=/etc/zenit/zenit.yaml --verbose

Configure

By default configuration file are in /etc/zenit/zenit.yaml.

The configuration file is very intuitive, please see the example config file.

Important: The hostname for your server cannot be "localhost." The host name should be a unique name.

Uninstall

sudo systemctl stop zenit
sudo /usr/bin/zenit service --uninstall
sudo rm /etc/bash_completion.d/zenit
sudo rm /usr/bin/zenit
sudo rm -rf /etc/zenit/
Clone this wiki locally