Category: Linux

  • Recipe for a Raspberry Pi Kiosk

    Recipe for a Raspberry Pi Kiosk

    I recently set up a Raspberry Pi as Chromium Kiosk so I could display a webpage on a wall mounted TV screen. I have written what I did in an easy to follow recipe format. If you follow configuration steps carefully you should be successful in setting up your Raspberry pi to work as a […]

  • Google Compute Engine Snapshot automation

    Google Compute Engine comes with an incremental snapshot capability. The product doesn’t have a specific automated method to take snapshots and to tidy them up either, but scripting using the gcloud command line is fairly straight forward, once you understand the power of the command line. I have seen many attempts at automating this using […]

  • Using GIT to deploy scripts to production servers

    This is how I use GIT to deploy script configurations to multiple servers. In this instance I have fail2ban  configuration that I want to be able to deploy to multiple servers easily & quickly I assume you are root – otherwise prefix commands with sudo as appropriate I also assume that you have remote root […]

  • Sailwave and sending files by SCP or SFTP

    Sailwave is a windows based application that manages scoring and results for sail races and series See http://www.sailwave.com/ Sailwave comes with many different ways to ‘publish’ results, including FTP’ing the html results files to a server. Whilst there are many ways to achieve the desired results, the situation arose that my server no longer supported FTP […]

  • 5 minute guide to setup process monitoring with MONIT on Linux

    If you are running a VPS, for a production server, it is very useful to have a process that monitors, and restarts if failed, and notifies you of key processes, like apache, mysql, postfix & ssh. Monit is a free open source tool that does the job. Took me a little while to get my […]

  • Adding Swap to Google Compute Engine

    By default Google Compute Engine (Debian) doesn’t come with any swap space.  If you have periodic programs that eat a bit more memory (like my backups do) then instead on just adding more physical memory you can add a swap file. Swaps files are much slower than physical memory, so should be avoided except when […]