Installing NGINX Agent
nginxf5agentobservabilityubuntu
Installing from the NGINX repo
A. In Ubuntu
- >
Create the
/etc/ssl/nginxdirectory:codesudo mkdir -p /etc/ssl/nginx - >
Log in to the MyF5 Customer Portal and download your
nginx-repo.crtandnginx-repo.keyfiles. - >
Copy the files to the
/etc/ssl/nginx/directory:codesudo cp nginx-repo.crt nginx-repo.key /etc/ssl/nginx/ - >
Install the prerequisites:
codesudo apt-get install apt-transport-https lsb-release ca-certificates wget gnupg2 ubuntu-keyring - >
Download and add the NGINX signing key:
codewget -qO - https://cs.nginx.com/static/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null - >
Create the
aptconfiguration/etc/apt/apt.conf.d/90pkgs-nginx:codeAcquire::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"; - >
Add the
nginx-agentrepository:codeecho "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 - >
To install
nginx-agent, run the following commands:codesudo apt update sudo apt install nginx-agent - >
Verify the installation:
codesudo 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