Installation: APT

Supported Versions

  • Ubuntu 16.04, 18.04
  • Debian 8.x, 9.x

Requirements

Installation Process

Add Repositories

Debian 8.x

Add backports repository to /etc/apt/sources.list.d/backports.list file.

deb http://ftp.debian.org/debian jessie-backports main

Ubuntu 18.04

Add the following line to /etc/apt/sources.list to enable Java 8 packages.

deb http://security.ubuntu.com/ubuntu bionic-security main universe

Update Repositories

sudo apt-get update

Add ATSD Repository

Add axibase.com/public/repository/deb/ repository

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 \
--recv-keys 26AEE425A57967CFB323846008796A6514F3CB79
sudo sh -c 'echo "deb [arch=amd64] http://axibase.com/public/repository/deb/ ./" \
>> /etc/apt/sources.list.d/axibase.list'

Update Repositories and Install ATSD

Install ATSD.

sudo apt-get update && sudo apt-get install atsd

On Debian 8.x

sudo apt-get update && sudo apt-get -t jessie-backports install atsd

It can take up to five minutes to initialize the database.

Check Installation

tail -f /opt/atsd/atsd/logs/start.log

Watch for ATSD start completed message at the end of the start.log.

Web interface is now accessible on port 8443 (HTTPS).

Troubleshooting

Validation

Post-installation Steps

Excluding ATSD Package from Upgrades

To temporarily exclude the atsd package from apt upgrades, enable holding for the package:

sudo apt-mark hold atsd

To re-enable upgrades for the atsd package:

sudo apt-mark unhold atsd