I have been following the steps for installation of Elasticsearch as given.
However, when using apt-get to install a specific version of Elasticsearch, it gives an error.
- wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch |
sudo apt-key add -
- sudo apt-get install apt-transport-https
- echo "deb https://artifacts.elastic.co/packages/5.x/apt
stable main" |
sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list
Now let's say I need to install Elasticsearch 5.1.1 then using the following command:
- sudo apt-get update && sudo apt-get install elasticsearch=5.1.1
It gives an error that not found.