Installing the agent on Debian
Last updated 2023-05-18
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 update2$ sudo apt-get install -y apt-transport-https wget gnupg3$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/sigsci.gpg4$ 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.list5$ sudo apt-get update
Debian 10 - Buster
To add the Debian 10 - Buster package, run the following script:
1$ sudo apt-get update2$ sudo apt-get install -y apt-transport-https wget gnupg3$ wget -qO - https://apt.signalsciences.net/release/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/sigsci.gpg4$ 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.list5$ 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 gnupg2$ 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 main5EOF6$ 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 wget2$ 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 main5EOF6$ 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 wget2$ 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 main5EOF6$ 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:
Create an empty agent configuration file in the following directory:
/etc/sigsci/agent.conf
.Log in to the Signal Sciences console.
From the Sites menu, select the site that you want to give the agent access to.
Click the Agents link in the site navigation bar. The agents page appears.
Click the View agent keys button. The agent keys window appears.
Click the Copy button to copy the Agent Access Key and Agent Secret Key to your clipboard.
Navigate to the agent configuration file and paste the Agent Access Key and Agent Secret Key into the file.
accesskeyid = "AGENTACCESSKEYHERE"secretaccesskey = "AGENTSECRETACCESSKEYHERE"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.
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.