Update page 'Software (de)'

Jannik 2019-03-16 00:29:47 +01:00
parent 256a2ba0aa
commit a082d11cb4

@ -7,13 +7,17 @@ Das Script lädt alle benötigten Programme und Bibliotheken herunter und instal
1. Setze ein neues Raspian Lite Image auf. 1. Setze ein neues Raspian Lite Image auf.
2. Installiere die folgenden Programme: 2. Installiere die folgenden Programme:
`sudo apt-get install usbmount cmake imagemagick fbi i2c-tools gpac` `sudo apt-get install usbmount cmake imagemagick fbi i2c-tools gpac`
3. Lade die ActionPi Software herunter und entpacke sie. 3. Lade die ActionPi Software herunter und entpacke sie.
`cd ~/Downloads/` ```
`git clone https://github.com/Seil0/ActionPi.git` cd ~/Downloads/
git clone https://github.com/Seil0/ActionPi.git
```
4. Mach das Build-Script ausführbar und führe es aus, die ActionPi Software und alle benötigten Bibliotheken werden nun installiert. 4. Mach das Build-Script ausführbar und führe es aus, die ActionPi Software und alle benötigten Bibliotheken werden nun installiert.
`cd ActionPi/` ``` bash
`./build.sh` cd ActionPi/
./build.sh
```
## offline Build-Script ## offline Build-Script
1. Setze ein neues Raspian Lite Image auf. 1. Setze ein neues Raspian Lite Image auf.
@ -24,13 +28,17 @@ Das Script lädt alle benötigten Programme und Bibliotheken herunter und instal
* fbi * fbi
* i2c-tools * i2c-tools
* gpac * gpac
3. Kopiere die [ActionPi_install_offline.zip](https://git.mosad.xyz/attachments/2c9e3ae5-e56a-4b0c-ae44-64b7c012b5f5) Datei in den ` ~/Downloads/` Ordner und entpacke sie. 3. Kopiere die [ActionPi_install_offline.zip](https://git.mosad.xyz/attachments/2c9e3ae5-e56a-4b0c-ae44-64b7c012b5f5) Datei in den ` ~/Downloads/` Ordner und entpacke sie.
`cd ~/Downloads/` ``` bash
`unzip ActionPi_install_offline.zip` cd ~/Downloads/
4. Mach das Build-Script ausführbar und führe es aus, die ActionPi Software und alle benötigten Bibliotheken werden nun installiert. unzip ActionPi_install_offline.zip
`cd ActionPi_install_offline/` ```
`./build_offline.sh`
4. Mach das Build-Script ausführbar und führe es aus, die ActionPi Software und alle benötigten Bibliotheken werden nun installiert.
``` bash
cd ActionPi_install_offline/
./build_offline.sh
```
## manuale Installation ## manuale Installation
Die manuelle installation wird nur für fortgeschrittene Benutzer empfohlen! Die manuelle installation wird nur für fortgeschrittene Benutzer empfohlen!
@ -39,7 +47,7 @@ Die manuelle installation wird nur für fortgeschrittene Benutzer empfohlen!
2. Installiere die folgenden Programme: 2. Installiere die folgenden Programme:
`sudo apt-get install usbmount cmake imagemagick fbi i2c-tools gpac` `sudo apt-get install usbmount cmake imagemagick fbi i2c-tools gpac`
3. Installiere die raspicam c++ Bibliothek. 3. Installiere die raspicam c++ Bibliothek.
``` ``` bash
cd ~/Downloads/ cd ~/Downloads/
wget -O raspicam_c++-lib.zip https://sourceforge.net/projects/raspicam/files/raspicam-0.1.3.zip/download# wget -O raspicam_c++-lib.zip https://sourceforge.net/projects/raspicam/files/raspicam-0.1.3.zip/download#
unzip raspicam_c++-lib.zip unzip raspicam_c++-lib.zip
@ -51,8 +59,9 @@ cmake ..
sudo make install sudo make install
sudo ldconfig sudo ldconfig
``` ```
4. Installiere die bcm2835 Bibliothek. 4. Installiere die bcm2835 Bibliothek.
``` ``` bash
cd ~/Downloads/ cd ~/Downloads/
wget -O bcm2835-1.50.tar.gz http://www.airspayce.com/mikem/bcm2835/bcm2835-1.50.tar.gz wget -O bcm2835-1.50.tar.gz http://www.airspayce.com/mikem/bcm2835/bcm2835-1.50.tar.gz
tar zxvf bcm2835-1.50.tar.gz tar zxvf bcm2835-1.50.tar.gz
@ -62,8 +71,9 @@ make
sudo make check sudo make check
sudo make install sudo make install
``` ```
5. Installiere die ActionPi Software. 5. Installiere die ActionPi Software.
``` ``` bash
cd ~/Downloads/ cd ~/Downloads/
git clone https://github.com/Seil0/ActionPi.git git clone https://github.com/Seil0/ActionPi.git
cd ActionPi/ cd ActionPi/
@ -73,14 +83,16 @@ mv -i ActionPi ~/ActionPi/ActionPi
cd ~/ActionPi/ cd ~/ActionPi/
chmod +x ActionPi chmod +x ActionPi
``` ```
6. (Optional) Die ActionPi Software automatisch starten. 6. (Optional) Die ActionPi Software automatisch starten.
`sudo echo "sudo ~/ActionPi./ActionPi" > /etc/rc.local` `sudo echo "sudo ~/ActionPi./ActionPi" > /etc/rc.local`
7. (Optional) i2c Konfiguration für die Echtzeituhr hinzufügen. 7. (Optional) i2c Konfiguration für die Echtzeituhr hinzufügen.
`sudo i2cdetect -y 1; sudo modprobe rtc-ds1307; sudo echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device` `sudo i2cdetect -y 1; sudo modprobe rtc-ds1307; sudo echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device`
8. (Optional) Dekativiere dhcpcd, beschleunigt den Boot-Vorgang, deaktiviert DHCP! (Nicht empfolen!) 8. (Optional) Dekativiere dhcpcd, beschleunigt den Boot-Vorgang, deaktiviert DHCP! (Nicht empfolen!)
``` ``` bash
sudo service dhcpcd stop sudo service dhcpcd stop
sudo systemctl disable dhcpcd sudo systemctl disable dhcpcd
``` ```
9. Starte das System neu (empfohlen). 9. Starte das System neu (empfohlen).
`sudo reboot` `sudo reboot`