A simple Vagrant script for setting up a Neo4j VM.

Vagrant Neo4j

A vagrant configuration to run Neo4j in a VirtualBox.

The setup script is a simple bash shell script (no chef/puppet/etc). I wanted a simple, lightweight, and standalone script to build my environment, but it may not be appropriate for everyone's needs.

Running vagrant up will download and install:

  • Ubuntu 12.04 LTS (Base Box) precise64

  • Oracle Java JRE 1.7.0u45

By downloading Java you acknowledge that you have read and accepted the terms of the end user license agreement

  • Neo4j Community Edition 2.2.5

(A)GPLv3 License
Port 7474 is forwarded from the host to the guest for accessing Neo4j from the host machine.

If you would prefer to install using npm:

npm install vagrant-neo4j

The above requirements still must be installed separately.

npm start and npm stop are aliases of vagrant up and vagrant destroy -f respectively. Though, this is true whether installed via npm or not.

If you are using Windows 8.1, make sure to you are using VirtualBox 4.3.2 or later. There were compatibility problems in older versions which caused BSOD.