2014-05-16 12:53:22 +02:00
# Install YunoHost on CubieBoard
*Find other ways to install YunoHost ** [here ](/install )**.*
2014-01-01 17:04:02 +01:00
### Requirements
* CubieBoard & µ-SD of at least 4GB
* Internet access
* Access to server administration
2014-05-16 12:53:22 +02:00
* A Cubieboard Debian 7 image compatible with YunoHost:
* [Cubian ](http://cubian.org/ )
* [Cubieez ](http://www.cubieforums.com/index.php?topic=442.0 )
2014-01-01 17:04:02 +01:00
2014-05-16 12:53:22 +02:00
## Copy the image to your µ-SD card
2014-01-01 17:04:02 +01:00
2014-05-16 12:53:22 +02:00
#### 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.
2014-01-01 17:04:02 +01:00
2014-05-16 12:53:22 +02:00
#### On GNU/Linux, BSD or Mac OS X
* Open a terminal
* Plug your µ-SD card in
* Identify the device name by typing:
2014-01-01 17:04:02 +01:00
```bash
2014-05-16 12:53:22 +02:00
sudo fdisk -l
2014-01-01 17:04:02 +01:00
```
2014-05-16 12:53:22 +02:00
It should be `/dev/diskN` , where `N` is a number, or `/dev/sdX` , where `X` is a letter.
* Copy the image by typing:
2014-01-01 17:04:02 +01:00
```bash
2014-05-16 12:53:22 +02:00
sudo dd bs=1M if=/path/to/your/raspberry-latest.img of=/your/device/name
2014-01-01 17:04:02 +01:00
```
2014-05-16 12:53:22 +02:00
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.
You can also expand the partition using GParted.
---
2014-01-01 17:04:02 +01:00
### Start
Put the µ-SD in the CubieBoard and start it up.
### Get the local IP address of your CubieBoard
```bash
nmap 192.168.0.0/24 or nmap 192.168.1.0/24
```
2014-05-16 12:53:22 +02:00
2014-01-01 17:04:02 +01:00
### Redirect your domain name to the local IP address of the CubieBoard
Edit /etc/hosts on your local computer:
```bash
(sudo) nano /etc/hosts
```
Add a line in the following format:
```bash
ip_address_of_cubieboard your_domain.org
```
2014-05-16 12:53:22 +02:00
2014-01-01 17:04:02 +01:00
### SSH connection
```bash
ssh root@votre_domaine.org
```
2014-05-16 12:53:22 +02:00
### Install YunoHost
2014-01-01 17:04:02 +01:00
1. Install git
```bash
apt-get install git
```
2. Clone the installation script repository
```bash
git clone https://github.com/YunoHost/install_script /tmp/install_script
```
3. Execute the script
```bash
cd /tmp/install_script & & ./install_yunohostv2
```
### Post-installation
2014-05-16 12:53:22 +02:00
Once the installation is complete, the script will ask you to proceed to the post-install configuration. You will have to enter a **domain name** and the **administration password** .
2014-01-01 17:04:02 +01:00
2014-05-16 12:53:22 +02:00
More information here: [yunohost.org/postinstall ](/postinstall )
2014-01-01 17:04:02 +01:00
2014-05-16 12:53:22 +02:00
## System upgrade
2014-01-01 17:04:02 +01:00
2014-05-16 12:53:22 +02:00
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**".
2014-01-01 17:04:02 +01:00
2014-05-16 12:53:22 +02:00
The operation may take a few minutes, then confirm the package upgrade and wait a few more minutes.
2014-01-01 17:04:02 +01:00
2014-05-16 12:53:22 +02:00
---
2014-01-01 17:04:02 +01:00
2014-05-16 12:53:22 +02:00
#### *If you need help during one of these steps, do not hesitate to use [our support tools](/support).*