Setting up a new Ubuntu Webserver

Posted on Sat 11 November 2017 in Sysadmin • Tagged with Ubuntu, webserver

Here's a collection of links that provide helpful information when you have a brandnew Ubuntu machine with root access and you want to set it up as a webserver:


Continue reading

Setting up a systemd Service under Ubuntu

Posted on Sat 11 November 2017 in Sysadmin • Tagged with Ubuntu, systemd, service

Starting with 15.04, Ubuntu uses systemd instead of Upstart as the default system and service manager. This page offers a good comparison between the two systems.

If you want to add a new systemd service (e.g. for running a Java application everytime your machine boots), create the following …


Continue reading

Redirecting Requests from Apache to Jetty

Posted on Sun 05 November 2017 in Sysadmin • Tagged with Apache, Jetty, Ubuntu, web server, SSL, proxy

Assuming you are running an Apache server with a virtual host for abs.mydomain.com, put this into the virtual host's .conf file to redirect all traffic to a Jetty web server running locally behind your Apache:

<Proxy *>
    Order deny,allow
    Allow from all
</Proxy>

ProxyPass / http://localhost:1234/ retry …

Continue reading

40 Falsehoods Programmers Believe about Names

Posted on Thu 27 July 2017 in General Software Development • Tagged with names, Patrick McKenzie

Patrick McKenzie has never seen a computer system that handles names properly. Sad!


Continue reading

Programming as if the Domain (and Performance) Mattered

Posted on Wed 26 July 2017 in General Software Development • Tagged with Carlo Pescio, performance

A long read by my man Carlo Pescio.


Continue reading

It's not CI, it's just CI Theatre

Posted on Fri 26 May 2017 in General Software Development • Tagged with continuous integration, Suzie Prince, ThoughtWorks

Are you practising CI? Find out by reading this post by Suzie Prince.


Continue reading

The Initializer Pattern in Java

Posted on Sat 18 March 2017 in Design Patterns • Tagged with builder pattern, Heinz Kabutz, initializer, Java

A "type-safe builder pattern in Java".


Continue reading

The Lean Inception

Posted on Thu 16 March 2017 in General Software Development • Tagged with lean inception, Martin Fowler, MVP, Paulo Caroli

I should probably read this series of articles by Paulo Caroli before I try to convince my boss why implementing an MVP is a good idea.


Continue reading

PiBakery

Posted on Thu 09 March 2017 in Sysadmin • Tagged with boinc, headless, PiBakery, raspberry pi, tor, VNC

A great way to configure a Raspberry Pi from scratch is PiBakery. After struggling a while with setting up a VNC server and some other things on a fresh Pi connected only via Ethernet (no display, keyboard, or mouse), finding PiBakery was very helpful.

Here's my configuration:

PiBakery configuration

The long string …


Continue reading

Using your SSL certificate for your Spark web application

Posted on Thu 09 March 2017 in Web Development, Sysadmin • Tagged with encryption, Java, Java keystore, let's encrypt, Spark, SSL

I've fallen in love with Spark recently. Being unexperienced with web development, I stumbled upon Spark when I was looking for a small framework for setting up a simple web application based on Java. My learning curve has been steep and my first website (consisting of nothing but a simple …


Continue reading