Chapter 2. Installing VoltDB

VoltDB is available as both pre-built distributions and as source code. The following sections explain how to obtain and install the VoltDB software depending upon your specific configuration and requirements:

  • Section 2.1 describes the operating system and software requirements for developing and running VoltDB applications.

  • Section 2.2 explains how to install VoltDB from the distribution kit.

  • Section 2.2.1 explains how to update an existing VoltDB installation.

  • Section 2.2.2 explains how to do a system-wide installation on Ubuntu and other Debian-based Linux systems.

  • Section 2.2.3 explains how to build a distribution kit from the VoltDB source code.

2.1. Operating System and Software Requirements

The following are the requirements for developing and running VoltDB applications.

Table 2.1. Operating System and Software Requirements

Operating System

VoltDB requires a 64-bit Linux-based operating system. Kits are built and qualified on the following platforms:

  • CentOS version 5.8 or later and 6.3 or later

  • Red Hat (RHEL) version 5.8 or later and 6.3 or later

  • Ubuntu versions 10.4 and 12.4

Development builds are also available for Macintosh OSX 10.6 and later1.
CPU
  • Dual core2 x86_64 processor

  • 64 bit

  • 1.6 GHz

Memory4 Gbytes3
Java

Sun JDK 6 update 21 or later

Required Software

NTP4

Python 2.4 or later release of 2.x

Recommended Software

Eclipse 3.x (or other Java IDE)

Footnotes:

  1. CentOS 5.8 and 6.3, RHEL 5.8 and 6.3, and Ubuntu 10.4 and 12.4 are the only officially supported operating systems for VoltDB. However, VoltDB is tested on several other POSIX-compliant and Linux-based 64-bit operating systems, including Macintosh OSX 10.6.

  2. Dual core processors are a minimum requirement. Four or eight physical cores are recommended for optimal performance.

  3. Memory requirements are very specific to the storage needs of the application and the number of nodes in the cluster. However, 4 Gigabytes should be considered a minimum configuration.

  4. NTP minimizes time differences between nodes in a database cluster, which is critical for VoltDB. All nodes of the cluster should be configured to synchronize against the same NTP server. Using a single local NTP server is recommended, but not required.