Update install_on_raspberry.md

This commit is contained in:
kload@kload.fr 2014-06-05 01:21:09 +02:00 committed by YunoHost
parent 827cb55f95
commit 6d8a5ba97d

View file

@ -16,73 +16,17 @@
[http://build.yunohost.org/raspberry-latest.img.gz](http://build.yunohost.org/raspberry-latest.img.gz)
## <small>1.</small> Copy the image to your SD card
---
#### On Windows
* Download and install **[Win32 Disk Imager](http://sourceforge.net/projects/win32diskimager/)**
* Plug your SD card in
* Copy the `raspberry-latest.img` file to your SD card using Win32 Disk Imager.
## Installation steps
#### On GNU/Linux, BSD or Mac OS X
* Open a terminal
* Plug your SD card in
* Identify the device name by typing:
<a class="btn btn-lg btn-default" href="/copy_image">1. Copy image to the SD card</a>
```bash
sudo fdisk -l
```
<a class="btn btn-lg btn-default" href="/boot_up">2. Plug & boot</a>
It should be `/dev/diskN`, where `N` is a number, or `/dev/sdX`, where `X` is a letter.
* Copy the image by typing:
```bash
sudo dd bs=1M if=/path/to/your/raspberry-latest.img of=/your/device/name
```
Do not forget to change `/path/to/your/raspberry-latest.img` and `/your/device/name` with the appropriate values.
The command may take a few minutes, then your SD card will be ready to use. **:-)**
## <small>2.</small> Boot up the Raspberry Pi
* Put the SD card in the Raspberry Pi and **plug the Ethernet cable** in
* Do not forget to **plug a screen** if you want to see how boot is going, and a keyboard if you want to have a **command-line access** to your Raspberry Pi
* Plug the USB power and wait until you see a big squared `Y`
You should be able to see an `IP address` field on the screen, write it down: It is your Raspberry Pi **local IP address**.
## <small>3.</small> Post-Installation
You have two different ways to configure YunoHost, it just has to be done once:
### Web
On your other computer, open a web browser and type down your **local IP address** in the address bar. It should looks like `https://192.168.1.3`.
A warning message appears, just ignore it by clicking the "**Proceed Anyway**" or "**Add an exception**" button.
You are now on the post-installation screen, follow the instructions and proceed. Remember that your Raspberry Pi is not really powerful, this process may thus take several minutes.
### Command-line
If you choose to do the post-installation process directly from your Raspberry Pi, log in at boot screen with the credentials **root** / **yunohost**, and execute:
```bash
yunohost tools postinstall
```
The administration password and a domain will be asked. For further precision, refer to the **[post-installation page](/postinstall)**.
## <small>4.</small> System upgrade
It is **wisely recommended** to execute a full system upgrade as soon as possible. To do so, you have to go to the administration interface by entering its URL in a web browser: `https://<your_domain.org>/yunohost/admin`, then click on "**Tools**" and "**System upgrade**".
The operation may take a few minutes, then confirm the package upgrade and wait a few more minutes.
<a class="btn btn-lg btn-default" href="/postinstall">3. Post-install</a>
---
#### *If you need help during one of these steps, do not hesitate to use [our support tools](/support).*
***If you need help during one of these steps, do not hesitate to use [our support tools](/support).***