Linux packages
Native packages for Debian, Ubuntu, RHEL, Fedora, CentOS, and Alpine Linux are available from the SolidInvoice repository on Cloudsmith. Installing a package sets up a systemd service, places the binary at /usr/bin/solidinvoice, and creates a dedicated service user โ nothing else to configure to get started.
Installโ
- Debian / Ubuntu
- RHEL / Fedora / CentOS
- Alpine
Add the SolidInvoice APT repository and install:
curl -1sLf 'https://dl.cloudsmith.io/public/solidworx/solidinvoice/setup.deb.sh' | sudo -E bash
sudo apt install solidinvoice
Add the SolidInvoice RPM repository and install:
curl -1sLf 'https://dl.cloudsmith.io/public/solidworx/solidinvoice/setup.rpm.sh' | sudo -E bash
sudo dnf install solidinvoice
On CentOS 7 or RHEL 7, substitute yum for dnf.
Add the SolidInvoice Alpine repository and install:
curl -1sLf 'https://dl.cloudsmith.io/public/solidworx/solidinvoice/setup.alpine.sh' | sudo -E sh
sudo apk add solidinvoice
Packages are GPG-signed. The setup scripts configure the signing key automatically โ no manual key import needed.
Start the serviceโ
Enable and start the systemd service:
sudo systemctl enable solidinvoice --now
SolidInvoice listens on http://localhost:8765. Open that URL in your browser and finish setup with the first-run wizard.
The service runs over plain HTTP by default. For production, place SolidInvoice behind a reverse proxy (Nginx, Caddy, Traefik) that handles TLS termination.
Configurationโ
The service reads configuration from /etc/solidinvoice/solidinvoice.env. Edit this file to change the port, set the database URL, or override any other option:
# Port to listen on (default: 8765)
#SOLIDINVOICE_PORT=8765
# Database connection string
#DATABASE_URL=mysql://user:password@localhost:3306/solidinvoice
After editing, restart the service to apply changes:
sudo systemctl restart solidinvoice
Manage the serviceโ
sudo systemctl start solidinvoice # start
sudo systemctl stop solidinvoice # stop
sudo systemctl restart solidinvoice # restart
sudo systemctl status solidinvoice # check status
journalctl -u solidinvoice -f # follow logs
File locationsโ
| Path | Contents |
|---|---|
/usr/bin/solidinvoice | Binary |
/etc/solidinvoice/solidinvoice.env | Configuration |
/var/lib/solidinvoice/ | Application data |
/usr/lib/systemd/system/solidinvoice.service | systemd unit |
Updateโ
- Debian / Ubuntu
- RHEL / Fedora / CentOS
- Alpine
sudo apt update && sudo apt upgrade solidinvoice
sudo dnf update solidinvoice
sudo apk update && sudo apk upgrade solidinvoice