Setup
System requirements
- Debian Operating System
- at least 1 CPU
- at least 1GB RAM
- at least 512MB disk storage
Installation
Zuthree Manager is being distributed through a dedicated repository.
-
Add Zuthree Manager repository to your
aptrepositories:Terminal window sudo curl -fsSL http://repository.zuthree.com/pgp-key.public -o /etc/apt/keyrings/zuthree-pgp-key.publicTerminal window echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/zuthree-pgp-key.public] http://repository.zuthree.com/debian stable main" \| sudo tee /etc/apt/sources.list.d/zuthree.listTerminal window sudo apt-get update -
Install Zuthree Manager:
Terminal window sudo apt-get install zuthree -
Verify the installation:
Terminal window sudo zuthree --help
Activate your license
To use Zuthree Manager, a valid license must be purchased and activated.
Purchase your Zuthree Manager license by providing your License Request on zuthree.com.
Generate License Request
New to Zuthree Manager? Follow these steps:
- Run Zuthree Manager:
Terminal window sudo zuthree - Copy your
License Requestfrom the command output. Alternatively, you can copy a file namedlicense-request.zuthree, located at/root/.zuthree/license-request.zuthreeby default. - Go to zuthree.com and follow the instructions.
Apply License Key
Once you have obtained a License Key from zuthree.com, apply it by running:
sudo zuthree --license __your_license_key__Update License Key
If your license expired, or you’ve upgraded you license, you will need to update it in the application. To update your license run:
sudo zuthree update-license --license __your_license_key__Configuration
The recommended approach for running Zuthree Manager is as a systemd service.
While you can specify configuration parameters when starting the service using the systemctl start command,
it is highly recommended to use a dedicated configuration file.
To create your config file run:
sudo zuthree save-config __your_arguments__This command will save your arguments to a configuration file.
This file will be read each time Zuthree Manager starts,
allowing the systemctl service to run without requiring additional arguments.
You can list all possible arguments by running:
sudo zuthree save-config --helpUsing the ZUTHREE_DATABASE_PASSWORD environment variable
- Edit the root
.bashrcfile:Terminal window sudo nano /root/.bashrcTerminal window sudo vim /root/.bashrc - Export
ZUTHREE_DATABASE_PASSWORDenvironment variable:- Add this line to the end of the file:
Terminal window export ZUTHREE_DATABASE_PASSWORD=__your_password__ - Press
Ctrl + Xto save changes.
- Press
ito enterinsert mode. - Type:
Terminal window export ZUTHREE_DATABASE_PASSWORD=__your_password__ - Press
escapebutton to exitinsert mode. - Type
:wqto save changes.
- Add this line to the end of the file:
- Save changes
Press Ctrl+X
Type in :wq and press enter
Starting service
Zuthree Manager installation includes a service to run the application.
To automatically start Zuthree Manager when your server boots, run:
sudo sytemctl enable zuthreeTo start your service and application, run:
sudo systemctl start zuthreeTo check the service status, run:
sudo systemctl status zuthreeMonitoring service
There are two ways to view Zuthree Manager logs:
To use the system journal, run:
sudo journalctl -u zuthreeTo view incoming logs in real-time, add the -f flag.
sudo journalctl -u zuthree -fZuthree Manager stores the last 7 days of logs in JSON format within the storage folder by default.
You can view these logs using your preferred tools or directly in the console with:
ls -alh /root/.zuthree/storage/logs # to list all the log filescat /root/.zuthree/storage/logs/zuthree-2024-12-31-01.logOlder logs are compressed into .gz files. To view them, run:
zcat /root/.zuthree/storage/logs/zuthree-2024-12-31-01.log.gzUse the jq application to format the output. You may need to install it separately.
cat /opt/zuthree/storage/logs/zuthree-2024-12-31-01.log | jqUninstallation
To remove Zuthree Manager run:
sudo apt-get remove zuthreeThis will stop the Zuthree Manager service if it was running and will remove it from your system. This will not remove your data in the application or applied license to it, thus if you reinstall Zuthree Manager you will still have access to it. To remove all data associated to it, you need to remove its files. If you did not change default config (—config argument) or storage location (—storage argument), run:
sudo rm -rf /root/.zuthreeOtherwise, remove /root/.zuthree with the command above to remove your license information and your config and storage locations separately.