CMDBuild Forum

Linux 1st inastall: where is demo config file

All.
1st time trying to install CMDBuild.
Using CLI (finally) successfully installed the basic installation (section 3.4).
I’m in section “3.7. CMDBuild manual database configuration for Linux” but do not know where to find or how to create the DB config file for the command example:

bash webapps/cmdbuild/cmdbuild.sh dbconfig create demo -configfile **/path/to/configfile**

Example of config file - cmdbuild.war/WEB-INF/conf/database.conf_example.
Copy it to TOMCAT_HOME/conf/cmdbuild/database.conf

See cmdbuild.war/WEB-INF/conf/README.txt

Tx.
The script cmdbuild.sh gives an error: update-java-alternatives undefined
What sets that env variable?