Installing the agent on Debian

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

Prerequisites

Before you begin, determine the version of Debian you want to use.

Add the package repository

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

Debian 11 - Bullseye

To add the Debian 11 - Bullseye package, run the following script:

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

Debian 10 - Buster

To add the Debian 10 - Buster package, run the following script:

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

Debian 9 - Stretch

To add the Debian 9 - Stretch package, run the following script:

1$ sudo apt-get install -y apt-transport-https wget gnupg
2$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
3$ sudo tee /etc/apt/sources.list.d/sigsci-release.list <<-'EOF'
4deb https://apt.signalsciences.net/release/debian/ stretch main
5EOF
6$ sudo apt-get update

Debian 8 - Jessie

To add the Debian 8 - Jessie package, run the following script:

1$ sudo apt-get install -y apt-transport-https wget
2$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
3$ sudo tee /etc/apt/sources.list.d/sigsci-release.list <<-'EOF'
4deb https://apt.signalsciences.net/release/debian/ jessie main
5EOF
6$ sudo apt-get update

Debian 7 - Wheezy

To add the Debian 7 - Wheezy package, run the following script:

1$ sudo apt-get install -y apt-transport-https wget
2$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo apt-key add -
3$ sudo tee /etc/apt/sources.list.d/sigsci-release.list <<-'EOF'
4deb https://apt.signalsciences.net/release/debian/ wheezy main
5EOF
6$ sudo apt-get update

Install and configure the Signal Sciences Agent package

Now that you've downloaded the Debian package repository, you can install the Signal Sciences Agent package.

Run the following command to install the Signal Sciences Agent package.

$ sudo apt-get install sigsci-agent

Once the agent package is installed, you must create an agent configuration file and add the Agent Access Key and Agent Secret Key:

  1. Create an empty agent configuration file in the following directory: /etc/sigsci/agent.conf.

  2. Log in to the Signal Sciences console.

  3. From the Sites menu, select the site that you want to give the agent access to.

  4. Click the Agents link in the site navigation bar. The agents page appears.

  5. Click the View agent keys button. The agent keys window appears.

  6. Click the Copy button to copy the Agent Access Key and Agent Secret Key to your clipboard.

    The agent keys window.

  7. Navigate to the agent configuration file and paste the Agent Access Key and Agent Secret Key into the file.

    accesskeyid = "AGENTACCESSKEYHERE"
    secretaccesskey = "AGENTSECRETACCESSKEYHERE"
  8. 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 Debian versions 8 and above, run the following command to start the Signal Sciences agent:

$ sudo systemctl start sigsci-agent

For Debian 7, run the following command to start the Signal Sciences agent:

$ sudo service sigsci-agent start

Optionally, enable the agent auto-update service. On a set schedule, 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.