9 lines
401 B
Text
9 lines
401 B
Text
|
#!/bin/sh
|
||
|
apt install apt-transport-https sudo wget curl gnupg
|
||
|
echo "deb [signed-by=/etc/apt/trusted.gpg.d/elasticsearch.gpg] https://artifacts.elastic.co/packages/7.x/apt stable main"| \
|
||
|
tee /etc/apt/sources.list.d/elastic-7.x.list
|
||
|
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | \
|
||
|
gpg --dearmor | tee /etc/apt/trusted.gpg.d/elasticsearch.gpg> /dev/null
|
||
|
apt update
|
||
|
echo elasticsearch
|