jump to content

FreeBSD

Install and register ZebraByteDevice Agent on FreeBSD servers in the command line using install.sh or CLI and check or uninstall the deployment.

Show as Markdown

Install and register ZebraByteDevice Agent on FreeBSD 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*.

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)
  • 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:

Terminal window
curl -fsSL "https://github.com/getprobo/probo/releases/download/probo-agent/vX.Y.Z/install.sh" | sudo sh

Unattended / MDM:

Terminal window
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' sh

Or pass flags:

Terminal window
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.

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.

If you already have the binary on the disk:

Terminal window
sudo probo-agent install \
--server https://us.probo.com \
--enrollment-token YOUR_TOKEN

Useful 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 rc.d. Default status directory: /var/lib/probo-agent.

Terminal window
probo-agent status
probo-agent collect

status prints the server URL, device ID, heart rate / posture / update intervals and if automatic update is enabled. collect runs posture checks once locally.

Terminal window
probo-agent uninstall

Uninstalling stops the service, deactivates the device, and deletes the state of the local agent.

Ultima actualizare: