...
Code Block |
---|
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 |
---|
language | bash |
---|
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:
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 |
---|
|
source /etc/environment |
Anchor |
---|
| elasticsearch |
---|
| elasticsearch |
---|
|
4. Elasticsearch and Kibana
Installing Elasticsearch 7.4.2 and Kibana 7.4.2, requires executing the following commands:
Code Block |
---|
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.4.2-amd64.deb |
...
sudo dpkg -i elasticsearch-7.4.2-amd64.deb |
...