Skip to content

Commit 4cb0f46

Browse files
committed
Try different approach
1 parent 3b25d6a commit 4cb0f46

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
if [ $ES_VERSION ]
22
then
33
sudo apt-get purge -y elasticsearch
4-
curl -O https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.deb
5-
sudo apt-get install elasticsearch-${ES_VERSION}.deb
6-
sudo systemctl status elasticsearch.service
7-
sudo service elasticsearch restart &
8-
sleep 10
9-
sudo systemctl status elasticsearch.service -l
4+
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
5+
tar -xzf elasticsearch-${ES_VERSION}.tar.gz
6+
./elasticsearch-${ES_VERSION}/bin/plugin -install elasticsearch/elasticsearch-analysis-icu/2.3.0
7+
./elasticsearch-${ES_VERSION}/bin/elasticsearch &
108
fi

0 commit comments

Comments
 (0)