Debian

Python Versions

History Long time ago, there were huge discussions about Python 2.7 or Python 3.xx. Fortunately, these times are gone and we’ve all gotten over the hurdle to Python 3. But are you on 3.6, 3.7, 3.8 ? or even 3.11 or 3.12 ? That’s the current Version you should use for your daily Projects ? Status of Python versions A good indicator is this Website: https://devguide.python.org/versions/ OpenBSD It’s also recommended to check what our Operating System is installing by default, or what you can get from their Package Repository.

Debian - MinIO

Minio on Debian Need some S3 Storage for Reasons ? Here a few Lines, how to Setup and enable TLS. Install Minio login as root for the whole installation. Or use sudo/doas if preferred. Upgrade you Box apt update && apt upgrade -y reboot if needed add User Let’s add User as we don’t wanna run it as root useradd -r minio-user -s /sbin/nologin Get Minio Download, set execute permission and move it

Debian behind TLS Proxy

Behind Corp Proxy let’s assume you’re behing a Corp Proxy which enforce TLS Inspection, you don’t have the Proxy Cert and you want to Upgrade your Boxes … … and of course, you do this in the LAB and for Research only and not your Productiv Environment! TLS Inspection enabled apt-get upate W: Failed to fetch https://packages.sury.org/php/dists/bookworm/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification.

K8s on Debian12

Install Debian 12 or install Debian 11.7 and Upgrade to 12 Setup 3 Nodes 192.168.100.151 k8s-master 192.168.100.152 k8s-worker1 192.168.100.153 k8s-worker2 Locale export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8 Kubernetes https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" Swap Off swapoff -a sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab Install FW apt-get install ufw ufw enable Master ufw allow 22/tcp ufw allow 6443/tcp ufw allow 2379/tcp ufw allow 2380/tcp ufw allow 10250/tcp ufw allow 10251/tcp ufw allow 10252/tcp ufw allow 10255/tcp ufw reload Worker ufw allow 22/tcp ufw allow 10250/tcp ufw allow 30000:32767/tcp ufw reload Containerd cat << EOF >> /etc/modules-load.

Debian 12

Debian 12 is here ! Debian 12.x (Folder) Debian 12.0 (ISO) netinst Debian 12.1 (ISO) netinst Debian 12.2 (ISO) netinst Debian 12.3 (ISO) netinst Debian 12.4 (ISO) netinst Links you may find some of my Posts about Debian useful Bootstrapping Debian Docker on Debian Posts about Debian Upgrade Script assuming you have Debian 11.x running cat << 'EOF' > /root/upgrade_to_v12.sh #!/usr/bin/env bash # set Version sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list sed -i 's/bullseye/bookworm/g' /etc/apt/sources.

Bootstrap Debian

Bootstrapping Debian a little helper how to generate a Debian Template. This time, it’s a VM Hosted on Vultr New VM 1 CPU, 1GB RAM, 25GB Disk upload debian-10.9.0-amd64-netinst.iso boot from iso install: (text based) lang: english country: switzerland locale: US (en_US.UTF-8) keymap: Swiss German nic: ens3 hostname: template-25G domain: your.domain.de passwd: xxxxxxxx user: firstname lastname / loginame passwd: xxxxxxxx disk: Guided - entire disk with LVM - (one partition | separate /home | separate /home, /var and /tmp) separate partition for large disks one partition for smaller disks write: yes disk: 20GB (for guided partitioning), 5GB for Spare write: yes another dvd: no mirror: switzerland, debian.

Update Checkmk

how to update checkmk let’s assume you already have a running version of checkmk. You should install patches / updated every few month. Main and Download URL’s Main URL: https://checkmk.com/de/download?edition=cre&version=stable&dist=debian&os=bullseye https://download.checkmk.com/checkmk/1.6.0p20/check-mk-raw-1.6.0p20_0.bullseye_amd64.deb https://download.checkmk.com/checkmk/2.0.0p12/check-mk-raw-2.0.0p12_0.bullseye_amd64.deb Download and Install Package Login as Root v="2.0.0p25" cd /tmp wget -O checkmk.deb "https://download.checkmk.com/checkmk/${v}/check-mk-raw-${v}_0.bullseye_amd64.deb" gdebi checkmk.deb Update Checkmk Switch User … su - mysite .. Switch User and start Update omd status omd version omd stop omd update omd start Cleanup exit omd cleanup Check Application Open Browser, check News and Plugins

Keychain

Need a small and smart utility to manage you ssh keys under linux ? got some scripts and cronjobs which requires an local ssh key ? have a look at keychain ! Install Software depending on your OS … macos$ brew install keychain debian$ sudo apt-get install keychain openbsd$ pkg_add keychain freebsd$ pkg install keychain edit startup Scripts $HOME/.bashrc $HOME/.bash_profile /etc/profile $HOME/.profile cat << 'EOF' >> $HOME/.bashrc # Keychain Startup eval `keychain --eval id_ed25519` EOF check service $ keychain $ ssh-add -L add to .