|
@@ -16,7 +16,7 @@ include::key.asciidoc[]
|
|
|
|
|
|
[source,sh]
|
|
|
-------------------------
|
|
|
-wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
|
|
|
+wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
|
|
|
-------------------------
|
|
|
|
|
|
[[deb-repo]]
|
|
@@ -29,11 +29,11 @@ You may need to install the `apt-transport-https` package on Debian before proce
|
|
|
sudo apt-get install apt-transport-https
|
|
|
--------------------------------------------------
|
|
|
|
|
|
-Save the repository definition to +/etc/apt/sources.list.d/elasticsearch-{major-version}.list+:
|
|
|
+Save the repository definition to +/etc/apt/sources.list.d/elastic-{major-version}.list+:
|
|
|
|
|
|
["source","sh",subs="attributes,callouts"]
|
|
|
--------------------------------------------------
|
|
|
-echo "deb https://packages.elastic.co/elasticsearch/{major-version}/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-{major-version}.list
|
|
|
+echo "deb https://artifacts.elastic.co/packages/{major-version}.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-{major-version}.list
|
|
|
--------------------------------------------------
|
|
|
|
|
|
[WARNING]
|
|
@@ -63,7 +63,7 @@ If two entries exist for the same Elasticsearch repository, you will see an erro
|
|
|
|
|
|
["literal",subs="attributes,callouts"]
|
|
|
|
|
|
-Duplicate sources.list entry https://packages.elastic.co/elasticsearch/{major-version}/debian/ ...`
|
|
|
+Duplicate sources.list entry https://artifacts.elastic.co/packages/{major-version}.x/apt/ ...`
|
|
|
|
|
|
Examine +/etc/apt/sources.list.d/elasticsearch-{major-version}.list+ for the duplicate entry or locate the duplicate entry amongst the files in `/etc/apt/sources.list.d/` and the `/etc/apt/sources.list` file.
|
|
|
==================================================
|
|
@@ -76,12 +76,12 @@ The Debian package for Elastisearch v{version} can be downloaded from the websit
|
|
|
|
|
|
["source","sh",subs="attributes"]
|
|
|
--------------------------------------------
|
|
|
-wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/{version}/elasticsearch-{version}.deb
|
|
|
+wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{version}.deb
|
|
|
sha1sum elasticsearch-{version}.deb <1>
|
|
|
sudo dpkg -i elasticsearch-{version}.deb
|
|
|
--------------------------------------------
|
|
|
<1> Compare the SHA produced by `sha1sum` or `shasum` with the
|
|
|
- https://download.elastics.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/{version}/elasticsearch-{version}.deb.sha1[published SHA].
|
|
|
+ https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{version}.deb.sha1[published SHA].
|
|
|
|
|
|
include::init-systemd.asciidoc[]
|
|
|
|