Valid starting from v5.0
The documentation below is valid from Datafari v5.0 onwards
STEP 0
Requirements - Make sure that : you have all requirements listed in this related documentation : Software requirements
Download this init script (.sh) for Datafari that can be re-run and will download all the required dependencies : The scripts are attached to this page https://datafari.atlassian.net/wiki/pages/viewpageattachments.action?pageId=110788634
Run the script with command:
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:
wget https://www.datafari.com/files/debian/datafari.deb
STEP 2
To install Datafari you need to be root (enter “sudo -i” + <enter> before the command line below if you have signed in with another user) and run:
dpkg -i datafari.deb |
You can adjust the amount of RAM for each component before initializing Datafari, see here : Adjust components RAM consumption
Initialize Datafari (needs root account) :
cd /opt/datafari/bin bash init-datafari.sh |
Interaction questions are asked during initialization. Default value is within square brackets. 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) :
cd /opt/datafari/bin bash start-datafari.sh
If you want to index fileshares
If you want to use the jcifs-ng connector in the Datafari ManifoldCF, follow our dedicated documentation: Add the JCIFS-NG Connector to Datafari - Community Edition