Category: Linux

Good to know: Linux services and Docker

Docker and Unix services As a general rule of thumb there is one docker container for each service. It’s like a mantra echoing in the internet to separate concerns and to follow the Unix design principle of doing one thing, and doing one thing right (see Wikipedia) (Btw. look at this video from the vaults explaining the UNIX operating system...

Welcome to grub… hell

Problem: grub gets stuck after an system-update at “welcome to grub” and uefi-setup is loading… Additional information: This did not only struck me… It’s a broken grub package from 26.08.2022 – FS#75701 – grub 2:2.06.r322.gd9b4638c5-1 issue www.reddit.com/r/linuxmemes/ https://bbs.archlinux.org/viewtopic.php?id=279115 https://bugs.archlinux.org/task/75701#comment210566 Solution: 1) boot from arch usb-stick 2) get information about the system parted -l lsblk 3) perpare the system Mount root...

VSCode devcontainer (part 1)

Coding SAP is Eclipse based ADT, it’s Business Application Studio and.. oh sure it’s VSCode. I’m playing around with CDS, UI5 and CAP. But – and this is important – i don’t want to pollute my system with strange dependencies like npm (see here). But there is a solution for that.. – using devcontainers in VSCode. What is a Devcontainer?...

invalid or corrupted package (PGP signature)

Problem: On arch-update via pacman the following error occurs: Error: rubberband: signature from “David Runge ” is marginal trust :: File /var/cache/pacman/pkg/rubberband-3.0.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] n error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. -> error installing repo packages Steps taken:...

The history of…

IT: Fresh and Felicia – The History Of Computers, Programming, and Coding: A Not Boring Introduction Mark Rendle (DevCon 2016) – Keynote session: The History of Programming SAP: The Origin of SAP: The Perfect First Customer (SAP celebrate 50 years) History of ABAP – R/2 -> R/3 Unix: AT&T Archives – The UNIX Operating System History of Gnu, Linux, Free...

Docker – Good to know

I don’t run docker containers locally, but on a docker VM on a remote server. Management is done through Portainer.io which adds a nice GUI to Docker and Kubernetes. However sometimes, the CLI is still the place to be: Useful commands: docker run –rm -it = run/pull image docker ps = list all active containers docker attach = attach to...

Lighttpd on arch

lighttpd, PHP, MariaDB https://wiki.ubuntuusers.de/lighttpd/ https://redmine.lighttpd.net/projects/lighttpd/wiki/TutorialConfiguration Installation pacman -S lighttpd pacman -S php php-cgi mariadb mariadb-clients mariadb-install-db –user=mysql –basedir=/usr –datadir=/var/lib/mysql Infos: Two accounts: root@localhost, mysql@localhost To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system You can start the MariaDB daemon with: cd ‘/usr’ ; /usr/bin/mysqld_safe –datadir=’/var/lib/mysql’ You can test the MariaDB daemon...

apt vs apt-get

Ever wondered what’s the difference between apt and apt-get: How-To Geek: apt vs. apt-get: What’s the Difference on Linux?

Arch AUR – yay “xy is not a clone of https://github.com/xxx.git”

Problem: The AUR yay-update of a package fails with the error message like “xy is not a clone of https://github.com/xy.git” Solution: Delete the source clone mentioned in the error message. Be careful: Not the PKGBUILD, but the clone that goes into the same directory as the PKGBUILD by default. Afterwards yay will clone the repository again and update.

vim – Good to know

What is vim? Vim is a highly configurable text editor, making text-editing efficient (note: not easy). It’s present on most unix/linux-based systems.” (vim.org) Why using vim? When there is no other text-editor available on any Unix/Linux/x-System, there is vi. It’s not easy to use, but fun.. For more reasons see (hackernoon.com). Personally i use vim to edit config files. For...