Paquets Linux¶
At the moment, only NixOS provides a Canaille package. For other distros, you must use a different way to install Canaille.
$ nix run "nixpkgs#canaille" run
Avertissement
The current version of Canaille shipped by NixOS is 0.0.74, everything might not work as expected with this version.
Installer¶
The install command will apply most of the things needed to get Canaille working. Depending on the configured database it will create the SQL tables, or install the LDAP schemas for instance.
$ nix run "nixpkgs#canaille" install
Vérifier¶
After installation, you can test the network parameters in your configuration file using the config check command.
It will attempt to connect your SMTP server, or your SMPP server if defined.
$ nix run "nixpkgs#canaille" config check
Créer le premier utilisateur¶
Une fois Canaille installé, vous allez assez rapidement avoir besoin d’ajouter des utilisateurs. Pour créer votre premier utilisateur, vous pouvez utiliser la ligne de commande canaille create.
$ nix run "nixpkgs#canaille" create user \
--user-name admin \
--password admin \
--emails admin@mydomain.example \
--given-name George \
--family-name Abitbol \
--formatted-name "George Abitbol"