- vagrant
- Virtualbox
Clone this repository
$ git clone git@github.com:Asquera/search-dev-environment.git
Then run
$ vagrant up
Log in to the vm:
$ vagrant ssh
By default, Elasticsearch accepts connections on localhost only. In order to be able to access it via the host's ip address, you need to edit the configuration file:
$ sudo vim /etc/elasticsearch/elasticsearch.yml
Then edit the line with network_host
:
network_host: 0.0.0.0
Save and close the file. After you've done this, restart the service:
$ sudo service elasticsearch restart