Compare commits

..

No commits in common. "f6d2f4a78246c03ad6cb9c76f604974a9a6b8fa6" and "8e69a717b5c888f5fe9a8147ca258b8337da2a76" have entirely different histories.

2 changed files with 27 additions and 29 deletions

View File

@ -20,14 +20,12 @@ $STD apt-get install -y \
sudo \
gpg \
wget \
nginx \
apt-transport-https \
gnupg
nginx
msg_ok "Installed Dependencies"
msg_info "Setting up Elasticsearch"
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list >/dev/null
echo "deb [signed-by=/etc/apt/trusted.gpg.d/elasticsearch.gpg] https://artifacts.elastic.co/packages/7.x/apt stable main"| tee -a /etc/apt/sources.list.d/elastic-7.x.list
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
$STD apt-get update
$STD apt-get -y install elasticsearch
echo "-Xms2g" >> /etc/elasticsearch/jvm.options