Skip to content
nicholsn edited this page Oct 15, 2014 · 7 revisions

They NIQuery system components can be automatically provisioned to a virtual machine running on your local system or deployed to a remote server, currently just for Ubuntu. Virtual Machines are managed using vagrant and are provisioned with software using docker.

Mac OS X Configuration

$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
$ brew tap phinze/cask
$ brew install brew-cask
$ brew cask install virtualbox
  • Install vagrant cli for managing virtualbox
$ brew cask install vagrant

Next we will be adding our deploy tool, called Panamax

brew install http://download.panamax.io/installer/brew/panamax.rb
panamax init

When Panamax finishes running it will deploy at http://localhost:3000, where you will be able to load the NiQuery template and deploy the whole NiQuery infrastructure.

Well close... we do need to update the virtualbox config to open a few ports. You'll need to map the following ports in ~/.panamax/Vagrantfile:

  config.vm.network "forwarded_port", guest: 8890, host: 8890 # Virtuoso
  config.vm.network "forwarded_port", guest: 5555, host: 5555 # Flower
  config.vm.network "forwarded_port", guest: 5000, host: 5000 # NiQuery

Also increase the memory and cpu to whatever you have available in ~/.panamax/.env

export PMX_VM_MEMORY=12288
export PMX_VM_CPUS=4

Then,

panamax restart

Clone this wiki locally