Tag Archives: linux

File Name Too Long

When trying to build the Spring Boot source code, I ran into a strange problem: The Gradle build terminated with several “File name too long” exceptions. I knew that the ext4 filesystem I was using has limits – 4064 characters … Continue reading

Posted in linux | Tagged , | 1 Comment

Testing Alertmanager

When a Prometheus alerting rule fires, the Prometheus server sends a notification to the Alertmanager, which is then responsible for processing that alert further, i.e. by routing it to an appropriate alerting channel (e-mail, Slack, …). In order to test … Continue reading

Posted in shell | Tagged , | Leave a comment

Checking Whether a Process Exists

On Linux/Unix systems, there’s occasionally the need to check whether a process is running. Some people use it for simple status checks or when building their own lifecycle scripts for startup and¬†shutdown. I don’t think it’s a particularly good practice … Continue reading

Posted in linux | Tagged , | Leave a comment

Detecting Security Upgrades on Ubuntu

In my article on unattended upgrades I described how to set up an Ubuntu system to install security upgrades automatically. This is convenient¬†for small setups, but in an enterprise environment you typically want to perform some QA before applying the … Continue reading

Posted in linux | Tagged , , , | Leave a comment

Vim File Type Configuration

Vim has been my primary text editor for more than 15 years, but even though I use it on a daily basis, my configuration hasn’t changed much over time. When I set up a new workstation, I stumbled upon the … Continue reading

Posted in productivity | Tagged , | 1 Comment

Keeping Your Server Secure With Unattended Upgrades

When operating servers, you’re responsible for keeping them up to date with the latest security fixes. Ubuntu comes with a mechanism that installs updates automatically so you don’t have to worry about it. Obviously, this is meant for personal servers … Continue reading

Posted in linux | Tagged , , , | 9 Comments

Living in the Future with IPv6

It’s not quite flying cars, but since yesterday I’m living in the future. IPv6 has arrived at my home network after I switched to a new VDSL contract. I had to activate it manually in my FritzBox home router though, … Continue reading

Posted in linux | Tagged , , | Leave a comment

Installing Oracle’s JDK on Debian/Ubuntu

Due to licensing issues, Linux distributions don’t ship Oracle Java packages anymore. In many cases, that doesn’t matter since you can just use OpenJDK. But if you do need Oracle’s JDK, Debian packages are a bit more convenient than handling … Continue reading

Posted in java | Tagged , , | 1 Comment