Archive for the ‘Linux Solution’ Category

Proxmox Backup Server 2.4-7 – update with No Subscription Repository

Sonntag, Juli 7th, 2024
root@PVE-BACKUP:~# vi /etc/apt/sources.list.d/pbs-enterprise.list
# deb https://enterprise.proxmox.com/debian/pbs bullseye pbs-enterprise
deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription
root@PVE-BACKUP:~# apt-get update && apt-get dist-upgrade

Proxmox Virtual Environment (VE) 8.2.4 – VMs im Arbeitsspeicher laufen lassen

Donnerstag, Juli 4th, 2024

A security regression (CVE-2006-5051) was discovered in OpenSSH’s server (sshd) – there is a race condition which can lead to sshd to handle some signals in an unsafe manner so an unauthenticated remote attacker may be able to trigger it by failing to authenticate within a set time period

Mittwoch, Juli 3rd, 2024

For the stable distribution Debian ‚Bookworm‘ this problem has been fixed in version 1:9.2p1-2+deb12u3

https://lists.debian.org/debian-security-announce/2024/msg00135.html
root@PVE-03:~# ssh -V
OpenSSH_9.2p1 Debian-2+deb12u3, OpenSSL 3.0.13 30 Jan 2024

root@PVE-03:~#

Tmpfs – is a file system which keeps all of its files in virtual memory

Sonntag, Juni 30th, 2024

Rocky Linux 9.4 – is an open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux

Donnerstag, Juni 20th, 2024

Rocky Linux – rebuilds sources directly from RHEL so you can bet your best dollar that you’ll have a super stable experience no matter the use-case

Proxmox Virtual Environment (VE) 8.2 – how to rename Proxmox Node with existing VMs & Containers

Mittwoch, Juni 19th, 2024

Raspberry Pi 5 18650 Battery UPS HAT – it can be used as a mobile power supply providing a stable 5V output with a maximum of 5A

Montag, Juni 17th, 2024

AlmaLinux OS – receives support for Raspberry Pi

Samstag, Juni 15th, 2024

AlmaLinux OS – builds standard Raspberry Pi images

Raspberry Pi – we make computers

Donnerstag, Juni 13th, 2024

Raspberry Pi 5 AI Kit – M.2 HAT+ preassembled with a Hailo-8L AI accelerator module

Donnerstag, Juni 13th, 2024

Proxmox Virtual Environment (VE) 8.2 – Installation eines verteilten Ceph Storage Environment

Mittwoch, Juni 12th, 2024

Zabbix 7 LTS Release – what’s new

Samstag, Juni 8th, 2024

Syncthing v1.27.8 – how to install on Armbian Linux

Freitag, Juni 7th, 2024
root@bpi-iot-jsho-labor-01:~#
root@bpi-iot-jsho-labor-01:~# mkdir -p /etc/apt/keyrings

root@bpi-iot-jsho-labor-01:~# curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1769 100 1769 0 0 2319 0 –:–:– –:–:– –:–:– 2321
root@bpi-iot-jsho-labor-01:~# echo „deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable“ | tee /etc/apt/sources.list.d/syncthing.list
deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable
root@bpi-iot-jsho-labor-01:~# apt-get update -y
OK:1 http://deb.debian.org/debian bookworm InRelease
OK:2 http://deb.debian.org/debian bookworm-updates InRelease
OK:3 http://deb.debian.org/debian bookworm-backports InRelease
OK:4 http://security.debian.org bookworm-security InRelease
Holen:6 https://apt.syncthing.net syncthing InRelease [15,1 kB]
OK:5 http://fi.mirror.armbian.de/beta bookworm InRelease
Holen:7 https://apt.syncthing.net syncthing/stable armhf Packages [1.600 B]
Es wurden 16,7 kB in 6 s geholt (2.973 B/s).
Paketlisten werden gelesen… Fertig
root@bpi-iot-jsho-labor-01:~#
root@bpi-iot-jsho-labor-01:~# apt-get install syncthing
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden NEUEN Pakete werden installiert:
syncthing
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 10,3 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 25,6 MB Plattenplatz zusätzlich benutzt.
Holen:1 https://syncthing-apt.s3.fr-par.scw.cloud syncthing/stable armhf syncthing armhf 1.27.8 [10,3 MB]
Es wurden 10,3 MB in 4 s geholt (2.562 kB/s).
Vormals nicht ausgewähltes Paket syncthing wird gewählt.
(Lese Datenbank … 31559 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von …/syncthing_1.27.8_armhf.deb …
Entpacken von syncthing (1.27.8) …
syncthing (1.27.8) wird eingerichtet …
Trigger für man-db (2.11.2-2) werden verarbeitet …
root@bpi-iot-jsho-labor-01:~#
root@bpi-iot-jsho-labor-01:~# systemctl enable syncthing@root.service
Created symlink /etc/systemd/system/multi-user.target.wants/syncthing@root.service → /lib/systemd/system/syncthing@.service.
root@bpi-iot-jsho-labor-01:~#
root@bpi-iot-jsho-labor-01:~# systemctl status syncthing@root.service
○ syncthing@root.service – Syncthing – Open Source Continuous File Synchronization for root
Loaded: loaded (/lib/systemd/system/syncthing@.service; enabled; preset: enabled)
Active: inactive (dead)
Docs: man:syncthing(1)
root@bpi-iot-jsho-labor-01:~#
root@bpi-iot-jsho-labor-01:~# vi /etc/systemd/system/multi-user.target.wants/syncthing@root.service
[Unit]
Description=Syncthing – Open Source Continuous File Synchronization for %I
Documentation=man:syncthing(1)
After=network.target
StartLimitIntervalSec=60
StartLimitBurst=4
[Service]
User=%i
# ExecStart=/usr/bin/syncthing serve –no-browser –no-restart –logflags=0
ExecStart=/usr/bin/syncthing serve –no-browser –gui-address=“0.0.0.0:8384″ –no-restart –logflags=0
Restart=on-failure
RestartSec=1
SuccessExitStatus=3 4
RestartForceExitStatus=3 4
# Hardening
ProtectSystem=full
PrivateTmp=true
SystemCallArchitectures=native
MemoryDenyWriteExecute=true
NoNewPrivileges=true
# Elevated permissions to sync ownership (disabled by default),
# see https://docs.syncthing.net/advanced/folder-sync-ownership
#AmbientCapabilities=CAP_CHOWN CAP_FOWNER
[Install]
WantedBy=multi-user.target

root@bpi-iot-jsho-labor-01:~#
root@bpi-iot-jsho-labor-01:~# systemctl daemon-reload
root@bpi-iot-jsho-labor-01:~# systemctl restart syncthing@root.service
root@bpi-iot-jsho-labor-01:~#
root@bpi-iot-jsho-labor-01:~# ss -antpl | grep 8384
LISTEN 0 4096 *:8384 *:* users:((„syncthing“,pid=1461,fd=29))
root@bpi-iot-jsho-labor-01:~#
root@bpi-iot-jsho-labor-01:~# syncthing –version
syncthing v1.27.8 „Gold Grasshopper“ (go1.22.3 linux-arm) debian@github.syncthing.net 2024-05-30 08:49:22 UTC [noupgrade]
root@bpi-iot-jsho-labor-01:~#
http://192.168.1.151:8384

Debian 13 ‚Trixie‘ – /tmp als tmpfs eingehängt und der Inhalt wird bei jedem Neustart „gelöscht“

Freitag, Juni 7th, 2024

TrueNAS Scale Dragonfish 24.04.01 – with new features

Montag, Juni 3rd, 2024