Step 1
How did I install Oracle Java 13 for Elasticsearch 6.8 to Debian 10?
Step 2
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
elastic.co/guide/en/elasticsearch/reference/6.8/deb.html#deb-key
Step 3
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | tee -a /etc/apt/sources.list
elastic.co/guide/en/elasticsearch/reference/6.8/deb.html#deb-repo
Step 4
aptitude update
aptitude install elasticsearch
elastic.co/guide/en/elasticsearch/reference/6.8/deb.html#deb-repo
Step 5
update-rc.d elasticsearch defaults 95 10
elastic.co/guide/en/elasticsearch/reference/6.8/deb.html#deb-running-init
Step 6
Enable Elasticsearch for Magento:
bin/magento config:set catalog/search/engine elasticsearch6
bin/magento cache:clean