Documentation > Deployment > Environment Setup
The following are instructions on setting up Ubuntu 12.04 to be able to build and run H-Store. Note that H-Store will only build on 64-bit platforms.
H-Store requires the following packages to be installed on your local machine before building:
H-Store will work on either OpenJDK or Oracle’s distribution of Java. It will run on Java 1.6 but we recommend Java 1.7. See these instructions on how to install Oracle’s version of Java.
- Install the required packages with the following commands:
sudo apt-get update sudo apt-get --yes install subversion gcc g++ openjdk-7-jdk valgrind ant
- In order to run H-Store, your machine needs to have OpenSSH enabled and you must be allowed to login to localhost without a password:
sudo apt-get --yes install openssh-server ssh-keygen -t dsa # Do not enter in a password cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
Execute this simple test to make sure everything is setup properly:
ssh -o StrictHostKeyChecking=no localhost "date"
You should see the date printed without having to put in a password. If this fails, then check your permissions in ~/.ssh/ directory.