Elasticsearch installation

Dear Community,

im trying to install elasticsearch on a new environment with this lines on Ubuntu 16.04:

echo “deb https://artifacts.elastic.co/packages/5.x/apt stable main” | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
apt-get update

im getting this error:

type echo in row 1 of the sourcelist is unknown
source cannot be read

is the url outdated as mentioned in zammad guide?

Best regards,
Michael

According to their documentation it should be /yum at the end, but interestingly the reaction when opening the URL within a browser is the same (key not found).

https://www.elastic.co/guide/en/elasticsearch/reference/5.6/rpm.html#rpm-repo

Could you try the stated comments there if this works for you?

https://www.elastic.co/guide/en/elasticsearch/reference/5.6/deb.html#deb-repo

You may need to install the apt-transport-https package on Debian before proceeding:

sudo apt-get install apt-transport-https

However, manual installation should always work:
https://www.elastic.co/guide/en/elasticsearch/reference/5.6/deb.html#install-deb

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.