Category: linux

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

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 …

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 …

linux, networking, nextcloud, nextcloudpi, raspberrypi, security

Let’s Encrypt installer for Apache

This installer provides a really easy way of installing a signed certificate with Let’s Encrypt for an Apache server. Configuration Note that you need to have both ports 80 and 443 accessible for the authentication challenge to work DOMAIN is the URL to access from outside and inside your house. Use the same one you …

linux, networking, nextcloud, nextcloudpi, raspberrypi

dnsmasq as DNS cache server for NextCloudPi and Raspbian

Alright, so you already have your own NextCloudPi server ( or any other similar service ) at home. You also registered for Dynamic DNS with no-ip.org and set it up using the installer from last post. Now you might or might not have another extra problem. You can configure your Android or laptop sync client …

linux, networking, nextcloud, nextcloudpi, raspberrypi

Dynamic DNS for Raspbian with no-ip.org installer

  Imagine you have just set up your own remote service at home. Maybe it is a web server, maybe it is just a SSH server, or maybe is your own private cloud with NextCloudPi. First, you have to forward any ports you are intested in accessing from outside in your modem-router. The next step …