Prepare Database
Prev | Chapter 9. Manual Installation in Console Mode | Next

## Prepare Database

Normally the database is prepared for you during the installation process. Now you are on your own. As in section above we prepare your first installation to run with the Derby database. Creating and preparing the Derby database is actually quite easy if you use a helper script: ./scripts/db-create-derby.sh. The file might not be in your scripts/ directory if you have an earlier version of the package. Simply download it from the link provided if it is missing and put it in the scripts/ directory and execute it with the database location as the parameter:

     $ ./scripts/db-create-derby.sh /var/lib/tigase/derby

There will be lots of output but if there is no error at the end of the output it means your database has been created and it is ready to use and you are ready to…​.

There might be filesystem access restrictions for the directory: /var/lib/ and you might want/need to select a different location.

Prev | Up | Next
Prepare Configuration | Home | Start the Server