doc/install_on_raspberry.md
2015-03-15 21:13:50 +01:00

49 lines
2 KiB
Markdown

# Install YunoHost on a Raspberry Pi
*Find other ways to install YunoHost **[here](/install)**.*
## Pre-requisite
<img src="https://yunohost.org/images/Raspberry_Pi_2_Model_B_v1.1_front_angle_new.jpg" width=350>
<img src="https://yunohost.org/images/micro-sd-card.jpg">
* A Raspberry Pi model 1 or 2
* An SD card: **4GB** capacity (or more) and **class10** speed rate are highly recommended
* An other computer to read this guide and access to your Raspberry Pi
* A screen and a keyboard are recommended to control your Raspberry Pi if a problem occurs.
* A [reasonable ISP](/isp), preferably with a good and unlimited upstream bandwidth
* The **YunoHost Raspberry Pi image**, available here (to **unzip**):
[http://build.yunohost.org/yunohost4rpi2.img.7z](http://build.yunohost.org/yunohost4rpi2.img.7z)
<div class="alert alert-warning">
<b>Warning:</b> The default network device is set to `eth0` by default. You may have to change it if your network does not work properly. In order to do that :
<ul>
<li>Connect locally to your Raspberry Pi</li>
<li>Retrieve your network device's name: `$ ip link` (*lo* is the loopback device, so it should be `eth1`)</li>
<li>Edit the configuration file `/etc/network/interfaces` and replace *eth0* by your network device's name</li>
<li>Restart networking service: `$ sudo service networking restart`</li>
</ul>
</div>
---
## Installation steps
<a class="btn btn-lg btn-default" href="/copy_image">1. Copy image to the SD card</a>
<a class="btn btn-lg btn-default" href="/plug_and_boot">2. Plug & boot</a>
<a class="btn btn-lg btn-default" href="/postinstall">3. Post-install</a>
---
### Recommended after post-installation
* Connect via SSH: **root@IP.OF.RPI** (password: **yunohost**)
* Change root password: `passwd root`
* Upgrade system: `apt-get update && apt-get dist-upgrade && rpi-update`
---
***If you need help during one of these steps, do not hesitate to use [our support tools](/support).***