How did I install Elasticsearch to Debian 9?

debian-9-stretch
elastic-search
debian

(Dmitry Fedyuk) #1

Step 1

Install Java.

Step 2

wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -

Step 3

aptitude install apt-transport-https

Step 4

Add to /etc/apt/sources.list:

deb https://artifacts.elastic.co/packages/6.x/apt stable main

Step 5

aptitude update && aptitude install elasticsearch

Step 6

update-rc.d elasticsearch defaults 95 10
service elasticsearch start

How did I install Elasticsearch to Windows?
(Dmitry Fedyuk) #2

See also: How did I install Elasticsearch to Windows?