Requirements

  • Linux (Fedora, RHEL, CentOS, etc.)
  • OpenJDK >= 1.7
  • Mongodb >= 2.2 (or 2.0 if no SSL required)
  • Servlet container (optional)

Getting Started

Installation

There are a few options for getting Thermostat on your machine.

Install it on Fedora:

$ sudo dnf install thermostat

Get the latest Release.

$ tar xvf thermostat-1.6.6.tar.gz

$ sudo dnf install mercurial maven mongodb mongodb-server java-1.8.0-openjdk libsecret-devel make gcc gtk2-devel autoconf automake libtool

$ cd thermostat-1.6.6 && mvn clean integration-test

$ export PATH=$PATH:path/to/thermostat-1.6.6/distribution/target/image/bin

Compile from Mercurial source:

$ sudo dnf install mercurial maven mongodb mongodb-server java-1.8.0-openjdk libsecret-devel make gcc gtk2-devel autoconf automake libtool

$ hg clone http://icedtea.classpath.org/hg/thermostat

$ cd thermostat && mvn clean integration-test

$ export PATH=$PATH:path/to/thermostat/distribution/target/image/bin

Running Thermostat

To make sure the installation is correct, first run:

$ thermostat --version

It should output, depending on the version, something like:

Thermostat version 1.99.12

If there are errors, it is likely that the PATH has not been correctly set to include the Thermostat bin folder. See the installation instructions for setting the path to Thermostat.

Next we run locally by:

$ thermostat local

This starts the Agent (monitors jvms), the Web-Storage (stores data) and the GUI (displays data) all on your local machine.

For a distributed setup over multiple machines and more information, see the Documentation.