The OrientDB Server is a Java application that manages database operations, retrieval and storage. The shell script
server provides a convenient command-line interface to use in configuring and launching the OrientDB Server.
OrientDB provides a
server.sh shell script for starting the server on Linux operating systems and a
server.bat batch file for starting it on Windows.
OrientDB manages most of its configuration options through various XML configuration files. However, there are a handful of environmental variables that it utilizes when starting the Server. When the script runs, it check these variables to determine whether any value has been set on them. In the event that it finds none, it instead sets a sensible default value.
On Linux, you can set the environmental variable using the
$ export ORIENTDB_HOME=/opt/orientdb/3.2.24/
The following environmental variables are used by
|XML configuration file for the server|
|Path to Java home directory, used when you have multiple installations of Java available on the host|
|current working directory||OrientDB installation directory|
|Path to Java properties file you want to use|
|Memory options, defaults to 2GB of heap|
|Path to the process id (|
|Default settings for OrientDB|
|Path to web resources, defaults to the interface to launch OrientDB Studio|
server.sh script also accepts argument. If one of the arguments is
debug, the script enables the following Java options
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044. Any additional arguments are passed directly to the