Pi – Ultimate Advert Blocking with PiHole

Got a Pi-hole, but some ads are still making their way through? Perhaps you are not blocking enough ad domains… To fix this, open a browser session to this page on your pi: http:/192.168.0.x/admin/groups-adlists.php (replace 192.168.0.x with your Pi IP) Insert the text list from here: https://v.firebog.net/hosts/lists.php (Be sure to only use the ticked list to […]

Raspbian Pi – Installing Log 2 Ram Tool

printf ‘deb [signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian/ bullseye main’ | sudo tee /etc/apt/sources.list.d/azlux.listsudo wget -O /usr/share/keyrings/azlux-archive-keyring.gpg https://azlux.fr/repo.gpgsudo apt updatesudo apt install log2ramsudo sed -i -e ‘/MAIL/s/true/false/’ /etc/log2ram.confsudo sed -i -e ‘/SIZE/s/40M/100M/’ /etc/log2ram.confsudo journalctl –vacuum-size=16Msudo du -hs /var/log/* | sort -h | tail -n 5sudo find /var/log/ -type f -name ‘*.gz’ -exec rm -rf {} +sudo truncate -s 100 […]

Raspbian Pi (aarch64) – Installing Fail2ban

sudo apt install python3-pyinotify python3-systemd 2to3git clone https://github.com/fail2ban/fail2ban.gitcd fail2ban./fail2ban-2to3sudo python setup.py install –without-testssudo cp build/fail2ban.service /etc/systemd/system/fail2ban.servicesudo systemctl enable fail2bansudo service fail2ban startsudo fail2ban-client statussudo fail2ban-client versionsudo fail2ban-client –testsudo fail2ban-client -h

Raspbian Pi – System Info

List of linux commands for gathering Pi specifications apt-cache show APT package info arch show architecture bind -p Bash keyboards shortcut info cat /boot/cmdline.txt Boot Parameters cat /etc/os-release show release OS information cat /etc/passwd Username & Password Info cat /proc/cpuinfo CPU Info cat /proc/devices Device drivers cat /proc/device-tree/model && echo “” Raspberry Pi Hardware Model […]

Raspbian Pi (aarch64) – Installing & updating Docker and Portainer Tools

Initial install: Open your browser to your pi instance ip address via https and add the :9433 to it for the port.Login as admin and set your password. Upgrade instructions: sudo docker stop portainersudo docker rm portainersudo docker image rm portainer/portainer-ce:linux-arm64sudo docker pull portainer/portainer-ce:linux-arm64sudo docker run –restart always –name=portainer -d -p 9443:9443 -v /var/run/docker.sock:/var/run/docker.sock -v […]