On a host (binary + systemd)
For a VM or bare-metal Linux server (x86-64, glibc).
1. Get the binary
Download it from GitHub Releases:
talaan-linux-x86_64 (all modules) or talaan-minimal-linux-x86_64 (LDAP and LDAPS only).
VERSION=v0.5.3
base=https://github.com/talaan-dev/talaan/releases/download/$VERSION
curl -LO $base/talaan-linux-x86_64 -LO $base/SHA256SUMS -LO $base/talaan.service -LO $base/talaan.toml
sha256sum -c SHA256SUMS --ignore-missing
sudo install -m 0755 talaan-linux-x86_64 /usr/local/bin/talaan
talaan --version
2. Configure
sudo install -d -m 0755 /etc/talaan
sudo install -m 0644 talaan.toml /etc/talaan/talaan.toml
sudo sh -c 'umask 077; printf %s "choose-a-long-admin-passphrase" > /etc/talaan/admin-password'
sudo $EDITOR /etc/talaan/talaan.toml # set suffix = "dc=yourcompany,dc=com"
talaan -c /etc/talaan/talaan.toml config show
3. Run as a service
sudo install -m 0644 talaan.service /etc/systemd/system/talaan.service
sudo systemctl daemon-reload
sudo systemctl enable --now talaan
systemctl status talaan
journalctl -u talaan -f
The unit runs Talaan as a throwaway system user (DynamicUser), keeps data in
/var/lib/talaan, hands the password over with LoadCredential (never in the environment),
and sandboxes the process.
ℹ️ Note
Talaan listens on 3389 (LDAP), 3636 (LDAPS, when configured) and 8080 (HTTP). To serve the standard ports 389/636, uncomment
AmbientCapabilities=CAP_NET_BIND_SERVICEin the unit and change thelistenaddresses.
4. Check it
ldapwhoami -H ldap://localhost:3389 -D cn=admin,dc=yourcompany,dc=com -W
curl -s localhost:8080/readyz
Next: First steps.