Category: linux

btrfs, linux, OYB software, shell

Check disk space of your BTRFS snapshots with btrfs-du

Today I want to share a simple way to check the state of our BTRFS snapshots. Usage

If path is omitted, it will default to / . We can list easily our snapshots, plus have a clear view of how much data they have in common and how much total overhead are we holding. …

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 …

FOSS, linux, security

Sandbox your applications with Firejail

One thing I that like about the Android App security model is that for a given app, it presents the permissions to the user and the user has to accept them. This is good because the user has control over the software it runs, and is an invaluable tool to be able to use an …

linux

Save and restore your Arch Linux packages

Lately, I have been reinstalling Arch from scratch on several machines. When doing so, it is very handy to replicate your packages and that is actually very easy to do with Arch Linux. Create a package list The following command creates a list with your packages, that you can curate and store under private versioning …

C, debian, docker, linux

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

linux, networking, nextcloud, raspberrypi

Different ways to access your Nextcloud files

So, you have your Nextcloud instance up and running, maybe NextCloudPi. You are now in control of your privacy, and you can access your files through the web interface. In this post, we will explore other options to access our files, in order to make the most of our setup. WebDAV WebDAV is an extension …

linux, networking, nextcloud, nextcloudpi, raspberrypi

Share your files in your LAN with SAMBA

In order to complement last post about the NFS remote file system, in this post we will cover SAMBA. The main focus of this series is to document the possibilities of NextCloudPi, but it aims to be a general introduction to the technology. Like NFS, SAMBA provides a remote file system that allows us to …

linux, networking, nextcloud, raspberrypi

Share your files in your LAN with NFS

This post focuses on setting up a NFS server for the NextCloudPi, but attempts to be a general introduction to NFS as most things apply to any setup. The Network File System, or NFS is an ancient remote file system originally developed by Sun Microsystems in 1984. It is a simple way to share a …

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 …