Install on Debian / Ubuntu
The .deb package runs SereneDB as a background service. Best for a Debian or Ubuntu server.
Install
Download the latest .deb for your architecture from GitHub Releases and install it:
sudo apt install ./serenedb_*.deb
Using apt install (rather than dpkg -i) pulls in the required postgresql-client and tzdata packages automatically.
Start the service
sudo systemctl enable --now serenedb
SereneDB now starts on boot and runs as the dedicated serenedb user.
Your server is running. Continue with the Quick Start to connect and run your first query.
Connect from another machine
By default SereneDB listens on 127.0.0.1 and accepts connections only from the same server. To allow remote clients, add the --server_endpoints flag to the service with a systemd drop-in:
sudo systemctl edit serenedb
In the editor that opens, add:
[Service]
ExecStart=
ExecStart=/usr/bin/serened --server_endpoints=pgsql+tcp://0.0.0.0:7890
The empty ExecStart= line clears the original command before setting the new one. Save and restart:
sudo systemctl restart serenedb