Linux Binary
This guide covers installing and running Qtap as a Linux binary in cloud-connected mode, managed through the Qplane control plane.
Preflight Check
Verify your environment's compatibility:
curl -sSL https://github.com/qpoint-io/preflight/releases/latest/download/preflight.sh | sudo bashPrerequisites
Linux host with kernel 5.10+
Root/sudo access
x86_64 or arm64 architecture
Registration token from app.qpoint.io (Settings → Installation)
Installation
Quick Install
curl -s https://get.qpoint.io/install | sudo shManual Installation
Download the appropriate binary:
For x86_64:
curl -L https://downloads.qpoint.io/qpoint/qtap-v0.11.5-linux-amd64.tgz -o qtap.tgzFor arm64:
curl -L https://downloads.qpoint.io/qpoint/qtap-v0.11.5-linux-arm64.tgz -o qtap.tgzExtract and install:
tar -xzf qtap.tgz && \
sudo mv qtap-* /usr/local/bin/qtap && \
sudo chmod +x /usr/local/bin/qtapRunning with Registration Token
Run Qtap in cloud-connected mode:
sudo qtap --registration-token=$TOKENReplace $TOKEN with your actual registration token from app.qpoint.io.
Running as a Service
Service Configuration
Create environment file for secure token storage:
sudo mkdir -p /etc/qtap && \
sudo touch /etc/qtap/environment && \
sudo chmod 600 /etc/qtap/environmentAdd your registration token and optional tag variables:
sudo tee /etc/qtap/environment << 'EOF'
REGISTRATION_TOKEN=your_registration_token_here
QTAP_ENVIRONMENT=Production
QTAP_SERVICE=API
EOFCreate systemd service file:
sudo nano /etc/systemd/system/qtap.serviceAdd the following content:
[Unit]
Description=Qtap Traffic Analysis Service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
User=root
EnvironmentFile=/etc/qtap/environment
ExecStart=/usr/local/bin/qtap --registration-token=${REGISTRATION_TOKEN} --tags="Environment:${QTAP_ENVIRONMENT},Service:${QTAP_SERVICE}"
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.targetManaging the Service
Reload systemd:
sudo systemctl daemon-reloadStart the service:
sudo systemctl start qtapEnable service to start on boot:
sudo systemctl enable qtapCheck service status:
sudo systemctl status qtapView service logs:
sudo journalctl -u qtap -fUpdating Binary
Installation Script
The quickest way to update Qtap is via our installation script:
Stop the service:
sudo systemctl stop qtapDownload and install the new version:
curl -s https://get.qpoint.io/install | sudo shRestart the service:
sudo systemctl start qtapVerify the update:
qtap --version sudo systemctl status qtap
Manually
Stop the service:
sudo systemctl stop qtapDownload and install the new version:
# Download the new version curl -L https://downloads.qpoint.io/qpoint/qtap-vX.Y.Z-linux-amd64.tgz -o qtap-new.tgz # Extract and replace tar -xzf qtap-new.tgz sudo mv qtap-* /usr/local/bin/qtap sudo chmod +x /usr/local/bin/qtapRestart the service:
sudo systemctl start qtapVerify the update:
qtap --version sudo systemctl status qtap
Last updated