Versions Compared

Key

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

Info

Valid starting from v5.0

The documentation below is valid from Datafari v5.0 onwards

Info

Want the simplest way to install ? Quick start guide !

If you are here but looking for the simplest way to install Datafari, we recommend you to go instead to Quick Start Guide

STEP 0

Requirements - Make sure that : you have all requirements listed in this related documentation : Software requirements

  • the required packages are installed via apt-get

  • Java 11 (JDK) is installed

  • Java Home variable is setted

  • Python is installed

  • the time and date of the server is uptodate

  • increase the default value of 

  • Open Files Limit

STEP 0

You can download an Download the init script (.sh) for Datafari that can be re-run and will download all the required dependencies : The scripts are attached to mentioned into this page https://datafari.atlassian.net/wiki/pages/viewpageattachments.action?pageId=110788634

...

Run the script with command:

Code Block
source init_server_datafari.sh

If a screen with “Services to restart” appears during initialisation, accept default options and <Ok> :

...

STEP 1

You now need to download datafari. If you are a debian/ubuntu user, here is the command:

...

To install Datafari you need to be root (enter sudo -i “sudo -i” + <enter> before the command line below if you have signed in with another user) and run:

Code Block
dpkg -i datafari.deb
Info

You can adjust the amount of RAM for each component before initializing Datafari, see here : Adjust components RAM consumption

Initialize Datafari (needs root account) :

Code Block
cd /opt/datafari/bin
 
bash init-datafari.sh
Info

Interaction questions are asked during initialization. Default value is within square brackets. For Community Edition, you need to choose values for IP server, Datafari and PostgreSQL passwords. Others can be left unchanged.

See Configuration file datafari.properties for more details.

You can also automatize the installation and avoid to answer interactive questions by fulfiling the file /opt/datafari/conf/datafari.properties file prior to launch the script.

The script will ask you to start Datafari at the end. If you answered no and you want to start it (needs root account or account must be in sudo group) :

...