====== Install RavenDB Server ====== - Open [[http://ravendb.net/download#builds|RavenDB Downloads]] in a web browser. - Download the "Production Release" for a production installation. - Download the "Development Release" for a development installation. - Click on the "ZIP Archive" link to download the binaries. - Extract ZIP file to ''C:\Program Files\RavenDB'' - Make data directory if it doesn't already exist ''mkdir C:\data'' - Open ''C:\Program Files\RavenDB\Server\Raven.Server.exe.config'' and make the following changes: * Add "Raven/IndexStoragePath" to "C:\data\raven\Indexes" * Add "Raven/CompiledIndexCacheDirectory" to "C:\data\raven\CompiledIndexCache" * Change "Raven/Port" value to "9020" * Change "Raven/DataDir" value to "C:\data\raven\System" * Add "Raven/Esent/LogsPath" to "C:\data\raven\Logs" - Start RavenDB one time to verify everything is good. "C:\Program Files\RavenDB\Server\Raven.Server.exe" --debug --browser - After Raven Studio opens, create a test database. - Validate that everything is in the right place and that there are no errors. - Type "q" and press enter to stop the RavenDB Server - Install as Service "C:\Program Files\RavenDB\Server\Raven.Server.exe" /install - On a development machine, change the service to be manual sc config ravendb start= demand - On a development machine, stop the service unless you need it immediately: sc stop ravendb