Software requirements
Valid from Datafari 6.0
The documentation below is valid from Datafari v6.0
Looking for hardware requirements ?
We detail here the software requirements for the machines used in your Datafari setup. It may vary based on your setup.
Note that you can EITHER use the script below to install Java and all the requirements dependencies OR install manually Java and the dependencies as explained into the page.
OPTION 1 - USING THE SCRIPT
Download script to install Java and dependencies
You can download an init script (.sh) for Datafari :
Then launch the script with this command :
source init_server_datafari.sh
This script will install Java, all the dependencies needed and will set the open files limit configuration. You have the details of all that the script does by looking at OPTION 2 below.
OPTION 2 - DOING IT MANUALLY (RISKIER)
OS requirements
Debian 12 (Bookworm), or Ubuntu 22.04 (Jammy) Environment 64 bits (a Docker image is available if you are on Windows environment) (available both for Datafari CE or Datafari EE)
CentOS or RedHat 8 or 9 and CentOS Stream 8 or 9 (available only for Datafari EE)
Java requirements
Java version 11 only mandatory installed on your environment (and you need to set the JAVA_HOME variable for all users and have the java executable in the PATH, see the annex below to view how to do it)
Dependences requirements
Depending on your OS, the list is not the same.
For Debian/Ubuntu users :
apt-get install bash curl debconf unzip sudo libc6-dev jq lsof apache2 libapache2-mod-jk iptables iptables-persistent zip iputils-ping systemd procps bc netcat-openbsd -y -q
For Almalinux/CentOS users :
yum install -y jq lsof curl perl-Test-Simple perl-version httpd mod_ssl nano iptables-services nc iputils unzip gcc python3-devel bc
Other requirements
Increase Open Files limit configuration
Change the setting inÂ
/etc/security/limits.conf
 :ÂThen reboot the machine to enable those parameters
Set the locale setting (in the example with fr_FR but can be replaced with your locale) :Â
If you have some errors, see the annex below.
Optional requirements
Optional: You need a user member of the sudo group to start Datafari (or it can be root user)Â :
Optional: Make sure that the machine is always up to date (in particular for the email alerts scheduler), by enabling ntpdate, for example :Â
ANNEXES
Set JAVA_HOME variable
Troubleshooting for setting the locale
If you still have an error like "perl: warning: Setting locale failed."
Do the additionnal steps :
check the sshd configuration :and comment the line :
Then relaunch the sshd service :
Add the locale variables to .bashrc configuration file :
Add the lines :
For PostgreSQL :Â
PostgreSQL needs to have the variables LANG and LC_* set. To check them, launch the command :If LC_ALL and LC_TYPE are not filled, enter this (for English language):
 You can also add the line to /etc/profile then.