From a082d11cb46698be545f19dbc4ab3bd924ff53bf Mon Sep 17 00:00:00 2001 From: Seil0 Date: Sat, 16 Mar 2019 00:29:47 +0100 Subject: [PATCH] Update page 'Software (de)' --- Software-%28de%29.md | 44 ++++++++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/Software-%28de%29.md b/Software-%28de%29.md index 7ed717f..a08489c 100644 --- a/Software-%28de%29.md +++ b/Software-%28de%29.md @@ -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. 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` +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` +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/ +./build.sh +``` ## offline Build-Script 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 * i2c-tools * 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. -`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` +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. +``` bash +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. +``` bash +cd ActionPi_install_offline/ +./build_offline.sh +``` ## manuale Installation 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: `sudo apt-get install usbmount cmake imagemagick fbi i2c-tools gpac` 3. Installiere die raspicam c++ Bibliothek. -``` +``` bash 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 @@ -51,8 +59,9 @@ cmake .. sudo make install sudo ldconfig ``` + 4. Installiere die bcm2835 Bibliothek. -``` +``` bash 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 @@ -62,8 +71,9 @@ make sudo make check sudo make install ``` + 5. Installiere die ActionPi Software. -``` +``` bash cd ~/Downloads/ git clone https://github.com/Seil0/ActionPi.git cd ActionPi/ @@ -73,14 +83,16 @@ 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!) -``` +``` bash sudo service dhcpcd stop sudo systemctl disable dhcpcd ``` + 9. Starte das System neu (empfohlen). `sudo reboot` \ No newline at end of file