Update page 'Software (de)'
parent
3fad607e48
commit
10ec3ea0d7
86
Software-%28de%29.md
Normal file
86
Software-%28de%29.md
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
Nachdem die Hardware fertig zusammen gebaut ist kann mit der Installation der Software begonnen werden.
|
||||||
|
Die empfohlene Methode hierfür ist die Installation via Bild-Script. Es besteht die Möglichkeit das Script mit und ohne Internetverbindung auszuführen. Um die aktuellste Version aller Softwarekomponenten zu erhalten wird die Installation mit Internetverbindung empfohlen!
|
||||||
|
|
||||||
|
Das Script lädt alle benötigten Programme und Bibliotheken herunter und installiert diese. Des weiter richtet es auf Wunsch die Echtzeituhr sowie den Autostart der Software ein.
|
||||||
|
|
||||||
|
## online Build-Script
|
||||||
|
1. Setze ein neues Raspian Lite Image auf.
|
||||||
|
2. Installiere die folgenden Programme:
|
||||||
|
`sudo apt-get install usbmount cmake imagemagick fbi i2c-tools gpac`
|
||||||
|
3. Lade die ActionPi Software herunter und entpacke sie.
|
||||||
|
`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.
|
||||||
|
`cd ActionPi/`
|
||||||
|
`./build.sh`
|
||||||
|
|
||||||
|
## offline Build-Script
|
||||||
|
1. Setze ein neues Raspian Lite Image auf.
|
||||||
|
2. Installiere die folgenden Programme, entweder mit wie oben beschrieben mit Internetverbindung oder über die entsprechenden Pakete:
|
||||||
|
* usbmount
|
||||||
|
* cmake
|
||||||
|
* imagemagick
|
||||||
|
* fbi
|
||||||
|
* i2c-tools
|
||||||
|
* gpac
|
||||||
|
3. Kopiere die [ActionPi_install_offline.zip](https://github.com/Seil0/ActionPi/releases/download/1.02/ActionPi_install_offline.zip) Datei in den ` ~/Downloads/` Ordner und entpacke sie.
|
||||||
|
`cd ~/Downloads/`
|
||||||
|
`unzip ActionPi_install_offline.zip`
|
||||||
|
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_install_offline/`
|
||||||
|
`./build_offline.sh`
|
||||||
|
|
||||||
|
|
||||||
|
## manuale Installation
|
||||||
|
Die manuelle installation wird nur für fortgeschrittene Benutzer empfohlen!
|
||||||
|
|
||||||
|
1. Setze ein neues Raspian Lite Image auf.
|
||||||
|
2. Installiere die folgenden Programme:
|
||||||
|
`sudo apt-get install usbmount cmake imagemagick fbi i2c-tools gpac`
|
||||||
|
3. Installiere die raspicam c++ Bibliothek.
|
||||||
|
```
|
||||||
|
cd ~/Downloads/
|
||||||
|
wget -O raspicam_c++-lib.zip https://sourceforge.net/projects/raspicam/files/raspicam-0.1.3.zip/download#
|
||||||
|
unzip raspicam_c++-lib.zip
|
||||||
|
cd raspicam-0.1.3/
|
||||||
|
cmake install
|
||||||
|
mkdir build
|
||||||
|
cd build/
|
||||||
|
cmake ..
|
||||||
|
sudo make install
|
||||||
|
sudo ldconfig
|
||||||
|
```
|
||||||
|
4. Installiere die bcm2835 Bibliothek.
|
||||||
|
```
|
||||||
|
cd ~/Downloads/
|
||||||
|
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
|
||||||
|
cd bcm2835-1.50/
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
sudo make check
|
||||||
|
sudo make install
|
||||||
|
```
|
||||||
|
5. Installiere die ActionPi Software.
|
||||||
|
```
|
||||||
|
cd ~/Downloads/
|
||||||
|
git clone https://github.com/Seil0/ActionPi.git
|
||||||
|
cd ActionPi/
|
||||||
|
g++ -Wall ActionPi.cpp -oActionPi -l raspicam -l bcm2835 -std=c++0x
|
||||||
|
mkdir ~/ActionPi
|
||||||
|
mv -i ActionPi ~/ActionPi/ActionPi
|
||||||
|
cd ~/ActionPi/
|
||||||
|
chmod +x ActionPi
|
||||||
|
```
|
||||||
|
6. (Optional) Die ActionPi Software automatisch starten.
|
||||||
|
`sudo echo "sudo ~/ActionPi./ActionPi" > /etc/rc.local`
|
||||||
|
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`
|
||||||
|
8. (Optional) Dekativiere dhcpcd, beschleunigt den Boot-Vorgang, deaktiviert DHCP! (Nicht empfolen!)
|
||||||
|
```
|
||||||
|
sudo service dhcpcd stop
|
||||||
|
sudo systemctl disable dhcpcd
|
||||||
|
```
|
||||||
|
9. Starte das System neu (empfohlen).
|
||||||
|
`sudo reboot`
|
Loading…
Reference in New Issue
Block a user