Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing PostgreSQL from a package manager requires using the following commands:

Code Block
languagebash
sudo apt-get install -y postgresql postgresql-contrib

By default, PostgreSQL is configured to listen on localhost. We suggest that this default configuration is not modified.

...

Installing the OpenJDK 8 in Debian 10 requires using the AdoptOpenJDK repository. The required commands are the following:

Code Block
languagebash
sudo apt update

...


sudo apt install -y apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common

...


wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -

...


sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/

...


sudo apt update

...


sudo apt install -y adoptopenjdk-8-hotspot

Java installation can be verified with the following command:

Code Block
languagebash
java -version

Setting the JAVA_HOME variable requires (i) finding the installed Java alternatives using the following command "sudo update-alternatives --config java" and (ii) modifying the /etc/environment configuration file based on the output of the previous command. For the adoptojdk-8-hotspot, JAVA_HOME requires the following value:

...

Changes are applied with the following command:

Code Block
languagebash
source /etc/environment

Anchor
elasticsearch
elasticsearch
4. Elasticsearch and Kibana

...