spzala 0a1568ba38 Redefine respository structure
Change the file structure to make appropriate for stand alone parser.

Change-Id: I6d5259b61b1cd82949262fee4930fa66703ad036
2015-08-25 08:18:39 -07:00

15 lines
432 B
Bash
Executable File

#!/bin/bash
# This script installs java and elasticsearch
apt-get update
apt-get install -y openjdk-7-jre-headless
wget -qO - https://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
echo "deb http://packages.elasticsearch.org/elasticsearch/1.5/debian stable main" | tee -a /etc/apt/sources.list
apt-get update
apt-get install -y elasticsearch
# set up to run as service
update-rc.d elasticsearch defaults 95 10