forked from orientechnologies/orientdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial: Run the server
lvca edited this page Dec 30, 2012
·
6 revisions
Previous: Tutorial: Installation - Next: Tutorial: Run the console
Once we've got a binary distribution of OrientDB let's start the server by execution the server.sh (or server.bat on Windows) under the bin directory:
> cd bin
> ./server.sh
This is the output of the OrientDB Server's console:
.
.` `
, `:.
`,` ,:`
.,. :,,
.,, ,,,
. .,.::::: ````
,` .::,,,,::.,,,,,,`;; .:
`,. ::,,,,,,,:.,,.` ` .:
,,:,:,,,,,,,,::. ` ` `` .:
,,:.,,,,,,,,,: `::, ,, ::,::` : :,::` ::::
,:,,,,,,,,,,::,: ,, :. : :: : .:
:,,,,,,,,,,:,:: ,, : : : : .:
` :,,,,,,,,,,:,::, ,, .:::::::: : : .:
`,...,,:,,,,,,,,,: .:,. ,, ,, : : .:
.,,,,::,,,,,,,: `: , ,, : ` : : .:
...,::,,,,::.. `: .,, :, : : : .:
,::::,,,. `: ,, ::::: : : .:
,,:` `,,.
,,, .,`
,,. `, S E R V E R
`` `.
``
`
2012-12-28 01:25:46:319 INFO Loading configuration from: config/orientdb-server-config.xml... [OServerConfigurationLoaderXml]
2012-12-28 01:25:46:625 INFO OrientDB Server v1.3.0 (build 43) is starting up... [OServer]
2012-12-28 01:25:47:142 INFO -> Loaded memory database 'temp' [OServer]
2012-12-28 01:25:47:289 INFO Listening binary connections on 0.0.0.0:2424 [OServerNetworkListener]
2012-12-28 01:25:47:290 INFO Listening http connections on 0.0.0.0:2480 [OServerNetworkListener]
2012-12-28 01:25:47:317 INFO OrientDB Server v1.3.0 is active. [OServer]
These log messages explain what happens when a server start up:
- The server configuration is loaded from config/orientdb-server-config.xml file. To know more look at DB Server
- By default a "temp" database is always loaded in memory. This is a volatile database, use it to store temporary information
- Binary connections are listened on port 2424 of all the configured networks (0.0.0.0). If you want to change this configuration edit the config/orientdb-server-config.xml file and change the port/ip
- HTTP connections are listened on port 2480 of all the configured networks (0.0.0.0). Like above if you want to change this configuration edit the config/orientdb-server-config.xml file and change the port/ip.
OrientDB Server listens, by default, on 2 different ports for binary and HTTP connections:
- binary are used by console and clients that use drivers support the Binary protocol
- http are used by Studio web tool, all clients that use drivers support the HTTP/REST protocol and CURL tool
Previous: Tutorial: Installation - Next: Tutorial: Run the console