Archive for the ‘Raspberry Pi’ Category

Raspberry Pi – new Raspberry Pi OS update (May 2020) previously called Raspbian

Freitag, Mai 29th, 2020
# apt-get update
# apt-get full-upgrade

Raspberry Pi 4 – gibt es jetzt auch mit 8 GB RAM

Donnerstag, Mai 28th, 2020

Raspberry Pi Zero – die Elektronik sitzt nicht auf einer Platine unter dem Kamerasensor sondern auf dem Flachkabel

Montag, Mai 25th, 2020

Raspberry Pi – how to use the internet faster and more safely with a Squid Proxy

Samstag, Mai 9th, 2020

Raspberry Pi – how to Install Zabbix 4.0 LTS or Zabbix 4.4

Mittwoch, Mai 6th, 2020

Raspberry Pi – how to Install Zabbix 4.0 LTS or Zabbix 4.4 with this Step-by-Step Guide

Raspberry Pi – high quality camera 12.3 megapixel Sony IMX477 sensor, 7.9mm diagonal image size, and back-illuminated sensor architecture

Freitag, Mai 1st, 2020

 

Raspberry Pi – use swarm with Raspberry Shake seismographic data

Samstag, April 25th, 2020

The MagPi Issue 92 – das offizielle und kostenlose Raspberry Pi Magazin

Samstag, April 25th, 2020

Raspberry Pi – the Internet Weather Station project displays the weather information such as temperature, humidity and successive weather forecast

Samstag, April 25th, 2020

Node-RED 1.0.6 – has been released

Freitag, April 24th, 2020

Raspberry Pi – create a Pi-hole ‚kill switch‘

Donnerstag, April 16th, 2020

If you want to temporary open a site which is blocked by your Pi-hole you usually have to open the dashboard login and disable it but there is an easy way to switch it off for a desired time lets say your Pi-hole has the IP@ 192.168.111.2 and you want it to switch off for 5mins

If your Pi-hole is not password protected just open your browser and go to http://<IP@>/admin/api.php?disable=[sec]&auth=

e.g. http://192.168.111.2/admin/api.php?disable=300&auth=

# pihole -a -p
# vi /etc/pihole/setupVars.conf

    WEBPASSWORD=ccc5db…e5bb3e

If your Pi-hole is password protected just open your browser and go to http://<IP@>/admin/api.php?disable=[sec]&auth=ccc5db…e5bb3e

e.g. http://192.168.111.2/admin/api.php?disable=300&auth=ccc5db…e5bb3e

Raspberry Pi – as a personal eMail server

Montag, April 13th, 2020

In this tutorial – you will learn how to build your very own eMail server on your Raspberry Pi

Node-RED Version 1.0.5 – released

Donnerstag, April 9th, 2020

Raspberry Pi – how to create a high available redundant replicated storage with Glusterfs

Dienstag, März 24th, 2020

Glusterfs – building a Raspberry Pi storage cluster to run a ‚big data‘ environment at home

 

 

# apt-get update && apt-get upgrade -y
# apt-get install xfsprogs
# mkfs.xfs -i size=512 /dev/sda1

# mkdir -p /data/brick1
# vi /etc/fstab
    /dev/sda1 /data/brick1 xfs defaults 1 2
# mount -a
# apt-get install glusterfs-server
# systemctl start glusterd.service
# systemctl enable glusterd.service
# systemctl restart glusterd.service
# glusterfsd –version
# gluster peer probe rpi-iot-jsho-gluster-01
# gluster peer probe rpi-iot-jsho-gluster-02
# gluster peer status
root@rpi-iot-jsho-gluster-01:~# mkdir /data/brick1/gv0
root@rpi-iot-jsho-gluster-02:~#mkdir /data/brick1/gv0
root@rpi-iot-jsho-gluster-01:~# gluster volume create gv0 replica 2 rpi-iot-jsho-gluster-01:/data/brick1/gv0 rpi-iot-jsho-gluster-02:/data/brick1/gv0
root@rpi-iot-jsho-gluster-01:~#  gluster volume start gv0
root@rpi-iot-jsho-gluster-01:~# gluster volume set testvol auth.allow 192.168.1.3
root@rpi-iot-jsho-gluster-01:~# gluster volume info
root@rpi-iot-jsho-gluster-01:~# gluster pool list

root@rpi-iot-jsho-gluster-01:~# mkdir -p /mnt/gv0
root@rpi-iot-jsho-gluster-01:~# mount -t glusterfs rpi-iot-jsho-gluster-01:/gv0 /mnt/gv0
root@rpi-iot-jsho-gluster-02:~# mkdir -p /mnt/gv0
root@rpi-iot-jsho-gluster-02:~# mount -t glusterfs rpi-iot-jsho-gluster-01:/gv0 /mnt/gv0
root@rpi-iot-jsho-gluster-01:~# touch /mnt/gv0/testfile{1..5}
root@rpi-iot-jsho-gluster-02:~# touch /mnt/gv0/testfile{1..5}
root@rpi-iot-jsho-gluster-01:~# ls /data/brick1/gv0/
file1 file2 file3 file4 file5
root@rpi-iot-jsho-gluster-02:~# ls /data/brick1/gv0/
file1 file2 file3 file4 file5
root@rpi-iot-jsho-gluster-01:~# vi /etc/fstab
/gv0 /mnt/gv0 glusterfs defaults,_netdev 0 0
root@rpi-iot-jsho-gluster-02:~# vi /etc/fstab
/gv0 /mnt/gv0 glusterfs defaults,_netdev 0 0
root@rpi-iot-jsho-gluster-01:~# df -h /mnt/gv0

root@rpi-iot-jsho-gluster-01:~# gluster volume profile gv0 start
root@rpi-iot-jsho-gluster-01:~# gluster volume profile info

root@rpi-iot-jsho-gluster-01:~# gluster volume profile gv0 stop
root@rpi-iot-jsho-gluster-01:~# netstat -tap | grep glusterfsd

 

Einrichten eines GlusterFS Client

# apt-get install glusterfs-client
# mkdir -p /mnt/gv0
# mount.glusterfs rpi-iot-jsho-gluster-01:/gv0 /mnt/gv0

Raspberry Pi – Bluetooth, Airplay and Spotify audio streaming for any audio device

Dienstag, März 17th, 2020