Skip to content

VM Tracker Installation Script

Setting up the VM Tracker Client via script

Download and Execute Script

curl -fsSL -o "vm-tracker-install" https://vm-tracker.example.com/download/install
chmod +x vm-tracker-install
./vm-tracker-install
====================================
VM Tracker Client Installer
====================================
Interface: enp0s1

Detecting system architecture...
System detection:
  Architecture: aarch64
  Bits: 64
ARCH_SUFFIX: arm64
Detecting operating system...
GOOS: linux

Latest release asset: vm-tracker-client-linux-arm64.tar.gz
Downloading from GitHub: https://github.com/9it-full-service/vm-tracker/releases/latest/download/vm-tracker-client-linux-arm64.tar.gz
Extracting vm-tracker-client-linux-arm64.tar.gz ...
move vm-tracker-client to /usr/local/bin/
 Installed /usr/local/bin/vm-tracker-client

Testing client binary...
 Client binary test passed

Creating systemd service...
Starting service...

====================================
 Installation complete!
====================================

Service status:
 vm-tracker.service - VM Tracker Client
     Loaded: loaded (/etc/systemd/system/vm-tracker.service; enabled; preset: enabled)
     Active: active (running) since Mon 2025-11-03 14:38:40 UTC; 9h ago
   Main PID: 418 (vm-tracker-clie)
      Tasks: 9 (limit: 4585)
     Memory: 15.6M
        CPU: 4.148s
     CGroup: /system.slice/vm-tracker.service
             └─418 /usr/local/bin/vm-tracker-client -api https://vm-tracker.example.com -interface enp0s1 -interval 30


Useful commands:
  Check status:  sudo systemctl status vm-tracker
  View logs:     sudo journalctl -u vm-tracker -f
  Restart:       sudo systemctl restart vm-tracker
  Stop:          sudo systemctl stop vm-tracker

The VM should now be visible at:
  https://vm-tracker.example:443

Download Script with curl and Execute Directly

curl https://vm-tracker.example.com/download/install | bash
====================================
VM Tracker Client Installer
====================================
Interface: enp0s1

Detecting system architecture...
System detection:
  Architecture: aarch64
  Bits: 64
ARCH_SUFFIX: arm64
Detecting operating system...
GOOS: linux

Latest release asset: vm-tracker-client-linux-arm64.tar.gz
Downloading from GitHub: https://github.com/9it-full-service/vm-tracker/releases/latest/download/vm-tracker-client-linux-arm64.tar.gz
Extracting vm-tracker-client-linux-arm64.tar.gz ...
move vm-tracker-client to /usr/local/bin/
 Installed /usr/local/bin/vm-tracker-client

Testing client binary...
 Client binary test passed

Creating systemd service...
Starting service...

====================================
 Installation complete!
====================================

Service status:
 vm-tracker.service - VM Tracker Client
     Loaded: loaded (/etc/systemd/system/vm-tracker.service; enabled; preset: enabled)
     Active: active (running) since Mon 2025-11-03 14:38:40 UTC; 9h ago
   Main PID: 418 (vm-tracker-clie)
      Tasks: 9 (limit: 4585)
     Memory: 15.6M
        CPU: 4.166s
     CGroup: /system.slice/vm-tracker.service
             └─418 /usr/local/bin/vm-tracker-client -api https://vm-tracker.example.com:443 -interface enp0s1 -interval 30


Useful commands:
  Check status:  sudo systemctl status vm-tracker
  View logs:     sudo journalctl -u vm-tracker -f
  Restart:       sudo systemctl restart vm-tracker
  Stop:          sudo systemctl stop vm-tracker

The VM should now be visible at:
  https://vm-tracker.example.com:443