Elasticsearch (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
 
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 4: Zeile 4:
== Installation ==
== Installation ==


Öffentlichen signierten Schlüssel herunterladen und installieren:
=== Raspbian (ARM-Prozessor) ===


<pre>
Zuerst das Paket <code>apt-transport-https</code> installieren:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
</pre>
 
Paket <code>apt-transport-https</code> installieren:


<pre>
<pre>
Zeile 16: Zeile 12:
</pre>
</pre>


Repository-Definition nach </code>/etc/apt/sources.list.d/elastic-5.x.list</code> speichern:
Auf [https://www.elastic.co/de/downloads/elasticsearch-no-jdk https://www.elastic.co/de/downloads/elasticsearch-no-jdk] die aktuelle Version suchen und herunterladen:


<pre>
<pre>
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.12.1-no-jdk-amd64.deb
</pre>
</pre>
Da bei den Standardpaketen JDK dabei ist und diese Plattformabhängig ist, muss die version mit <code>-no-jdk</code> verwendet werden.


<pre>
<pre>
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.12.1-no-jdk-amd64.deb
sudo dpkg -i elasticsearch-7.12.1-no-jdk-amd64.deb
</pre>
</pre>


{{note|Es kommt noch eine Fehlermeldung "package architecture (amd64) does not match system (armhf)" beim Installieren.}}


== Docker ==
== Docker ==
Zeile 36: Zeile 35:


[https://www.elastic.co/de/downloads/elasticsearch https://www.elastic.co/de/downloads/elasticsearch]
[https://www.elastic.co/de/downloads/elasticsearch https://www.elastic.co/de/downloads/elasticsearch]
[https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html]
[https://discuss.elastic.co/t/elasticsearch-7-x-support-for-arm64-raspberry-pi-4-b/187976 https://discuss.elastic.co/t/elasticsearch-7-x-support-for-arm64-raspberry-pi-4-b/187976]


[https://www.raspberrypi.org/forums/viewtopic.php?t=268432 https://www.raspberrypi.org/forums/viewtopic.php?t=268432]
[https://www.raspberrypi.org/forums/viewtopic.php?t=268432 https://www.raspberrypi.org/forums/viewtopic.php?t=268432]

Aktuelle Version vom 23. Mai 2021, 11:20 Uhr

Noch in Bearbeitung


Installation

Raspbian (ARM-Prozessor)

Zuerst das Paket apt-transport-https installieren:

sudo apt-get update && sudo apt-get install apt-transport-https

Auf https://www.elastic.co/de/downloads/elasticsearch-no-jdk die aktuelle Version suchen und herunterladen:

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.12.1-no-jdk-amd64.deb

Da bei den Standardpaketen JDK dabei ist und diese Plattformabhängig ist, muss die version mit -no-jdk verwendet werden.

sudo dpkg -i elasticsearch-7.12.1-no-jdk-amd64.deb

Es kommt noch eine Fehlermeldung "package architecture (amd64) does not match system (armhf)" beim Installieren.

Docker

Noch nicht getestet

https://hub.docker.com/r/dimdm/elasticsearch/tags?page=1&ordering=last_updated

Links

https://www.elastic.co/de/downloads/elasticsearch

https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html

https://discuss.elastic.co/t/elasticsearch-7-x-support-for-arm64-raspberry-pi-4-b/187976

https://www.raspberrypi.org/forums/viewtopic.php?t=268432


Zurück zu Ubuntu