httpd Docker container issue: a possible workaround 2

Last week I was deploying some Docker containers on a staging virtual machine and I faced an issue with a httpd:2.4 Docker image. The container started and then immediately exited with code 0. All containers worked fine, but the only one running httpd for some reason failed. The docker logs command showed something like this: ...

Written by Cristiano

How to start a Bitnami stack at boot on Slackware

Bitnami stacks are a sort of self-contained sets of applications that allow you to run server-side software without touching anything on your operating system. After the installation procedure all the needed stuff is located into a folder which can be also relocated, if necessary. Bitnami logo In my opinion these kind of tools are very ...

Written by Cristiano

Kernel patches: added support for HTTP mirrors 2

In the previous post I talked about my attempt to create a script to automate the kernel patches installation procedure on Slackware (stable) and I reported the quick ‘n’ dirty instructions to run it, with also a video demonstration. A few time after, a dear friend tried the script and he pointed out to me ...

Written by Cristiano

Virtual disk data recovery

The last weekend was terrible. On Friday evening I was writing some VHDL code for a small project and testing step-by-step all the stuff through a VHDL simulator runningĀ on Windows. Obviously, to do this I used a VirtualBox virtual machine, since my host OS is a Linux distro. Once I finished to work I simply ...

Written by Cristiano

A way to extract the playback time from mpg123

In the last period I was working on a project concerning UPnP. In particular I was developing a “smart speaker”, a wireless speaker which plays mp3 files by streaming them from a NAS (UPnP media server). The code is written in Java and leans to mpg123, a real time CLI MPEG audio player/decoder. The hardware ...

Written by Cristiano

Sort tricks

This nice UNIX command allows you to sort the rows of a text file according to predetermined criteria. Let’s do a few simple examples. Imagine you have a text file called Data.txt structured as below: If you want to sort the rows according to the age (the second column), you can do it with sort ...

Written by Cristiano