SquirrelDB Installation
Cassandra
Section titled “Cassandra”SquirrelDB requires Cassandra to store its metrics.
You can follow the Cassandra installation documentation, or run it with Docker:
# The network is needed only if you run SquirrelDB with Docker.docker network create squirreldb
docker run -d --name squirreldb-cassandra -p 127.0.0.1:9042:9042 --restart unless-stopped \ -v cassandra:/var/lib/cassandra --net squirreldb cassandraSquirrelDB
Section titled “SquirrelDB”Docker
Section titled “Docker”The preferred method to install SquirrelDB is Docker.
# Set the address of your Cassandra servers here, separated by commas.SQUIRRELDB_CASSANDRA_ADDRESSES=squirreldb-cassandra:9042
docker run -d --name squirreldb -p 127.0.0.1:9201:9201 --restart unless-stopped \ --net squirreldb -e SQUIRRELDB_CASSANDRA_ADDRESSES bleemeo/squirreldbBinary
Section titled “Binary”You can install SquirrelDB binary using the latest Github release for your platform.
For example, if you are on a x86-64 platform:
sudo wget https://github.com/bleemeo/squirreldb/releases/latest/download/squirreldb-linux_x86_64.bin \ -O /usr/local/bin/squirreldbsudo chmod +x /usr/local/bin/squirreldb