mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update install_on_cubieboard.md
This commit is contained in:
parent
e80a2c4872
commit
f1a78f1364
1 changed files with 15 additions and 80 deletions
|
@ -3,97 +3,32 @@
|
|||
*Find other ways to install YunoHost **[here](/install)**.*
|
||||
|
||||
### Requirements
|
||||
* CubieBoard & µ-SD of at least 4GB
|
||||
* Internet access
|
||||
* Access to server administration
|
||||
|
||||
<img src="https://yunohost.org/images/cubieboard2.png">
|
||||
<img src="https://yunohost.org/images/sdcard.jpg">
|
||||
|
||||
* CubieBoard 1 or 2 (CubieTruck might work as well)
|
||||
* An SD card: **4GB** capacity (or more) and **class10** speed rate are highly recommended
|
||||
* Another computer to read this guide and to access your Cubieboard
|
||||
* A screen and a keyboard are recommended to control your Cubieboard if a problem occurs
|
||||
* A [reasonable ISP](/isp), preferably with a good and unlimited upstream bandwidth
|
||||
* A Cubieboard Debian 7 image compatible with YunoHost:
|
||||
* [Cubian](http://cubian.org/)
|
||||
* [Cubieez](http://www.cubieforums.com/index.php?topic=442.0)
|
||||
|
||||
## 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 `CubieBoard_image.img` file to your µ-SD card using Win32 Disk Imager.
|
||||
|
||||
#### On GNU/Linux, BSD or Mac OS X
|
||||
* Open a terminal
|
||||
* Plug your µ-SD card in
|
||||
* Identify the device name by typing:
|
||||
|
||||
```bash
|
||||
sudo fdisk -l
|
||||
```
|
||||
|
||||
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/CubieBoard_image.img of=/your/device/name
|
||||
```
|
||||
|
||||
Do not forget to change `/path/to/your/CubieBoard_image.img` and `/your/device/name` with the appropriate values.
|
||||
|
||||
The command may take a few minutes.
|
||||
|
||||
You can also expand the partition using GParted.
|
||||
|
||||
---
|
||||
|
||||
### Start
|
||||
Put the µ-SD in the CubieBoard and start it up.
|
||||
## Installation steps
|
||||
|
||||
### Get the local IP address of your CubieBoard
|
||||
```bash
|
||||
nmap 192.168.0.0/24 or nmap 192.168.1.0/24
|
||||
```
|
||||
<a class="btn btn-lg btn-default" href="/copy_image">1. Copy image to the SD card</a>
|
||||
|
||||
### 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
|
||||
```
|
||||
<a class="btn btn-lg btn-default" href="/plug_and_boot">2. Plug & boot</a>
|
||||
|
||||
### SSH connection
|
||||
```bash
|
||||
ssh root@votre_domaine.org
|
||||
```
|
||||
<a class="btn btn-lg btn-default" href="/install_manually">3. Install manually</a>
|
||||
|
||||
### Install YunoHost
|
||||
|
||||
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
|
||||
|
||||
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**.
|
||||
|
||||
More information here: [yunohost.org/postinstall](/postinstall)
|
||||
|
||||
## 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">4. 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).***
|
Loading…
Add table
Reference in a new issue