Category: linux

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 …

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 …

linux, networking, shell

Easy passwordless SSH with sshh

This little wrapper for SSH and SCP allows for comfortable management and scripting. It is specifically recommended for developing and testing embedded systems and virtual machines¬† before production, where strong security is not required. Usage Use sshh and scpp exactly as you would use ssh and scp. Instalation Easy install! Paste on your zsh terminal …

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 …