Install YunoHost on a Raspberry Pi

Find all the ways to install YunoHost here.

Before setting up a server at home, it is recommended that you know the possible limitations imposed by your ISP. If they are too restrictive, you might consider using a VPN to bypass them.


Install with the pre-installed image (recommended)

0. Download the pre-installed image for Raspberry Pi

1. Flash the SD card with the image

2. Plug & boot

3. Connect to your server with SSH

4. Proceed to post-installation

Manual installation (advanced users)

We do not recommend the manual installation because it is more technical and longer than using the pre-installed image. This documentation is only intended for advanced users.

The latest Rasbpian images requires a screen and a keyboard, as it is no longer possible to connect directly to the Raspberry through SSH. Nevertheless it is possible to re-enable SSH at boot : before starting your Raspberry, put in the boot partition of the SD card an empty file named ssh (without extension).

  1. Install Raspbian Stretch Lite on the SD card (instructions).

  2. Connect to your Raspberry Pi with the user pi. Set the root password with

sudo passwd root
  1. Edit /etc/ssh/sshd_config to allow ssh login for root, by replacing PermitRootLogin without-password with PermitRootLogin yes. Reload the ssh daemon with service ssh reload.

  2. Disconnect and reconnect, this time as root.

  3. Then follow the generic manual install procedure.