Installation automation for both Ubuntu and OS X environments.

oh .. I see that we're in the `Ubuntu` branch of the script here. `HOSTNAME` is set by the host (default in all bashes), the IP has to be the the host IP.