In this case I strongly recommend to use openHABian:
http://docs.openhab.org/installation/openhabian.html