Upgrade from Agent 1.9 to Agent 2.x Series

 

Threat Stack recommends uninstalling a 1.x series Agent and installing a 2.x series Agent. However, Threat Stack supports the upgrade path from Agent 1.9 to the Agent 2.x series.

Debian / Ubuntu OS
  1. Open the Command Line.
  2. To retrieve the latest Agent 2.x series package, run the following command and press ENTER:
    echo "deb https://pkg.threatstack.com/v2/Ubuntu `lsb_release -c | cut -f2` main" | sudo tee /etc/apt/sources.list.d/threatstack.list > /dev/null
  3. To upgrade the Threat Stack Agent from 1.9 to the 2.x series, run the following command and press ENTER:
    sudo apt-get update && sudo apt-get install threatstack-agent
Amazon Linux 1
  1. Open the Command Line.
  2. Open the following repo:
    /etc/yum.repos.d/threatstack.repo
  3. Modify the following line:
    baseurl=https://pkg.threatstack.com/Amazon
  4. It should now look something like this:
    baseurl=https://pkg.threatstack.com/v2/Amazon/1

    Press ENTER. The .repo file now looks like this:

    [threatstack]
    name=Threat Stack Package Repository
    baseurl=https://pkg.threatstack.com/v2/Amazon/1
    enabled=1
    gpgcheck=1
  5. To clean your cache, run the following command and press ENTER:
    sudo yum clean all
  6. To upgrade the Threat Stack Agent from 1.9 to the 2.x series, type the following command and press ENTER:
    sudo yum install threatstack-agent
Amazon Linux 2
  1. Open the Command Line.
  2. Open the following repo:
    /etc/yum.repos.d/threatstack.repo
  3. Modify the following line:
    baseurl=https://pkg.threatstack.com/Amazon
  4. It should now look something like this:
    baseurl=https://pkg.threatstack.com/v2/Amazon/2

    Press ENTER. The .repo file now looks like this:

    [threatstack]
    name=Threat Stack Package Repository
    baseurl=https://pkg.threatstack.com/v2/Amazon/2
    enabled=1
    gpgcheck=1
  5. To clean your cache, run the following command and press ENTER:
    sudo yum clean all
  6. To upgrade the Threat Stack Agent from 1.9 to the 2.x series, type the following command and press ENTER:
    sudo yum install threatstack-agent
CentOS / RedHat
  1. Open the Command Line.
  2. Open the following repo:
    /etc/yum.repos.d/threatstack.repo
  3. Modify the following line:
    baseurl=https://pkg.threatstack.com/[CentOS / RedHat]
  4. It should now look something like this:
    baseurl=https://pkg.threatstack.com/v2/EL/7

    Press ENTER. The .repo file now looks like this:

    [threatstack]
    name=Threat Stack Package Repository
    baseurl=https://pkg.threatstack.com/v2/EL/7
    enabled=1
    gpgcheck=1
  5. To clean your cache, run the following command and press ENTER:
    sudo yum clean all
  6. To upgrade the Threat Stack Agent from 1.9 to the 2.x series, type the following command and press ENTER:
    sudo yum install threatstack-agent
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request