Binary package
How to install Comentario locally from a binary package.
This page explains how you can install Comentario locally using a binary package.
Prerequisites
- Your system has systemd, because Comentario runs as a systemd service.
- Optional: PostgreSQL is installed and running, and the required database is created.
Installation
- Download a
.debor.rpmbinary package from the releases page. - Run
dpkgorrpmto install the package.
Configuration
Upon installation, Comentario (comentario.service) will start with all the default configuration, which may not be entirely correct.
The default configuration assumes:
- Comentario is using a local, file-based SQLite3 database for storing comments, users, statistics etc. The database file will be created at
/var/lib/comentario/comentario.sqlite3. - Comentario is listening on
localhostport80.
Feel free to make necessary changes:
- Edit the file
/etc/comentario/comentario.confcontaining the static configuration (as environment variables). - Edit the secrets in
/etc/comentario/secrets.yaml. Make sure the file is only readable byroot(has0600permissions).
Then restart the service:
sudo systemctl restart comentario.service
Read more on configuring the backend here.
