Search Icon, Magnifying Glass

Marmanold.com

Graduation Cap Heart Question Mark Magnifying Glass

Entries for #debian

Use Localtime in Debian Slim

Sometimes you need to run cron or other applications in your Debian container that rely on the system running in localtime. In Debian 9, switching to localtime wasn’t the easiest thing in the world. With Debian 10, however, you can switch your container to another timezone with just a few commands. First you need to install tzdata. RUN apt-get install tzdata -y Then you need to make a link between the timezone you want to move to in /usr/share/zoneinfo and /etc/localtime. Read more...

Posted: Fri, Nov 22, 2019, Words: ~200, Reading Time: 1 min

Cron in Docker with Debian Slim

Recently, I needed to get cron working inside a Docker container running Debian Slim. It’s not difficult once you figure it out, but it did take a bit of research and learning to get everything to work. First off, Debian Slim is real slim. There’s no cron nor is there a syslog when you want to debug things. Add apt-get install cron and rsyslog in your Dockerfile before you start anything else. Read more...

Posted: Wed, Jan 23, 2019, Words: ~600, Reading Time: 3 min

My WSL Perl Development Environment

Recently I bought a little Windows tablet on sale for $60 as a device to play around with Windows 10 on and for — hopefully — testing a future UWP or PWA Windows version of LectServe. I’ll give a review of the NuVision tablet at some point in the future, but after I spent two! days getting Windows updated to the newest release, I quickly enabled the Windows subsystem for Linux and installed Debian. Read more...

Posted: Sat, Mar 24, 2018, Words: ~400, Reading Time: 2 min