Bash script to install elasticsearch + dependencies