Linux

This guide explains how to install, configure, and uninstall Colibri Server on Linux distributions (Debian, Ubuntu, RedHat, CentOS, Fedora).

Requirements

  • Linux distribution with systemd

  • Root/sudo access

  • At least 500 MB free disk space

  • glibc 2.31 or newer (Ubuntu 20.04+, Debian 11+, RHEL 8+)

  • Optional: Memcached for caching (recommended for production)

Installation

Debian/Ubuntu (DEB Package)

Download

Download the latest .deb package from the GitHub Releasesarrow-up-right page:

curl -L -O https://github.com/corpus-core/colibri-stateless/releases/latest/download/colibri-server_1.0.0-1_amd64.deb

Install

# Install the package
sudo dpkg -i colibri-server_1.0.0-1_amd64.deb

# Install any missing dependencies
sudo apt-get install -f

# Verify installation
sudo systemctl status colibri-server

RedHat/CentOS/Fedora (RPM Package)

Download

Install

What Gets Installed

The installer places files in the following locations:

  • Binary: /usr/bin/colibri-server

  • Configuration: /etc/colibri/server.conf

  • Systemd Service: /etc/systemd/system/colibri-server.service

  • Log Files: Accessible via journalctl -u colibri-server

  • Data Directory: /var/lib/colibri/

  • System User: colibri (created automatically)

Automatic Service Start

The Colibri Server is automatically installed as a systemd service and:

  • Starts immediately after installation

  • Starts automatically on system boot

  • Runs as dedicated colibri user (non-root)

  • Restarts automatically on failure

The service listens on port 8090 by default.

Configuration

Edit Configuration File

Key Configuration Parameters

Reload Configuration

After changing the configuration, restart the service:

Memcached significantly improves performance by caching external RPC/Beacon API requests.

Install and enable:

Configure:

Verify it's working:

Enable Web UI (Optional)

To enable the web-based configuration interface:

  1. Edit the config file:

  2. Set WEB_UI_ENABLED=1

  3. Restart the service:

  4. Access the UI at: http://localhost:8090/ui

⚠️ Security Warning: Only enable the Web UI on trusted local networks. It has no authentication and should never be exposed to the internet.

Service Management

Basic Commands

View Logs

Firewall Configuration

UFW (Ubuntu/Debian)

firewalld (RedHat/CentOS/Fedora)

iptables

Uninstallation

Debian/Ubuntu

RedHat/CentOS/Fedora

Manual Cleanup (if needed)

If you want to remove all traces:

Troubleshooting

Service Won't Start

  1. Check logs:

  2. Common issues:

    • Port 8090 already in use → Change PORT in config file

    • Invalid RPC endpoints → Check network connectivity

    • Config file syntax error → Validate config file format

    • Permission issues → Check /var/lib/colibri ownership

  3. Test manually:

Port Already in Use

Check what's using port 8090:

Either stop that process or change the port in /etc/colibri/server.conf.

Permission Denied Errors

Ensure the colibri user owns the data directory:

SELinux Issues (RedHat/CentOS)

If SELinux is enabled and blocking the service:

Service Status

Check if the service is enabled and running:

Building from Source

If you want to build the package yourself:

Debian/Ubuntu

Requirements:

  • dpkg-dev, debhelper, cmake, gcc, g++

RedHat/CentOS/Fedora

Requirements:

  • rpm-build, rpmdevtools, cmake, gcc, gcc-c++

Support

  • Documentation: https://corpus-core.gitbook.io/specification-colibri-stateless

  • Issues: https://github.com/corpus-core/colibri-stateless/issues

  • Email: simon@corpus.io

License

The Colibri core library is licensed under the MIT License.

The server component is dual-licensed:

  • PolyForm Noncommercial License 1.0.0 for non-commercial use

  • Commercial License required for commercial use (contact simon@corpus.io)

Last updated