doc/install_on_cubieboard.md

2.8 KiB

Installing YunoHost on CubieBoard

Requirements

  • CubieBoard & µ-SD of at least 4GB
  • Internet access
  • Access to server administration

Images for Debian 7 Wheezy adapted for CubieBoard 1 and 2:

Copy the Image to the µ-SD

With the "Disks" application in Debian and its derivatives, select the µ-SD and choose "Restore Disk Image".

via the command line

Get the device name of the µ-SD (/dev/...) with :

df -h

Write the image to disk from the folder you downloaded it to:

(sudo) dd if=/image/debian/ of=/dev/<µ-SD> bs=1M && sync

Expand the Partition

Expand the Partition using GParted.

Start

Put the µ-SD in the CubieBoard and start it up.

Get the local IP address of your CubieBoard

nmap 192.168.0.0/24 or nmap 192.168.1.0/24

Redirect your domain name to the local IP address of the CubieBoard

Edit /etc/hosts on your local computer:

(sudo) nano /etc/hosts

Add a line in the following format:

ip_address_of_cubieboard      your_domain.org

SSH connection

ssh root@votre_domaine.org

Installing YunoHost

  1. Install git
apt-get install git
  1. Clone the installation script repository
git clone https://github.com/YunoHost/install_script /tmp/install_script
  1. Execute the script
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. This will ask you for a few options:

  1. Domain name: You must choose a domain name that will point at the IP address of your YunoHost instance. If you choose a name that ends with .nohost.me or .noho.st, the DNS configuration stage will be completed automatically and you will only need to wait for about 3 minutes for the installation to complete. If you opt for another domain name, you will need to have one purchased and configured so it points at your IP address.

  2. Administrator password: This is the password that you will need to administer your YunoHost instance, choose it carefully, it should not be given out or easily guessed, or else you might lose control of your system.

The post-install configuration will take place after this, and you will be able to access your administration interface with https://your-domain.org/ynhadmin

Updating YunoHost

apt-get update && apt-get upgrade && apt-get dist-upgrade

Opening Ports

uPnP doesn't work just yet, so you will need to manually open the ports on your firewall or router.

To see the ports that need to be opened:

yunohost firewall list