domenica 9 novembre 2014

Install and configure ArkOS on BananaPi with Arch Linux / Come configurare ArkOS su un BananaPi con Arch Linux


Colors Meaning/Legenda dei Colori:
Blue/Blu: English
Green/Verde: Italiano
Gray/Grigio: Commands or code / Comandi o codice

1. Get the Arch Linux image for BananaPi from http://www.lemaker.org/

Scaricate l'immagine di Arch Linux per il vostro BananaPi da http://www.lemaker.org/

2. Write image on an SD card and put in on the Banana Pi, then power it

Scrivete l'immagine sulla SD ed inseritela nel Banana Pi, successivamente accendetelo

3. Login with user: root and pass: bananapi

Effettuate il login con user: root e password: bananapi

4. Add ArkOS repository to Pacman. 


Aggiungete i repository di ArkOS a Pacman.

Edit /etc/pacman.conf. 

Modificate il file /etc/pacman.conf

Near the bottom you will see sections that look like this:

Sul fondo del file dovreste vedere una stringa di questo tipo:

[core]
Include = /etc/pacman.d/mirrorlist

Add one more like this, then save:

Aggiungete una stringa come la seguente e salvate:

[arkos]
Server = http://amnl.mirror.arkos.io/$arch/$repo

5. Update pacman with sudo pacman -Sy

Aggiornate pacman con sudo pacman -Sy

6. Install all the dependency:

Installate le dipendenze:

sudo pacman -S base-devel python2-passlib python2-lxml python2-pyopenssl python2-feedparser python2-gevent supervisor python2-pip python2-pillow python2-ntplib python2-nginx python2-psutil python2-iptables git fail2ban nginx wget

7. Configure nginx to use a multisite format, which it does not do by default in Arch. 

Configurate nginx per usare un formato multisito.

Create folders at /etc/nginx/sites-available and /etc/nginx/sites-enabled, then replace/etc/nginx/nginx.conf with the version available here:https://raw.githubusercontent.com/cznweb/arkos/master/scripts/nginx.conf

Create due cartelle in /etc/nginx/sites-available e /etc/nginx/sites-enabled, quindi sostituite il file /etc/nginx/nginx.conf con la versione disponibile qui: https://raw.githubusercontent.com/cznweb/arkos/master/scripts/nginx.conf

sudo mkdir /etc/nginx/sites-available
sudo mkdir /etc/nginx/sites-enabled
wget https://raw.githubusercontent.com/cznweb/arkos/master/scripts/nginx.conf && sudo cp nginx.conf /etc/nginx/nginx.conf && rm nginx.conf

NEWS: repos has changed, you can find the file here:
http://pastebin.com/njpawFEg

8. Install Genesis automatically with sudo pacman -Sy genesis

Installate Genesis automaticamente con sudo pacman -Sy genesis

9. Start genesis with sudo systemctl start nginx genesis


Avviate genesis con sudo systemctl start nginx genesis


10. Start genesis panel for debug with genesis-panel

Avviage il pannello di debug di genesis con genesis-panel

11. Connect to your ArkOS server by typing in any browser inside your network this: http://banana_pi_ip:8000 or http://arkos:8000

Collegati al tuo server ArkOS digitando in un qualsiasi browser, all'interno della tua rete, questo:
http://banana_pi_ip:8000 oppure http://arkos:8000

For further information follow this: https://arkos.io/doc/getting-started/

Per informazioni aggiuntive e come proseguire seguite il link ufficiale: https://arkos.io/doc/getting-started/