Linux
Install and register ZebraByteDevice Agent on Linux servers from the command line using install.sh or the CLI and check or uninstall the deployment.
Install and register ZebraByteDevice Agent on Linux from the command line. This route is for servers and other headless hosts where there is no record in the tray or browser.
Download the latest version of the Download page or from GitHub Releases according to the tag probo-agent/v*.
Before we begin
Posts Tagged ‘Before You Start’You need:
- A platform organization with permission to manage devices
- A one-shot enrollment token Pentru dispozitivul
- URL-ul serverului platformei pentru regiunea dvs.:
- United States:
https://us.probo.com - European Union:
https://eu.probo.com - Self-hosted: your instance base URL (no path)
- United States:
- Root or sudo on the host
Install with install.sh
“Install with install.sh”Each version includes a install.sh that downloads the corresponding archive, checks the check amount, installs at /usr/local/bin and registers the device.
Interactive:
curl -fsSL "https://github.com/getprobo/probo/releases/download/probo-agent/vX.Y.Z/install.sh" | sudo shUnattended / MDM:
curl -fsSL "https://github.com/getprobo/probo/releases/download/probo-agent/vX.Y.Z/install.sh" | sudo \ PROBO_SERVER_URL=https://us.probo.com \ PROBO_ENROLLMENT_TOKEN='YOUR_TOKEN' shOr pass flags:
curl -fsSL "https://github.com/getprobo/probo/releases/download/probo-agent/vX.Y.Z/install.sh" | sudo sh -s -- \ --server https://us.probo.com \ --enrollment-token 'YOUR_TOKEN'Replace vX.Y.Z with the release version from Download page.
Useful environment variables
Section entitled “Useful environment variables”| Variable | Description |
|---|---|
PROBO_SERVER_URL |
the platform server base URL |
PROBO_ENROLLMENT_TOKEN |
One-shot enrollment token |
PROBO_NO_AUTO_UPDATE |
Set to true to disable automatic updates |
PROBO_AGENT_STATE_DIR |
Superscribe the agent's state directory (default /var/lib/probo-agent) |
Never enter the sign-up token in the curl URL.
Manual CLI install
Section titled “Manual CLI install”If you already have the binary on the disk:
sudo probo-agent install \ --server https://us.probo.com \ --enrollment-token YOUR_TOKENUseful flags:
| Flag | Description |
|---|---|
--server |
the platform server base URL (required) |
--enrollment-token |
Single-touch entry token (or PROBO_ENROLLMENT_TOKEN) |
--skip-service |
Register the device, but do not install the OS service |
--no-auto-update |
Disable automatic upgrades |
-d, --dir |
Override the agent config/keystore directory |
The agent runs as a managed service systemd. Default status directory: /var/lib/probo-agent.
Verify installation
Section entitled “Verify installation”probo-agent statusprobo-agent collectstatus prints the server URL, device ID, heart rate / posture / update intervals and if automatic update is enabled. collect runs posture checks once locally.
Uninstall
Section entitled “Uninstall”probo-agent uninstallUninstalling stops the service, deactivates the device, and deletes the state of the local agent.