Ajouter 'elastic/elastic-install.sh'

This commit is contained in:
Iwan Clément
2018-02-19 18:31:15 +00:00
parent c2521a6765
commit 1285cba1f1

View File

@@ -0,0 +1,4 @@
#!/bin/bash
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-6.x.list
apt -y update && apt -y install elasticsearch