mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
2.7 KiB
2.7 KiB
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](/isp). If they are too restrictive, you might consider using a VPN to bypass them.
Pre-requisite
- A Raspberry Pi 0, 1, 2 or 3 ;
- An SD card: 8GB capacity (at least) and Class 10 speed rate are highly recommended (like the Transcend 300x) ;
- A power supply (either an adapter or a MicroUSB cable)
- An ethernet cable (RJ-45) to connect your Raspberry Pi to your router. (Raspberry Pi Zero users can connect the Pi using an OTG cable, Wifi dongle and following these instructions)
Installation using the image (recommended)
0. Download the pre-installed image for Raspberry Pi
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 Jessie image 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).
-
Install Raspbian Jessie Lite on the SD card (instructions).
-
Connect to your Raspberry Pi with the user
pi
. Set the root password with
sudo passwd root
-
Edit
/etc/ssh/sshd_config
to allow ssh login for root, by replacingPermitRootLogin without-password
withPermitRootLogin yes
. Reload the ssh daemon withservice ssh reload
. -
Disconnect and reconnect, this time as root.
-
Then follow the generic manual install procedure.
If you need help during one of these steps, do not hesitate to use our support tools.