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 is …
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 …
NextCloudPi Fail2Ban installer
This is just a little script that installs and configures Fail2Ban to work with NextCloud. Fail2Ban will monitor your personal cloud for brute force attacks and block the IP after a number of bad login attempts. Features SSH jail Nextcloud login jail 6 bad login attempts will block the IP for 10 minutes by default. …
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 …
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 …
Squeeze disk space on a Debian system
Do you have your root filesystem on a small SSD? are you working on an embedded system, maybe a Raspberry Pi on a 2 GB SD card? Sooner or later we need to have a look at what is chewing up our space. Here is a quick reference. Basic maintenance There is a couple of …
NextCloudPi, a ready to use NextCloud image for Raspberry Pi
IMPORTANT: The contents of this blog post are a detailed explanation of NextCloudPi. However, the main landing page of the project is now nextcloudpi.com and that is the place where information will be kept up to date. I would like to introduce NextCloudPi, ready to use Raspbian 9 image with the latest Nextcloud 13. NextCloudPi …
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 …
Control your Raspberry Pi with your TV remote
This little script will allow you to control your Raspberry Pi using the buttons in your regular TV remote. Usage You can press the following buttons on the remote. OK – launch kodi up – launch browser down – change wallpaper (this is a custom script of mine) left – suspend your desktop computer …
Custom random avatars in WordPress
When someone places a comment in WordPress, the blog tries to identify them by email. The email address is not shown on the comments, but if they happen to have a Gravatar account, their profile picture from that service will be used. If a Gravatar is not found for that email, then a default image …