view content/getting-started/content.html @ 47:f2f400e1c617

Move requirements section into getting started section on getting-started page.
author Jie Kang <jkang@redhat.com>
date Mon, 31 Oct 2016 16:39:34 -0400
parents 8de0821725f4
children db4b9a882d05
line wrap: on
line source

<div class="panel panel-default">
  <div class="panel-heading">
    <h1 class="panel-title" id="getting-started">Getting Started</h1>
  </div>
  <div class="panel-body">
    <div class="panel panel-default">
      <div class="panel-heading">
        <h2 class="panel-title">Requirements</h2>
      </div>
      <div class="panel-body">
        <h4>
          <ul>
            <li>Linux (Fedora, RHEL, CentOS, etc.)</li>
            <li>OpenJDK &gt;= 1.7</li>
            <li>Mongodb &gt;= 2.2 (or 2.0 if no SSL required)</li>
            <li>Servlet container (optional)</li>
          </ul>
        </h4>
      </div>
    </div>

    <div class="panel panel-default">
      <div class="panel-heading">
        <h2 class="panel-title">Installation</h2>
      </div>
      <div class="panel-body">
        <h4> There are a few options for getting Thermostat on your machine.</h4>
        <div class="col-md-4">
          <h4> Install it on Fedora: </h4>
          <p><code>
                $ sudo dnf install thermostat
              </code></p>
        </div>
        <div class="col-md-4">
          <h4> Get the latest <a href="../downloads">Download</a>.</h4>
          <p><code>
                $ tar xvf thermostat-1.6.4.tar.gz
              </code></p>
          <p><code>
                $ cd thermostat-1.6.4 && mvn clean integration-test
              </code></p>
          <p><code>
                $ export PATH=$PATH:path/to/thermostat-1.6.4/distribution/target/image/bin
              </code></p>
        </div>
        <div class="col-md-4">
          <h4> Compile from Mercurial source: </h4>
          <p><code>
                  $ sudo dnf install mercurial maven mongodb mongodb-server java-1.8.0-openjdk libsecret-devel make gcc gtk2-devel autoconf automake libtool
              </code></p>
          <p><code>
                  $  hg clone http://icedtea.classpath.org/hg/thermostat
              </code></p>
          <p><code>
                  $  cd thermostat && mvn clean integration-test
              </code></p>
          <p><code>
                $ export PATH=$PATH:path/to/thermostat/distribution/target/image/bin
              </code></p>
        </div>
      </div>
    </div>

    <div class="panel panel-default">
      <div class="panel-heading">
        <h2 class="panel-title">Running Thermostat</h2>
      </div>
      <div class="panel-body">
        <h4>To make sure the installation is correct, first run:</h4>
        <code>$ thermostat --version</code>
        <h4>It should output, depending on the version, something like:</h4>
        <code>Thermostat version 1.99.12</code>
        <h4>
          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.
        </h4>
        <h4>Next we run locally by:</h4>
        <code>$ thermostat local</code>
        <h4>
          This starts the Agent (monitors jvms), the Web-Storage (stores data) and the GUI (displays data) all on your local machine.
        </h4>
        <h4 style="margin-top: 3em;">For a distributed setup over multiple machines and more information, see the <a href="../documentation">Documentation</a>.</h4>
      </div>
    </div>

  </div>
</div>