RASPBIAN PI (aarch64) – Installing Projectsend
Installing prereqs: Configuring mysql: Basic Install: Configure DB variables: Configure NGINX:
Installing prereqs: Configuring mysql: Basic Install: Configure DB variables: Configure NGINX:
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 […]
sudo dphys-swapfile swapoff && sudo dphys-swapfile uninstall && sudo systemctl disable dphys-swapfile
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 […]
Run this from the pi bash shell to update your DHCP lease
sudo apt install iperf3 -yRunning Server:sudo iperf3 –sRunning Client:sudo iperf3 -c 192.168.0.xx -V -t 30s -i 1s sudo apt install mtrRunning Tool:mtr 192.168.0.xx –report
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
The ultimate update command… Run this from the pi bash shell Updating the pi4 EEPROM
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 […]
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 […]