Linux · Raspberry Pi · Server

Easily create a NAS with a Raspberry Pi or another ARM computer


As of writing in October 2018, there is a price sweet spot for 200GB microSD cards that retail for $44USD. Combined with a Raspberry Pi, they allow the build of a relatively affordable, low powered NAS with a decent storage capacity for a home network -- all without the need for external drives, extra cables,… Continue reading Easily create a NAS with a Raspberry Pi or another ARM computer

Advertisements
Linux · Server

Way too slow sudo


I recently suffered an unusual issue in the Linux terminal. Any commands prefixed with sudo would take 10 to sometimes 15 seconds to execute, while all other bash and terminal commands would operate at speed. Initially, I thought the issue was related to a Ubuntu Server install running in VMware Fusion on a low powered… Continue reading Way too slow sudo

Server

Assignment to read-only properties is not allowed in strict mode


Using JavaScript to apply CSS to Internet Explorer/Edge returns 'Assignment to read-only properties is not allowed in strict mode' I encountered a silly mistake on my behalf the other day when programming some JavaScript DOM. This simple JS code to apply a style to an HTML element works fine in Chrome and Firefox. But breaks in Microsoft's… Continue reading Assignment to read-only properties is not allowed in strict mode

Server

Turn a Raspberry Pi into an always on, BitTorrent client with Snappy Ubuntu Core


Update, August 2016 This guide is for the late-2015's release of Ubuntu Core for Raspberry Pi 2 that is based Ubuntu 15.04. Canonical has since made that release redundant with their newer Ubuntu Classic for Raspberry Pi 2 which is based on Ubuntu 16.04. Unfortunately the instructions below do not work with Ubuntu Classic. Introduction… Continue reading Turn a Raspberry Pi into an always on, BitTorrent client with Snappy Ubuntu Core

nginx · Server · Tomcat

Nginx as a Reverse-Proxy to Apache Tomcat


Why a Proxy? Apache's Tomcat is a complex beast whose primary role is to render JavaServer Pages. While it can be configured to use and serve the modern web it's often an unnecessarily complex procedure. By using a dedicated reverse-proxy server such as nginx it allows you to separate web applications from the task of web serving. Use a Solo Instance of… Continue reading Nginx as a Reverse-Proxy to Apache Tomcat