\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Huluvu424242 (FunThomas424242)} \pdfinfo{ /Title (basics-zum-raspberry-pi.pdf) /Creator (Cheatography) /Author (Huluvu424242 (FunThomas424242)) /Subject (Basics zum Raspberry Pi Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{A3A3A3} \definecolor{LightBackground}{HTML}{F3F3F3} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Basics zum Raspberry Pi Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Huluvu424242 (FunThomas424242)} via \textcolor{DarkBackground}{\uline{cheatography.com/19991/cs/13135/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Huluvu424242 (FunThomas424242) \\ \uline{cheatography.com/funthomas424242} \\ \uline{\seqsplit{github}.com/Huluvu424242} \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 13th October, 2017.\\ Updated 19th January, 2020.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(1) Informationsquellen}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{* PI-Hole: \seqsplit{https://www.kuketz-blog.de/pi-hole-schwarzes-loch-fuer-werbung-raspberry-pi-teil1/} \newline % Row Count 2 (+ 2) * DietPi: \seqsplit{https://www.kuketz-blog.de/dietpi-raspberry-pi-auf-diaet-raspberry-pi-teil2/} \newline % Row Count 4 (+ 2) * PIVPN: \seqsplit{https://www.kuketz-blog.de/raspberry-pi-pi-hole-und-pivpn-beitrag-aktualisiert/} \newline % Row Count 6 (+ 2) * Semper Video zu Pi-Hole: https://d.tube/\#!/v/sempervideo/3u9aeypx% Row Count 8 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(2) Ben{\"o}tigte Hardware}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Inzwischen scheint es einige PI Modelle zu geben. Ich habe bislang nur Erfahrungen mit dem Modell B gesammelt und aktuell (17.02.2018) empfehle ich das Modell 3 bzw. Raspi 3 Modell B. \newline % Row Count 4 (+ 4) z.B. \seqsplit{https://smile.amazon.de/gp/product/B01CD5VC92} \newline % Row Count 6 (+ 2) (Raspi 3 hat bereits WLAN an Board) \newline % Row Count 7 (+ 1) Au{\ss}erdem braucht man ein Geh{\"a}use. \newline % Row Count 8 (+ 1) z.B. dieses: \seqsplit{https://smile.amazon.de/gp/product/B01CCPKCSK/} \newline % Row Count 10 (+ 2) und ein Netzteil. \newline % Row Count 11 (+ 1) z.B. dieses: \seqsplit{https://smile.amazon.de/gp/product/B01N5SMVHJ} \newline % Row Count 13 (+ 2) und eine microSD Karte für das Betriebssystem. \newline % Row Count 14 (+ 1) z.B. diese: \seqsplit{https://smile.amazon.de/gp/product/B06XFSZGCC/} \newline % Row Count 16 (+ 2) und falls keine andere USB Tastatur vorhanden ist, empfehle ich diese: \newline % Row Count 18 (+ 2) \seqsplit{https://smile.amazon.de/gp/product/B00BCE30RS/}% Row Count 19 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(3) Quellen für PI Images}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Raspian \& Noob: \seqsplit{https://www.raspberrypi.org/downloads/} \newline % Row Count 2 (+ 2) DNS Blocker: https://pi-hole.net/ \newline % Row Count 3 (+ 1) Litecoin Mining: \seqsplit{https://www.raspberrypi.org/downloads/} \newline % Row Count 5 (+ 2) Bitcoin Mining: \seqsplit{http://sourceforge.net/projects/minepeon/files/latest/download?source=files} \newline % Row Count 7 (+ 2) Internetradio: \seqsplit{https://github.com/pimusicbox/pimusicbox/releases/tag/v0.7.0RC5}% Row Count 9 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(5) nur Pi3 Einschr{\"a}nkung bevorzugter Netzwerke}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{\# \seqsplit{/etc/wpa\_supplicant/wpa\_supplicant}.conf \newline ctrl\_interface=DIR=/var/run/wpa\_supplicant GROUP=netdev \newline update\_config=1 \newline \newline network=\{ \newline \seqsplit{ssid="franken.freifunk.net"} \newline key\_mgmt=NONE \newline \}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Die Konfiguration beschr{\"a}nkt den PI auf Verbindungen zum Freifunk Franken Netzwerk.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(6) Remote Verbindung zum Pi}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{** (optional) Bei Heimnetz mit Mac Adressen \newline % Row Count 1 (+ 1) ifconfig im Pi eingeben um die Mac Adresse zu ermitteln, diese beim Router freigeben \newline % Row Count 3 (+ 2) {\bf{Ben{\"o}tigte Informationen über den PI zum Verbinden über ssh}} \newline % Row Count 5 (+ 2) * IP Adresse \newline % Row Count 6 (+ 1) * Passwort für user pi \newline % Row Count 7 (+ 1) {\bf{Notwendige Vorraussetzung}} \newline % Row Count 8 (+ 1) * Erreichbarkeit im Netzwerk -\textgreater{} Denken Sie daran im Router ihres Heimnetzes muss die Option Clients dürfen untereinander Verbindungen aufbauen, aktiviert sein. \newline % Row Count 12 (+ 4) {\bf{Verbindungsaufnahme}} \newline % Row Count 13 (+ 1) `ssh pi@\textless{}ip-adresse-des-pi\textgreater{}` \newline % Row Count 14 (+ 1) Dann Passwort für den Nutzer pi eingeben (initial: raspberry)% Row Count 16 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(8) PI Updates einfahren}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{`\# root werden` \newline % Row Count 1 (+ 1) `sudo -i` \newline % Row Count 2 (+ 1) `\# listen aktualisieren, einspielen und neu starten` \newline % Row Count 4 (+ 2) `apt-get update \&\& apt-get upgrade -y \&\& reboot` \newline % Row Count 5 (+ 1) `\# oder als pi-update.sh file mit x Recht als pi` \newline % Row Count 6 (+ 1) `sudo apt-get update` \newline % Row Count 7 (+ 1) `sudo apt-get upgrade -y` \newline % Row Count 8 (+ 1) `sudo reboot`% Row Count 9 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Pi-Hole (Werbeblocker per DNS für's Heimnetz)}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{(Am Router muss dem PI eine feste IP zugewiesen werden) \newline % Row Count 2 (+ 2) Login auf dem Pi als pi und dann folgende Eingaben: \newline % Row Count 4 (+ 2) `sudo -i` \newline % Row Count 5 (+ 1) `curl -sSL \seqsplit{https://install.pi-hole.net} | bash` \newline % Row Count 6 (+ 1) `pihole -a -p \textless{}new\_password\textgreater{}` \newline % Row Count 7 (+ 1) \# pihole aktualisieren (als root) \newline % Row Count 8 (+ 1) `pihole -up` \newline % Row Count 9 (+ 1) Jetzt muss die IP Adresse vom PI als DNS Server beim Router eingetragen werden. \newline % Row Count 11 (+ 2) Die Admin Oberfl{\"a}che ist erreichbar unter http://\textless{}raspi ip\textgreater{}/admin \newline % Row Count 13 (+ 2) Ein gutes Video gibts wie immer von sempervideo unter: \newline % Row Count 15 (+ 2) * \seqsplit{https://www.youtube.com/watch?v=3GJ2Jqk8wD4} \newline % Row Count 16 (+ 1) * \seqsplit{https://www.youtube.com/watch?v=3GJ2Jqk8wD4}% Row Count 17 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{VPN Server installieren}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Quelle: \seqsplit{https://hosting.1und1.de/digitalguide/server/konfiguration/vpn-server-einrichten-via-raspberry-pi-und-openvpn/}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Bitcoin Core Node installieren}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{todo% Row Count 1 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Quelle: \seqsplit{http://raspnode.com/diyBitcoin.html}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Jenkins installieren}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Quelle: \seqsplit{https://t2informatik.de/blog/softwareentwicklung/ci-cd-pipeline-auf-einem-raspberry-pi-teil-2/}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Podman installieren}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Quelle: \seqsplit{https://computingforgeeks}.com/how-to-install-podman-on-debian/} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(1) Quellen im Internet}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Mein absoluter Favorit für Erk{\"a}rvideos zur IT ist sempervideo. Er hat inzwischen eine ganze PI Serie gestartet - einfach mal auf d.tube reinschauen ob es was neues gibt: \newline % Row Count 4 (+ 4) * Die Grundlagen: https://d.tube/\#!/v/sempervideo/yuzar0ud \newline % Row Count 6 (+ 2) * Erste Schritte: https://d.tube/\#!/v/sempervideo/i35iv4ep \newline % Row Count 8 (+ 2) * Remote Desktop: https://d.tube/\#!/v/sempervideo/pmk6zd0a \newline % Row Count 10 (+ 2) * IPFS installieren: https://d.tube/\#!/v/sempervideo/wpdnq5s4 \newline % Row Count 12 (+ 2) * IPFS installieren (gui): https://d.tube/\#!/v/sempervideo/0j2lnao6% Row Count 14 (+ 2) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(4) Image Installation auf microSD Karte}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{`\# Image nach Download entpacken:` \newline % Row Count 1 (+ 1) `unzip \seqsplit{2017-11-29-raspbian-stretch}.zip` \newline % Row Count 2 (+ 1) `\# Erlangung root Rechte ` \newline % Row Count 3 (+ 1) `sudo -i` \newline % Row Count 4 (+ 1) `\# oder` \newline % Row Count 5 (+ 1) `su` \newline % Row Count 6 (+ 1) `\# Image auf microSD Karte kopieren mit root Rechten:` \newline % Row Count 8 (+ 2) `dd bs=4M if=\textless{}raspi-img-datei\textgreater{} of=/dev/\textless{}sd-card-device\textgreater{} conv=fsync` \newline % Row Count 10 (+ 2) {\bf{Beispiel}} \newline % Row Count 11 (+ 1) Falls die microSD Karte am Rechner sonst als {\bf{/dev/sdb1}} bekannt ist, dann als root \newline % Row Count 13 (+ 2) `dd bs=4M \seqsplit{if=2017-11-29-raspbian-stretch}.img of=/dev/sdb conv=fsync` \newline % Row Count 15 (+ 2) eingeben. \newline % Row Count 16 (+ 1) {\bf{ Automatischen SSH Zugang einrichten}} \newline % Row Count 17 (+ 1) Jetzt die SD Karte am Hostrechner ins Filesystem einh{\"a}ngen und in der boot Partition der SD Karte eine leere Datei mit Namen ssh anlegen: \newline % Row Count 20 (+ 3) `cd /media/\textless{}sdkartepath\textgreater{}/boot` \newline % Row Count 21 (+ 1) `echo "" \textgreater{} ssh`% Row Count 22 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Ausführung nicht auf dem PI sondern auf einem Hostrechner. \newline Hat bei mir schon mal bis zu 10 Minuten gedauert.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(5) nur Pi3 Konfiguration eines WPA2 Netzwerkes}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{\# \seqsplit{/etc/wpa\_supplicant/wpa\_supplicant}.conf \newline country=DE \newline ctrl\_interface=DIR=/var/run/wpa\_supplicant GROUP=netdev \newline update\_config=1 \newline \newline network=\{ \newline ssid="FRITZ!Box 7490" \newline psk="password" \newline key\_mgmt=WPA-PSK \newline \}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Konfiguration eines WPA2 Heimnetzes als default} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(7) Basiskonfiguration}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{1. Aufruf des Konfigurationsprogrammes als pi mit Passwort raspberry \newline % Row Count 2 (+ 2) `sudo raspi-config` \newline % Row Count 3 (+ 1) Folgende Menüs sollten besucht werden: \newline % Row Count 4 (+ 1) * 1 change user password -\textgreater{} neues Passwort setzen ist wichtig \newline % Row Count 6 (+ 2) * 2 Network Options/Hostname -\textgreater{} ein neuer hostname ist sinnvoll \newline % Row Count 8 (+ 2) * 5 Interface -\textgreater{} P2 enable ssh server \newline % Row Count 9 (+ 1) * 4 Localisation -\textgreater{} Locale (z.B. de\_DE.UTF-8) \newline % Row Count 10 (+ 1) * 4 Localisation -\textgreater{} Timezone (z.B. Europa/Berlin) \newline % Row Count 11 (+ 1) * 4 Localisation -\textgreater{} Keyboard (z.B. 105 Tasten Intl, De ohne Akzent, Standardbelegung, keine Compose Taste, X-Server beenden nein) \newline % Row Count 14 (+ 3) * 7 Advanced Options -\textgreater{} A1 Expand Filesystem% Row Count 15 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{(9) Image Backup auf Hostrechner}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{\textgreater{}dd if=/dev/sdx of=/path/images.img bs=1M} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{/dev/sdx ist das Laufwerk der SD Karte vom Pi im Hostrechner \newline Optimieren: \seqsplit{http://www.aoakley.com/articles/2015-10-09-resizing-sd-images.php}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Installation typischer Programme}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{} \tn % Row Count 0 (+ 0) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Docker Installation}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{\# Anmeldung auf dem Pi über ssh \newline ssh pi@\textless{}ipadresse\textgreater{} \newline \newline \# falls passwort für root nicht bekannt -\textgreater{} neues setzen \newline sudo passwd \newline \newline \# System update \newline sudo apt-get update \newline \newline \# paketverwaltung installieren \newline sudo apt-get install aptitude \newline \newline \# aptitude starten \newline \# docker-compose als packet suchen und installieren: \newline \# shift+/ docker mit + ausw{\"a}hlen \newline \# und mit g installieren, dannach q zum Verlassen. \newline aptitude \newline \newline \# Gruppe docker dem pi user zuordnen \newline sudo chmod -a -G docker pi \newline \newline \# abmelden und neu anmelden damit die gruppe wirksam wird} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{IPFS installieren}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{`\# Anmeldung auf dem Pi über ssh` \newline % Row Count 1 (+ 1) `ssh pi@\textless{}ipadresse\textgreater{}` \newline % Row Count 2 (+ 1) `\# Download auf dem pi der {\bf{arm}} Version von \seqsplit{http://dist.ipfs.io/\#go-ipfs`} \newline % Row Count 4 (+ 2) `wget \seqsplit{https://dist.ipfs.io/go-ipfs/v0.4.13/go-ipfs\_v0.4.13\_linux-arm.tar.gz`} \newline % Row Count 6 (+ 2) `\# Entpacken der Software` \newline % Row Count 7 (+ 1) `tar xvzf \seqsplit{go-ipfs\_v0.4.13\_linux-arm.tar.gz`} \newline % Row Count 8 (+ 1) `\# Ins ipfs Verzeichnis wechseln` \newline % Row Count 9 (+ 1) `cd go-ipfs` \newline % Row Count 10 (+ 1) `\# Installation durchführen` \newline % Row Count 11 (+ 1) `sudo ./install.sh` \newline % Row Count 12 (+ 1) `\# IPFS initialisieren` \newline % Row Count 13 (+ 1) `ipfs init` \newline % Row Count 14 (+ 1) `\# Startdatei anlegen (um ausloggen zu k{\"o}nnen)` \newline % Row Count 15 (+ 1) `echo -e "nohup ipfs daemon \&\textbackslash{}n" \textgreater{} start-ipfs.sh` \newline % Row Count 16 (+ 1) `\# Startdatei ausführbar machen` \newline % Row Count 17 (+ 1) `chmod +x start-ipfs.sh` \newline % Row Count 18 (+ 1) `\# Deamon starten` \newline % Row Count 19 (+ 1) `./start-ipfs.sh`% Row Count 20 (+ 1) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Ein Video von sempervideo findet sich unter: https://d.tube/\#!/v/sempervideo/wpdnq5s4} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}