Skip to content

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).

  1. 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.
  2. 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.
  3. Back in Users → groups and permissions, grant the app's permission to household only, and make sure its tile shows in the portal.
  4. 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.
  5. Run yunohost backup create and 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.

  1. Create the group first (secretariat, say) with only its members.
  2. Install the app on its own subdomain, private.
  3. 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.
  4. 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.

  1. 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.
  2. Run the diagnosis and work the mail category until it is quiet: records, blocklists, reverse DNS.
  3. Create the users; each already has a mailbox at username@your.domain.tld. Add aliases for the spellings people actually use.
  4. 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.
  5. 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

  1. On the old machine: yunohost backup create (everything), then copy the archive off — this file is the move.
  2. On the new machine: install Debian, run the installer, and stop before the postinstall (chapter 4).
  3. 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).
  4. 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.
  5. 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.