If you have an Atari ST sleeping in the attic, and have an interest for
open source Unix, you might be interested to try out ST Mint, a
distribution of the FreeMiNT kernel tailored for this platform.
When preparing the last ST Mint release, I noticed that bash needed too much memory for the ST, so I included the sash shell, cross-compiled from the Debian source package.
Funnily enough, although the Atari hardware is physically large and heavy, working on ST Mint feels like doing embedded hardware development: you cross-compile, link with the smallest possible libc, copy stuff on a SD Card, and try to fit everything in 4MB of RAM.
Saturday, December 21, 2019
Sunday, August 4, 2019
Debian 9 -> 10 Ugrade report
I upgraded my laptop and VPS to Debian 10, as usual in Debian everything worked out of the box, the necessary daemons restarted without problems.
I followed my usual upgrade approach, which involves upgrading a backup of the root FS of the server in a container, to test the upgrade path, followed by a config file merge.
I had one major problem, though, connecting to my php based Dokuwiki subsole.org website, which displayed a rather unwelcoming screen after the upgrade:
I was a bit unsure at first, as I thought I would need to fight my way through the nine different config files of the dokuwiki debian package in /etc/dokuwiki
However the issue was not so complicated: as the apache2 php module was disabled, apache2 was outputting the source code of dokuwiki instead of executing it. As you see, I don't php that often.
A simple
a2enmod php7.3
systemctl restart apache2
fixed the issue.
I understood the problem after noticing that a simple phpinfo() would not get executed by the server.
I would have expected the upgrade to automatically enable the new php7.3 module, since the oldstable php7.0 apache module was removed as part of the upgrade, but I am not sure what the Debian policy would recommend here, or if I am missing something else.
If I can reproduce the issue in a upgrade scenario, I'll probably submit a bug to the php package maintainers.
I followed my usual upgrade approach, which involves upgrading a backup of the root FS of the server in a container, to test the upgrade path, followed by a config file merge.
I had one major problem, though, connecting to my php based Dokuwiki subsole.org website, which displayed a rather unwelcoming screen after the upgrade:
I was a bit unsure at first, as I thought I would need to fight my way through the nine different config files of the dokuwiki debian package in /etc/dokuwiki
However the issue was not so complicated: as the apache2 php module was disabled, apache2 was outputting the source code of dokuwiki instead of executing it. As you see, I don't php that often.
A simple
a2enmod php7.3
systemctl restart apache2
fixed the issue.
I understood the problem after noticing that a simple phpinfo() would not get executed by the server.
I would have expected the upgrade to automatically enable the new php7.3 module, since the oldstable php7.0 apache module was removed as part of the upgrade, but I am not sure what the Debian policy would recommend here, or if I am missing something else.
If I can reproduce the issue in a upgrade scenario, I'll probably submit a bug to the php package maintainers.
Saturday, June 8, 2019
PowerShell on Debian
I heard some time ago that Microsoft released their interactive and
scripting language PowerShell under an opensource license (MIT) but I completely missed that they were providing a repository and ready to use packages for your favorite distribution.
Anyway an apt-get away and that's it:
New-Object net.sockets.tcpclient("libera.cc", 80) opens a TCP connection to a target host, a quick way to test if a port is open ( look for Connected: True for a successful socket creation)
scripting language PowerShell under an opensource license (MIT) but I completely missed that they were providing a repository and ready to use packages for your favorite distribution.
Anyway an apt-get away and that's it:
New-Object net.sockets.tcpclient("libera.cc", 80) opens a TCP connection to a target host, a quick way to test if a port is open ( look for Connected: True for a successful socket creation)
Sunday, March 17, 2019
Splitting a large mp3 / flac / ogg by detecting silence gaps
If you have a large audio file coming for instance from a whole music album, the excellent mp3splt can do this for you:
mp3splt -o @n-@f -s my_long_file.mp3
will autodetect the silences, and create a list of tracks based on the large file.
mp3splt is available in the Debian / Ubuntu archive.
mp3splt -o @n-@f -s my_long_file.mp3
will autodetect the silences, and create a list of tracks based on the large file.
mp3splt is available in the Debian / Ubuntu archive.
Subscribe to:
Posts (Atom)