Mettre à jour 'elastic/elastic_install.sh'

This commit is contained in:
Iwan Clément
2018-02-19 18:47:27 +00:00
parent 4d531bc8a0
commit 1c3e21228a

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