2014-05-14 19:33:28 +02:00
# Install YunoHost on a Raspberry Pi
2017-01-29 17:30:54 +01:00
*Find all the ways to install YunoHost ** [here ](/install )**.*
2014-05-14 19:33:28 +02:00
2017-01-29 17:30:54 +01:00
< center >
2017-01-30 23:33:28 +01:00
< img src = "/images/raspberrypi.jpg" width = 350 >
2017-01-29 17:30:54 +01:00
< / center >
2014-06-04 22:12:46 +02:00
2017-01-29 17:30:54 +01:00
< div class = "alert alert-info" markdown = "1" >
Before setting up a server at home, it is recommended that you know the [limitations imposed by your ISP ](/isp ). If they are too restrictive you can consider using a VPN to get around those limitations.
< / div >
2016-05-22 17:31:45 +02:00
2017-01-29 17:30:54 +01:00
## Pre-requisite
2016-05-22 17:31:45 +02:00
2017-01-30 03:29:31 +01:00
- An SD card: **8GB** capacity (at least) and **Class 10** speed rate are highly recommended (like the [Transcend 300x ](http://www.amazon.fr/Transcend-microSDHC-adaptateur-TS32GUSDU1E-Emballage/dp/B00CES44EO )) ;
2017-01-29 17:30:54 +01:00
- 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 ](https://davidmaitland.me/2015/12/raspberry-pi-zero-headless-setup/ ))
2017-01-30 03:29:31 +01:00
- The **YunoHost Raspberry Pi image** , available on [build.yunohost.org ](http://build.yunohost.org/ ). (Not needed if you want to manually install YunoHost on an existing Debian system.)
- **(Optional)** A screen and a keyboard, if you can't use an ssh connection to proceed to the post-installation. (Not needed when installing with an image.)
2014-05-14 19:33:28 +02:00
2014-06-05 01:21:09 +02:00
---
2014-05-14 19:33:28 +02:00
2016-11-04 11:27:45 +01:00
## Installation using an image
2014-05-15 09:56:02 +02:00
2014-06-05 01:33:27 +02:00
< a class = "btn btn-lg btn-default" href = "/copy_image" > 1. Copy image to the SD card< / a >
2014-05-15 09:56:02 +02:00
2014-06-05 01:33:27 +02:00
< a class = "btn btn-lg btn-default" href = "/plug_and_boot" > 2. Plug & boot< / a >
2014-05-15 09:56:02 +02:00
2017-01-29 17:30:54 +01:00
< a class = "btn btn-lg btn-default" href = "/ssh" > 3. Connect to your server with SSH< / a >
2014-05-14 19:33:28 +02:00
2017-01-30 03:29:31 +01:00
< a class = "btn btn-lg btn-default" href = "/postinstall" > 4. Proceed to post-installation< / a >
2016-11-04 11:27:45 +01:00
2017-01-29 17:30:54 +01:00
---
2016-11-04 11:27:45 +01:00
2017-01-29 17:30:54 +01:00
## Manual installation
2016-11-04 11:27:45 +01:00
2017-01-29 17:30:54 +01:00
0. Install Raspbian on the SD card and connect to your Pi.
1. The root user must have a password, or the installation will fail. To change the root password:
2016-11-04 11:27:45 +01:00
```bash
sudo passwd root
```
2017-01-29 17:30:54 +01:00
2. Install git
2016-11-04 11:27:45 +01:00
```bash
2017-01-29 17:30:54 +01:00
sudo apt-get install git
2016-11-04 11:27:45 +01:00
```
2017-01-29 17:30:54 +01:00
2. Clone the Yunohost install script repository
2016-11-04 11:27:45 +01:00
```bash
2017-01-29 17:30:54 +01:00
git clone https://github.com/YunoHost/install_script /tmp/install_script
2016-11-04 11:27:45 +01:00
```
4. Execute the installation script
```bash
cd /tmp/install_script & & sudo ./install_yunohost
```
2014-07-02 22:36:06 +02:00
2014-06-21 22:54:10 +02:00
---
2016-11-04 11:27:45 +01:00
***If you need help during one of these steps, do not hesitate to use [our support tools ](/support ).***