SCHIZOSCHIZOSCHIZO
  • WORK
  • ABOUT
  • BRAIN DUMP
  • TOOLS
  • CONTACT
2026-06-09

Installing NGINX Agent

nginxf5agentobservabilityubuntu

Installing from the NGINX repo

A. In Ubuntu

  1. >

    Create the /etc/ssl/nginx directory:

    code
    sudo mkdir -p /etc/ssl/nginx
    
  2. >

    Log in to the MyF5 Customer Portal and download your nginx-repo.crt and nginx-repo.key files.

  3. >

    Copy the files to the /etc/ssl/nginx/ directory:

    code
    sudo cp nginx-repo.crt nginx-repo.key /etc/ssl/nginx/
    
  4. >

    Install the prerequisites:

    code
    sudo apt-get install apt-transport-https lsb-release ca-certificates wget gnupg2 ubuntu-keyring
    
  5. >

    Download and add the NGINX signing key:

    code
    wget -qO - https://cs.nginx.com/static/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
    
  6. >

    Create the apt configuration /etc/apt/apt.conf.d/90pkgs-nginx:

    code
    Acquire::https::pkgs.nginx.com::Verify-Peer "true";
    Acquire::https::pkgs.nginx.com::Verify-Host "true";
    Acquire::https::pkgs.nginx.com::SslCert     "/etc/ssl/nginx/nginx-repo.crt";
    Acquire::https::pkgs.nginx.com::SslKey      "/etc/ssl/nginx/nginx-repo.key";
    
  7. >

    Add the nginx-agent repository:

    code
    echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://pkgs.nginx.com/nginx-agent/ubuntu/ `lsb_release -cs` agent" \
      | sudo tee /etc/apt/sources.list.d/nginx-agent.list
    
  8. >

    To install nginx-agent, run the following commands:

    code
    sudo apt update
    sudo apt install nginx-agent
    
  9. >

    Verify the installation:

    code
    sudo nginx-agent -v
    
Agent install recall3 blanks

Add the signing key with wget piped through , create under /etc/apt/apt.conf.d to point at nginx-repo.crt and .key, then add the agent repo to .

try it before revealing

Read next

  • 2026-06-11 · CheatsheetsInstalling NGINX Plus
  • 2026-06-25 · CheatsheetsSSL Offloading on F5 BIG-IP
  • 2026-06-25 · Byte-SizedLocking Down Ports on F5 BIG-IP
  • 2026-06-17 · ChecklistsConfiguring DNSSEC on F5 BIG-IP DNS

← All PostsSCHIZO Brain Dump
SCHIZO

Suhesh Kasti — AppSec & Offensive Security

Navigate

  • ▸ Projects
  • ▸ Brain Dump
  • ▸ Cyber Tools
  • ▸ About
  • ▸ Contact
  • Download CV

Connect

  • ◆ GitHub
  • ◆ LinkedIn
  • ◆ Twitter
  • ◆ YouTube
  • ◆ Telegram
© 2026 SCHIZO

Press / to search