Category: Linux

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:...

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?

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...

ZFS – Good to know

## Links:https://ruvi-d.medium.com/zfs-on-ubuntu-20-04-lts-53728f3bc9e9 https://wiki.ubuntu.com/Kernel/Reference/ZFS https://jrs-s.net/2016/09/15/zfs-snapshots-and-cold-storage/ https://didrocks.fr/2020/05/26/zfs-focus-on-ubuntu-20.04-lts-zsys-general-presentation/ https://wiki.archlinux.org/index.php/ZFS ## on Linux install ZFS on Linux > sudo apt install zfsutils-linux ## Commands: ### List the Pools > zpool list ### Unmount Pool/Dataset > zfs unmount <pool>/<dataset> ### Show parameters of pool > zpool get all <pool> ### List the DataSets > zfs list ### Create a Pool (easy/test) > zpool create -f...

tmux – Good to know

Why tmux? 1) Because it makes life easier: https://opensource.com/article/20/5/split-terminal 2) Because it’s beautiful: [tmux] is my WM on OS x from unixporn For a beginners guide see: https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/ https://www.golinuxcloud.com/tmux-commands/ Cheat-Sheet: use “prefix key” “Ctrl + a” (changed in my config, standard is “Ctrl + b”), release, then press “command key”. You can get help with: “prefix kex” + ? command...

Apache2 https and .htaccess Rewrite Engine

Problem: After installing Apache2 some local site, which has a .htaccess-file cannot be opened, and shows the error message: “Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request.” The logfile /var/log/apache2/error.log says “/path/.htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration”. .htaccess has...