Add repository

Add the https://repo.quasardb.net/apt/ repository to your apt sources:

$ echo "deb [trusted=yes] https://repo.quasardb.net/apt/ /" > /etc/apt/sources.list.d/quasardb.list
$ apt install apt-transport-https ca-certificates
$ apt update
...
Get:15 https://repo.quasardb.net/apt  Packages [1,068 B]
...

Tip

If you wish to subscribe to our beta release channel, you can add https://repo.beta.quasardb.net/apt/ as an additional source.

Install packages

$ apt search qdb
c   qdb-api
c   qdb-rest
c   qdb-server
c   qdb-utils
$ apt install qdb-server qdb-api qdb-rest qdb-utils

Lock versions (Optional)

apt will automatically upgrade your QuasarDB application when new updates arrive. As we recommend caution before upgrading, and as such we recommend locking the version you install as follows:

$ echo "qdb-server hold" | dpkg --set-selections
$ echo "qdb-rest hold" | dpkg --set-selections
$ echo "qdb-utils hold" | dpkg --set-selections
$ echo "qdb-api hold" | dpkg --set-selections

File locations

The Debian package for the QuasarDB server installs files as the qdb user and group in the following locations:

Files type

Location

Configuration files

/etc/qdb

Logs

/var/log/qdb

Database depot

/var/lib/qdb

Cluster public key (default)

/usr/share/qdb/cluster_public.key