Install Datafari - Community Edition
Valid starting from v6.0
The documentation below is valid from Datafari v5.0 onwards
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 https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/66125825
STEP 0
Requirements - Make sure that : you have all requirements listed in this related documentation : https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/110788634
Download the init script (.sh) for Datafari that can be re-run and will download all the required dependencies : The scripts are mentioned into this page : https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/110788634
Run the script with command:
source init_datafari*.shIf 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.debSTEP 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 : https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/495353895
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. For Community Edition, you need to choose values for IP server, Datafari and PostgreSQL passwords. Others can be left unchanged.
See https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/2649063468 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.shIf you want to index fileshares
If you want to use the jcifs-ng connector in the Datafari ManifoldCF, follow our dedicated documentation: https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/662700036
Valid starting from v5.0
The documentation below is valid from Datafari v5.0 onwards
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 https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/66125825
STEP 0
Requirements - Make sure that : you have all requirements listed in this related documentation : https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/110788634
Download the init script (.sh) for Datafari that can be re-run and will download all the required dependencies : The scripts are mentioned into this page : https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/110788634
Run the script with command:
source init_server_datafari.shIf 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.debSTEP 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 : https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/495353895
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. For Community Edition, you need to choose values for IP server, Datafari and PostgreSQL passwords. Others can be left unchanged.
See https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/2649063468 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.shIf you want to index fileshares
If you want to use the jcifs-ng connector in the Datafari ManifoldCF, follow our dedicated documentation: https://datafari.atlassian.net/wiki/spaces/DATAFARI/pages/662700036