Category: debian

ARM, debian, docker, linux

Building Armbian images faster using Docker

The people at the Armbian team have been doing an impressive work at optimizing and generating Debian images for many ARM boards. While they have documentation on the build process, it focuses mostly on setting up a build environment on VirtualBox with Vagrant. They do support building in a Docker environment, but I found the …

C, debian, docker, linux, programming

Debian build environment in a docker container

Last post, I shared a docker container for compilation in C with ccache and colorgcc included. This time, we will extend that base container for development and packaging of Debian packages. Not only it is handy to have the environment configured and packaged, but also opens some oportunities for optimization given the nature of docker, …

debian, linux, raspberrypi, shell

Customize your MOTD login message in Debian and Ubuntu

This is a little guide to display dynamic login messages on a Debian system. This is one of those things where the internet has plenty of resources, but they are mostly outdated and contradictory. Even typing man motd in Debian is a sad experience. It is not a difficult thing to do but it can be …

debian, linux, nextcloud, raspberrypi, security

Automatic security updates on a Debian system

Computer security is an issue of paramount importance. More even so whenever we are running services exposed to the internet. Much more even so when those services can compromise sensitive data. The first piece of advice you will always get is “keep your system up to date with the latest security patches”, and my favourite …

debian, linux, raspberrypi

Generic software installer for Raspbian

I wrote this little tool to facilitate the installation of software for my NextCloudPi, but it can be used for any Raspbian installation. With this, I can automate the process of installing new services to my running Raspberry Pis through SSH adding new services to my Raspbian images and generating an image that can be …

debian, docker, linux

Creating a minimal Debian container for Docker

In the last post, we introduced some basic techniques to free up unused space on a Debian system. Following those steps, I created a Debian 8 Docker image that takes only 56.7 MB! Usage You can get it typing the following, but you really don’t need to because docker run  pulls the image for you if …

debian, linux, networking, nextcloud, nextcloudpi, raspberrypi

NextCloudPi, a ready to use NextCloud image for Raspberry Pi

I would like to introduce NextCloudPi, ready to use Raspbian 9 image with the latest Nextcloud 12. NextCloudPi is now also available for the Raspberry Pi as an ARM or x86 docker container ( NEW 06-08-2017 ) NextCloudPi can now also be installed on any Debian 9 system ( NEW 11-12-2017 ) NextCloudPi can also …

debian, linux, networking, qemu, raspberrypi

Raspbian on QEMU with network access

This is a little guide to emulate the Raspbian operating system for ARM on QEMU with network connectivity. I found most resources on this outdated, relying on broken links, and lacking the steps for network access, so I reviewed them and streamlined the process. Long story short If you haven’t yet, install QEMU on your …