Category: debian

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, raspberrypi

NextCloudPi, a ready to use NextCloud image for Raspberry Pi

I would like to introduce NextCloudPi, ready to use Raspbian 8 image with the latest Nextcloud 12. NextCloudPi is an official NextCloud project as of 05-31-2017. Features: Raspbian 8 Jessie Nextcloud 12.0.2 Apache 2.4.25, with HTTP2 enabled PHP 7.0 (double the speed of PHP5!) MariaDB 10 4.9 Linux Kernel ( NEW 03-13-2017 ) nextcloudpi-config for …

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 …