Based on this video and guidelines for Java, MongoDB, Elasticsearch and so on
(not yet completed, ended at Graylog running but not configured)
sudo apt-get update && sudo apt-get -y install zsh -- SO YOU DON'T WANT TO DRIVE YOURSELF CRAZY WITH PLAIN CONSOLE
chsh -s /bin/zsh -- to set Zsh as a default console
sudo apt-get update
sudo apt install default-jre