Archive for the ‘Linux Solution’ Category

Pulse Proxmox – a real time monitoring for Proxmox VE Proxmox Mail Gateway PBS and Docker infrastructure with alerts and webhooks

Freitag, Oktober 24th, 2025

Home Lab 2025 – Server Monitoring Tool ‚Beszel‘ with a Docker/Portainer Setup in Minutes and Easy to Use

Freitag, Oktober 24th, 2025

Server Monitoring Tool ‚Beszel‘ can monitor GPU usage temperature and power draw

Home Lab 2025 – Server Monitoring Tool ‚Beszel‘ with a Docker/Portainer Setup in Minutes and Easy to Use

Mittwoch, Oktober 22nd, 2025

 

To uninstall the Beszel agent run the installation script with the -u option

pi@rpi-NodeRed-01:~ $

pi@rpi-NodeRed-01:~ $ curl -sL https://get.beszel.dev -o /tmp/install-agent.sh && chmod +x /tmp/install-agent.sh && /tmp/install-agent.sh -u
Stopping and disabling the agent service…
Removed /etc/systemd/system/multi-user.target.wants/beszel-agent.service.
Removing the systemd service file…
Removing the daily update service and timer…
Removing the Beszel Agent directory…
Removing the dedicated user for the agent service…
Beszel Agent has been uninstalled successfully!

pi@rpi-NodeRed-01:~ $

Docker & Portainer – eine Schritt-für-Schritt Installationsanleitung

Mittwoch, Oktober 22nd, 2025
docker run -d -p 8000:8000 -p 9443:9443 –name=portainer –restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

AnduinOS 1.4 – ist eine benutzerdefinierte Ubuntu basierte Linux Distribution die eine vertraute und benutzerfreundliche Erfahrung für alle bietet die zu Linux wechseln

Dienstag, Oktober 21st, 2025

Wählen sie ihre AnduinOS Version

 

 

 

Proxmox Virtual Environment (VE) 9.0.11 – the best practices for running Docker inside Proxmox using virtual machines or LXC containers explain why you should avoid installing Docker directly on the Proxmox host and share my recommended settings for networking storage and backups

Freitag, Oktober 17th, 2025

Linuxfx Winux 11.25.10 LTS ‚NOBLE‘ – is a super secure Linux operating system that is completely inspired by Microsoft Windows but does not require any special hardware requirements and can be installed on any device

Dienstag, Oktober 14th, 2025

Orange Pi 6 Plus – with a 12 core 64bit CPU and an NPU rated at up to 45 Trillion Operations Per Second (TOPS)

Montag, Oktober 13th, 2025

Proxmox Virtual Environment (VE) 9.0.10 – pass through N100 Intel Alder Lake-N UHD integrated iGPU Graphics

Montag, Oktober 13th, 2025

Podman & MinIO S3 Storage – mit Proxmox Virtual Environment (VE) 9.0.10 Container (LXC) Ubuntu 25.04 installieren für eine Backup Strategie ‚ProtectIT‘

Freitag, Oktober 10th, 2025

The –dry-run option ensures that only the availability of new images is checked but no pull operations are performed and no new containers are created

root@pve-pdman-01:~# apt-get install podman -y
root@pve-pdman-01:~# podman -v
podman version 5.4.1
root@pve-pdman-01:~# podman info
root@pve-pdman-01:~# mkdir -p ~/minio/data
root@pve-pdman-01:~# podman run \
-p 9000:9000 \
-p 9001:9001 \
–name minio \
-v ~/minio/data:/data \
-e „MINIO_ROOT_USER=<user>“ \
-e „MINIO_ROOT_PASSWORD=<password>“ \
quay.io/minio/minio server /data –console-address „:9001“
root@pve-pdman-01:~# podman images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/minio/minio latest 69b2ec208575 2 weeks ago 176 MB
root@pve-pdman-01:~# podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
86234ac671bb quay.io/minio/minio:latest server /data –co… About an hour ago Up 9 minutes 0.0.0.0:9000-9001->9000-9001/tcp minio
http://<IP@>:9001

The –dry-run option ensures that only the availability of new images is checked but no pull operations are performed and no new containers are created

root@pve-pdman-01:~# podman auto-update –dry-run

root@pve-pdman-01:~#
root@pve-pdman-01:~# curl https://dl.min.io/client/mc/release/linux-amd64/mc \
–create-dirs \
-o $HOME/minio-binaries/mc
root@pve-pdman-01:~# chmod +x $HOME/minio-binaries/mc
root@pve-pdman-01:~# export PATH=$PATH:$HOME/minio-binaries/
root@pve-pdman-01:~# mc –help

The mc alias set command sets or updates an alias in the MinIO client configuration

root@pve-pdman-01:~# mc alias set myminio http://192.168.1.177:9000 <user> <password>
Added `myminio` successfully.
root@pve-pdman-01:~#

Enables object optional locking on the specified bucket and object locking requires and therefore implies enabling object versioning:
–with-lock

root@pve-pdman-01:~# mc mb –with-lock myminio/worm-with-versioning-and-retention–day
Bucket created successfully `myminio/worm-with-versioning-and-retention–day`.
root@pve-pdman-01:~#
root@pve-pdman-01:~# mc ilm add –expiry-days 15 myminio/worm-with-versioning-and-retention–day
Lifecycle configuration rule added with ID `d3dsfjcukqlgnr42cv90` to myminio/worm-with-versioning-and-retention–day.
root@pve-pdman-01:~#
root@pve-pdman-01:~# mc ilm rule rm –id „d3dsfjcukqlgnr42cv90“ myminio/worm-with-versioning-and-retention–day
Rule ID `d3dsfjcukqlgnr42cv90` from target myminio/worm-with-versioning-and-retention–day removed.
root@pve-pdman-01:~#

The optiml number of days to retain an object after being created:
–expire-days

root@pve-pdman-01:~# mc ilm add –expiry-days 12 myminio/worm-with-versioning-and-retention–day
Lifecycle configuration rule added with ID `d3f7j1cukqlhid0kvulg` to myminio/worm-with-versioning-and-retention–day.

root@pve-pdman-01:~#

The optional number of days to retain an object version after becoming non-current:
–noncurrent-expire-days

root@pve-pdman-01:~# mc ilm add –insecure –noncurrentversion-expiration-days 3 myminio/worm-with-versioning-and-retention–day
Lifecycle configuration rule added with ID `d3dsgocukqlgnqqqgmi0` to myminio/worm-with-versioning-and-retention–day.
root@pve-pdman-01:~#
root@pve-pdman-01:~# mc ilm export myminio/worm-with-versioning-and-retention–day
{
„Rules“: [
{
„ID“: „d3dsgocukqlgnqqqgmi0“,
„NoncurrentVersionExpiration“: {
„NoncurrentDays“: 3
},
„Status“: „Enabled“
},
{
„Expiration“: {
„Days“: 12
},
„ID“: „d3f7j1cukqlhid0kvulg“,
„Status“: „Enabled“
}
]
}
root@pve-pdman-01:~#
root@pve-pdman-01:~# mc ilm add –expiry-days 96 myminio/worm-with-versioning-and-retention–week
root@pve-pdman-01:~# mc ilm add  –noncurrentversion-expiration-days 3 myminio/worm-with-versioning-and-retention–week
root@pve-pdman-01:~# mc ilm add –expiry-days 192 myminio/worm-with-versioning-and-retention–month
root@pve-pdman-01:~# mc ilm add  –noncurrentversion-expiration-days 3 myminio/worm-with-versioning-and-retention–month
root@pve-pdman-01:~# mc ilm add –expiry-days 484 myminio/worm-with-versioning-and-retention–year
root@pve-pdman-01:~# mc ilm add  –noncurrentversion-expiration-days 3 myminio/worm-with-versioning-and-retention–year

root@pve-pdman-01:~#
root@pve-pdman-01:~# mc retention set –default compliance 7d myminio/worm-with-versioning-and-retention–day
Object locking ‚COMPLIANCE‘ is configured for 7DAYS.
root@pve-pdman-01:~# mc retention info myminio/worm-with-versioning-and-retention–day
Object locking ‚COMPLIANCE‘ is configured for 7DAYS.
root@pve-pdman-01:~# mc –json retention info myminio/worm-with-versioning-and-retention–day
{
„op“: „info“,
„enabled“: „Enabled“,
„mode“: „COMPLIANCE“,
„validity“: „7DAYS“,
„status“: „success“
}
root@pve-pdman-01:~#

The MinIO mc mirror command synchronizes content to MinIO deployment similar to the ‚rsync‘ utility

root@rpi-iot-jsho-cam-02:~# mc mirror –json $LocalBackupPath/$MirrorDay $MinioBucket/MotionEYE/$MirrorDay
root@pve-pdman-01:~#
root@pve-pdman-01:~# mc admin info myminio
● 192.168.1.177:9000
Uptime: 3 days
Version: 2025-09-07T16:13:09Z
Network: 1/1 OK
Drives: 1/1 OK
Pool: 1
┌──────┬──────────────────────┬─────────────────────┬──────────────┐
│ Pool │ Drives Usage │ Erasure stripe size │ Erasure sets │
│ 1st │ 4.5% (total: 59 GiB) │ 1 │ 1 │
└──────┴──────────────────────┴─────────────────────┴──────────────┘
1005 MiB Used, 1 Bucket, 18,041 Objects, 18,042 Versions, 1 Delete Marker
1 drive online, 0 drives offline, EC:0
root@pve-pdman-01:~#
root@pve-pdman-01:~# mc tree myminio
myminio
└─ worm-with-versioning-and-retention–day
└─ MotionEYE
├─ Camera1
│ ├─ 2025-10-01
│ ├─ 2025-10-02
│ ├─ 2025-10-03
│ ├─ 2025-10-04
│ ├─ 2025-10-05
│ ├─ 2025-10-06
│ ├─ 2025-10-07
│ └─ 2025-10-08
├─ Camera2
│ ├─ 2025-10-01
│ ├─ 2025-10-02
│ ├─ 2025-10-03
│ ├─ 2025-10-04
│ ├─ 2025-10-05
│ ├─ 2025-10-06
│ ├─ 2025-10-07
│ └─ 2025-10-08
├─ Camera3
│ ├─ 2025-10-01
│ ├─ 2025-10-02
│ ├─ 2025-10-03
│ ├─ 2025-10-04
│ ├─ 2025-10-05
│ ├─ 2025-10-06
│ ├─ 2025-10-07
│ └─ 2025-10-08
└─ Camera4
├─ 2025-10-01
├─ 2025-10-02
├─ 2025-10-03
├─ 2025-10-04
├─ 2025-10-05
├─ 2025-10-06
├─ 2025-10-07
└─ 2025-10-08
root@pve-pdman-01:~#

root@pve-pdman-01:~#
root@pve-pdman-01:~# mc mb –with-lock myminio/worm-with-versioning-and-retention–week
Bucket created successfully `myminio/worm-with-versioning-and-retention–week`.

The mc rb command remove an empty bucket

root@pve-pdman-01:~# mc rb myminio/worm-with-versioning-and-retention–week
Removed `myminio/worm-with-versioning-and-retention–week` successfully.
root@pve-pdman-01:~#

Thomas-Krenn.AG – Proxmox VE 9.0 Neuerungen & Proxmox Datacenter Manager 0.9

Mittwoch, Oktober 8th, 2025

Linux command ‚sensors‘ – the package lm-sensors is a set of tools to control and view sensors that may be present on your hardware

Sonntag, Oktober 5th, 2025
root@pve-s740-01:~# apt-get install lm-sensors
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Suggested packages:
fancontrol i2c-tools read-edid
The following NEW packages will be installed:
lm-sensors
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 101 kB of archives.
After this operation, 408 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian trixie/main amd64 lm-sensors amd64 1:3.6.2-2 [101 kB]
Fetched 101 kB in 0s (773 kB/s)
Selecting previously unselected package lm-sensors.
(Reading database … 67263 files and directories currently installed.)
Preparing to unpack …/lm-sensors_1%3a3.6.2-2_amd64.deb …
Unpacking lm-sensors (1:3.6.2-2) …
Setting up lm-sensors (1:3.6.2-2) …
Created symlink ‚/etc/systemd/system/multi-user.target.wants/lm-sensors.service‘ → ‚/usr/lib/systemd/system/lm-sensors.service‘.
Processing triggers for man-db (2.13.1-1) …
root@pve-s740-01:~# sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +36.0°C (high = +105.0°C, crit = +105.0°C)
Core 0: +35.0°C (high = +105.0°C, crit = +105.0°C)
Core 1: +35.0°C (high = +105.0°C, crit = +105.0°C)
Core 2: +35.0°C (high = +105.0°C, crit = +105.0°C)
Core 3: +37.0°C (high = +105.0°C, crit = +105.0°C)
acpi_fan-acpi-0
Adapter: ACPI interface
fan1: N/A
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: N/A
acpitz-acpi-0
Adapter: ACPI interface
temp1: +35.0°C
root@pve-s740-01:~#
root@pve-s740-01:~# watch -n 2 sensors

 

Raspberry Pi Imager 2.0 RC2 – das Tool für eine Installation erhält ein Redesign

Sonntag, Oktober 5th, 2025

Proxmox Virtual Environment (VE) 9.0.6 – how to check if a Proxmox USB hard drive is in standby mode using the hdparm command

Freitag, Oktober 3rd, 2025

Run hdparm -C /dev/sd<x> to check if the drive is in the standby state

root@pve-s740-04:~# hdparm -C /dev/sdc
/dev/sdc:
SG_IO: bad/missing sense data, sb[]: 70 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
drive state is: standby
root@pve-s740-04:~#
root@pve-s740-01:~# hdparm -C /dev/sdb
/dev/sdb:
drive state is: active/idle

root@pve-s740-01:~#

MinIO – Object Management Versioning Lab

Dienstag, September 30th, 2025