doc/install_on_raspberry.md

50 lines
2 KiB
Markdown
Raw Normal View History

2014-05-14 19:33:28 +02:00
# Install YunoHost on a Raspberry Pi
*Find other ways to install YunoHost **[here](/install)**.*
## Pre-requisite
2015-02-22 18:56:20 +01:00
<img src="https://yunohost.org/images/Raspberry_Pi_2_Model_B_v1.1_front_angle_new.jpg" width=350>
2015-02-22 18:42:07 +01:00
<img src="https://yunohost.org/images/micro-sd-card.jpg">
2014-06-04 22:12:46 +02:00
2015-02-22 18:42:07 +01:00
* A Raspberry Pi model 1 or 2
2014-05-14 19:33:28 +02:00
* An SD card: **4GB** capacity (or more) and **class10** speed rate are highly recommended
2014-10-14 18:51:23 +02:00
* An other computer to read this guide and access to your Raspberry Pi
2014-05-14 19:33:28 +02:00
* 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
2015-03-15 21:13:50 +01:00
* The **YunoHost Raspberry Pi image**, available here (to **unzip**):
2014-05-14 19:33:28 +02:00
2015-03-15 21:13:50 +01:00
[http://build.yunohost.org/yunohost4rpi2.img.7z](http://build.yunohost.org/yunohost4rpi2.img.7z)
2014-05-14 19:33:28 +02:00
2014-10-07 21:25:23 +02:00
<div class="alert alert-warning">
2015-03-15 21:13:50 +01:00
<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 :
2014-10-07 21:25:23 +02:00
<ul>
2015-03-15 21:13:50 +01:00
<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>
2014-10-07 21:25:23 +02:00
</ul>
</div>
2014-06-05 01:21:09 +02:00
---
2014-05-14 19:33:28 +02:00
2014-06-05 01:21:09 +02:00
## Installation steps
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
2014-06-05 01:33:27 +02:00
<a class="btn btn-lg btn-default" href="/postinstall">3. Post-install</a>
2014-05-14 19:33:28 +02:00
---
2014-09-25 11:43:31 +02:00
### Recommended after post-installation
2014-06-21 22:54:10 +02:00
2015-03-15 21:13:50 +01:00
* Connect via SSH: **root@IP.OF.RPI** (password: **yunohost**)
* Change root password: `passwd root`
2014-09-25 11:43:31 +02:00
* Upgrade system: `apt-get update && apt-get dist-upgrade && rpi-update`
2014-07-02 22:36:06 +02:00
2014-06-21 22:54:10 +02:00
---
2014-06-05 01:21:09 +02:00
***If you need help during one of these steps, do not hesitate to use [our support tools](/support).***
2014-05-14 19:33:28 +02:00