Recipes
Outcome: four jobs, end to end, in the order a new owner usually meets them. Each is assembled from steps the earlier chapters verified against the project's documentation and source; none was run on a live server by this guide's lab, and the recipes say so by standing on the chapters that disclose it.
1. The first app, for the household
You have: a postinstalled server, a working diagnosis, a Let's Encrypt certificate (chapters 4 and 7).
- In the webadmin, open Users and
create one account per household
member (chapter 6), then a group —
call it
household— containing them, with permission for mail. - Open Applications, install a
file-sync or photo app from the
catalogue (chapter 8): choose a
subdomain such as
files.your.domain.tld, decline the "public" option, and note its integration level as you go. - Back in Users → groups and
permissions, grant the app's
permission to
householdonly, and make sure its tile shows in the portal. - Sign in at the portal as a household member — not as yourself-the-admin — and click the tile. If the app accepts the single sign-on, you are done.
- Run
yunohost backup createand copy the archive off the machine (chapter 11) before the household moves real photos in. Backups begun after the data matters are archaeology.
2. A private app for one group
The pattern for committees, projects and anything not for the whole house.
- Create the group first (
secretariat, say) with only its members. - Install the app on its own subdomain, private.
- Grant its permission to that group
alone — not to
all_users, and double-check the visitors column is empty. An app nobody can see in the portal and visitors cannot reach is as private as YunoHost makes things. - Test as a member, then test as a non-member: the tile should be absent and the address should refuse. Both halves are the test.
3. Mail for your own domain
The careful version, respecting chapter 9's warning.
- Finish the DNS first: apply the full
recommended configuration
(
yunohost domain dns suggest), and set the reverse DNS at your ISP or VPS provider to your server's name. - Run the diagnosis and work the mail category until it is quiet: records, blocklists, reverse DNS.
- Create the users; each already has a
mailbox at
username@your.domain.tld. Add aliases for the spellings people actually use. - Send test mail to an outside address and watch where it lands — inbox or spam — and ask the recipient to reply and mark it not-spam. Repeat over the first weeks; reputation is built, not configured.
- Keep an outside address on the admins group's alert path, so the server can still reach you if its own mail is the thing that broke.
4. Moving to a bigger machine
- On the old machine:
yunohost backup create(everything), then copy the archive off — this file is the move. - On the new machine: install Debian, run the installer, and stop before the postinstall (chapter 4).
- Place the archive in
/home/yunohost.backup/archives/and restore it instead of the postinstall (yunohost backup restore). Users, domains, apps and mail return as they were (chapter 11). - Repoint the domain's DNS at the new machine's address. For a while, both machines answer to the same content — that overlap is normal while DNS propagates.
- When the diagnosis on the new machine is quiet and the certificate is issued there, retire the old machine. Keep its final archive anyway. Disk is cheap; regret is archival-grade.