Skip to content

Install: OrientDB for state models

Fernando Pastor edited this page Jan 23, 2025 · 1 revision

Install OrientDB

Warning: TESTAR requires the use of OrientDB versions 3.0.X

You can find the OrientDB Community Edition versions to download from:
https://repo1.maven.org/maven2/com/orientechnologies/orientdb-community/

You will need to create a database with user and password credentials.
The following subsections provide two options for setting up the database:

Option 1: Use a configured TESTAR OrientDB

The TESTAR team distributes a pre-configured OrientDB database. This distribution contains a database with the following TESTAR configuration:

Database name: testar
Username: testar
Password: testar

You can download the configured database from the following URL:
https://testar.org/images/development/experiments/orientdb_testar_db.zip

Option 2: Configure the database yourself

  1. Extract all OrientDB files into the desired directory.

  2. Execute the following command depending on your system:

Windows: orientdb-3.0.X\bin\server.bat
Unix: orientdb-3.0.X\bin\server.sh

  1. The OrientDB server will start running on your system. During the first execution, you will need to create superuser credentials in the command prompt that opens.

  2. Use your browser to access http://localhost:2480/.

  3. Use the NEW DB button and the superuser credentials to create a new database.

orientdb-create-db
  1. Click on the Security tab and then the ADD USER button to create a new user with access to the database. For basic experimentation, we recommend using:

Username: testar
Password: testar
Status: Active

orientdb-create-credentials

After completing these configuration steps, you can go to the running OrientDB command prompt and press Control + C to stop the execution.

Clone this wiki locally