Installing the agent on Ubuntu

This guide explains how to install the Signal Sciences agent on Ubuntu.

Prerequisites

Before installing the agent, you need to:

  • Determine the version of Ubuntu you want to use.
  • Copy the agent keys for the site that you want the agent to be able to access. You will use the agent keys when configuring the Signal Sciences Agent package.

Add the package repository

Begin the agent installation by adding the version of the Ubuntu package repository that you want to use.

Ubuntu 22.04 - Jammy

To add the Ubuntu 22.04 - Jammy package, run the following script:

$ sudo apt-get update
$ sudo apt-get install -y apt-transport-https wget gnupg
$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/sigsci.gpg
$ sudo echo "deb [signed-by=/usr/share/keyrings/sigsci.gpg] https://apt.signalsciences.net/release/ubuntu/ jammy main" | sudo tee /etc/apt/sources.list.d/sigsci-release.list
$ sudo apt-get update

Ubuntu 20.04 - Focal

To add the Ubuntu 20.04 - Focal package, run the following script:

$ sudo apt update
$ sudo apt-get install -y apt-transport-https wget
$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
$ sudo echo "deb https://apt.signalsciences.net/release/ubuntu/ focal main" | sudo tee /etc/apt/sources.list.d/sigsci-release.list && sudo apt-get update

Ubuntu 18.04 - Bionic

To add the Ubuntu 18.04 - Bionic package, run the following script:

$ sudo apt update
$ sudo apt-get install -y apt-transport-https wget
$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
$ sudo echo "deb https://apt.signalsciences.net/release/ubuntu/ bionic main" | sudo tee /etc/apt/sources.list.d/sigsci-release.list && $ sudo apt-get update

Ubuntu 16.04 - Xenial

To add the Ubuntu 16.04 - Xenial package, run the following script:

$ sudo apt-get install -y apt-transport-https wget
$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
$ sudo echo "deb https://apt.signalsciences.net/release/ubuntu/ xenial main" | sudo tee /etc/apt/sources.list.d/sigsci-release.list && $ sudo apt-get update

Ubuntu 14.04 - Trusty

To add the Ubuntu 14.04 - Trusty package, run the following script:

$ sudo apt-get install -y apt-transport-https wget
$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
$ sudo echo "deb https://apt.signalsciences.net/release/ubuntu/ trusty main" | sudo tee /etc/apt/sources.list.d/sigsci-release.list && $ sudo apt-get update

Ubuntu 12.04 - Precise

To add the 12.04 - Precise package, run the following script:

$ sudo apt-get install -y apt-transport-https wget
$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
$ sudo echo "deb https://apt.signalsciences.net/release/ubuntu/ precise main" | sudo tee /etc/apt/sources.list.d/sigsci-release.list && $ sudo apt-get update

Install and configure the Signal Sciences Agent package

Now that you've downloaded the Ubuntu package repository, you can install and configure the Signal Sciences Agent package:

  1. Run the following command to install the Signal Sciences Agent package:
    $ sudo apt-get install sigsci-agent
  2. Create an empty agent configuration file in the following directory: /etc/sigsci/agent.conf.
  3. Add the agent keys for your site to the agent configuration file.
    accesskeyid = "AGENTACCESSKEYHERE"
    secretaccesskey = "AGENTSECRETACCESSKEYHERE"
  4. Save the agent configuration file.

Start the Signal Sciences agent

Now that you've installed and configured the agent package, you can start the Signal Sciences agent.

For Ubuntu versions 18.04 and above, run the following command to start the Signal Sciences agent:

$ sudo service sigsci-agent start

For Ubuntu versions 15.04 through 17.10, run the following command to start the Signal Sciences agent:

$ sudo systemctl start sigsci-agent

For Ubuntu versions 14.04 and below, run the following command to start the Signal Sciences agent:

$ sudo start sigsci-agent

Optionally, enable the agent auto-update service. The service checks the Signal Sciences package downloads site for a new version of the agent and updates the agent when a new version is available.

Next steps

Explore our module options and install the Signal Sciences module.

Was this guide helpful?

Do not use this form to send sensitive information. If you need assistance, contact support. This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.