Ubuntu/Debian Standalone Requirements¶
Java 1.8¶
sudo apt update
sudo apt install openjdk-8-jdk
# Ensure java points to a jdk verion, higher than 8 :
java -version
#> openjdk version "1.8.0_265"
#> OpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~20.04-b01)
#> OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
curl, jq and unzip¶
sudo apt update
sudo apt install curl unzip jq
Python 3 environment¶
sudo apt update
sudo apt install python3.6
sudo apt install python3-distutils
# Ensure 'python' exists, if not execute this command :
# sudo ln -sf /usr/bin/python3 /usr/bin/python
We recommend however to use Pyenv to manage different version of Python. Check our Pyenv instructions to make sure you have a clean and proper installation.
availability of en_US locale¶
Ensure locale en_US is available on the system
localectl list-locales
#> C.UTF-8
#> en_AG.UTF-8
#> en_AU.UTF-8
#> ...
#> en_US.UTF-8
sudo locale-gen “en_US.UTF-8”
sudo dpkg-reconfigure locales
/tmp mount options for Storm and Elastic¶
This partition must not be mounted with -noexec option. If Storm or Elastic reports errors, please check your mount options. To remount /tmp with correct option :
sudo mount /tmp -o remount,exec
Note that on production platforms, similar requirements exist on Storm/Elastic data partitions (not necessarily /tmp, for security reasons)