Key Value Server Install - aemadrid/orientdb GitHub Wiki
Orient Key/Value Server runs on top of every Operative Systems that supports the Java technology such as:
- Any Linux distribution
- Apple MacOSX
- Microsoft Windows 95, 98, NT, XP, Vista, Seven
- Sun Solaris
- HP-UX
- IBM Aix
Orient Key/Value Server is distributed as ZIP file. You can obtain the latest version in the Download Page. To install it just extract the ZIP archive in a folder on your PC.
The Orient Key/Value Server distribution is composed of the following folders:
Folder | Description |
---|---|
benchmarks | All you need to run some benchmarks |
bin | Scripts to execute Orient commands such as the server and the console |
config | Where resides the configuration files |
databases | Default place where to store databases |
lib | Java libraries |
www | Web site used with static pages and the web console |
If you're using a Unix like Operative System execute always the script called <command>.sh
, otherwise <command>.bat
if you're using a Microsoft Windows operative system.
Now you've installed Orient Key/Value Server in your system try to launch the single-node version by executing the script bin/orient-kv.sh
(or orient-kv.bat
in MS Windows systems). The output should be something like that:
.
.` `
, `:.
`,` ,:`
.,. :,,
.,, ,,,
. .,.::::: ````
,` .::,,,,::.,,,,,,`;; .:
`,. ::,,,,,,,:.,,.` ` .:
,,:,:,,,,,,,,::. ` ` `` .:
,,:.,,,,,,,,,: `::, ,, ::,::` : :,::` ::::
,:,,,,,,,,,,::,: ,, :. : :: : .:
:,,,,,,,,,,:,:: ,, : : : : .:
` :,,,,,,,,,,:,::, ,, .:::::::: : : .:
`,...,,:,,,,,,,,,: .:,. ,, ,, : : .:
.,,,,::,,,,,,,: `: , ,, : ` : : .:
...,::,,,,::.. `: .,, :, : : : .:
,::::,,,. `: ,, ::::: : : .:
,,:` `,,.
,,, .,`
,,. `, K E Y - V A L U E S E R V E R
`` `.
``
`
2010-04-19 08:13:17:499 CONF [OServerNetworkListener] Orient Database Server v0.9.8 is listening connections on 127.0.0.1:8020
This output confirm that the Orient Key/Value Server is started correctly and is listening for connection at localhost address, port 8020. To change this setting goto Configuration.
Now point your web browser to this address: http://localhost:8020
and the welcome page should appears:
Now insert some key and value in the POST form, click on SUBMIT and check that no errors are returned.
Now try to put the same key in the GET form and check if the result is the same entered. The welcome page works on the petshop database loaded by default. To remove it just remove the entry in the configuration file.