Step by step guide on how to setup OpenHAB 1.7.1 on Ubuntu LTS

A bit late, but there is a post on the forum linked to an article about installing OpenHAB on a Pi: