There is a point to this story, but it has temporarily escaped my mind...
Contact Me MyFaceBook MyLinkedIn MyGitHub MyTwitter

Install RavenDB Server

  1. Open RavenDB Downloads in a web browser.
    1. Download the “Production Release” for a production installation.
    2. Download the “Development Release” for a development installation.
  2. Click on the “ZIP Archive” link to download the binaries.
  3. Extract ZIP file to C:\Program Files\RavenDB
  4. Make data directory if it doesn't already exist mkdir C:\data
  5. 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”
  6. Start RavenDB one time to verify everything is good.
    "C:\Program Files\RavenDB\Server\Raven.Server.exe" --debug --browser
  7. After Raven Studio opens, create a test database.
  8. Validate that everything is in the right place and that there are no errors.
  9. Type “q” and press enter to stop the RavenDB Server
  10. Install as Service
    "C:\Program Files\RavenDB\Server\Raven.Server.exe" /install
  11. On a development machine, change the service to be manual
    sc config ravendb start= demand
  12. On a development machine, stop the service unless you need it immediately:
    sc stop ravendb
Copyright © 2022 by Julian Easterling. SOME RIGHTS RESERVED.
Privacy Policy              Terms of Use             


Creative Commons License
Except where otherwise noted, content on this site is
licensed under a Creative Common Attribution-Share Alike 4.0 International License.


All of the opinions expressed on this website are those of Julian Easterling and
do not represent the views of any of my current and previous clients or employers in any way.

If you notice an error on the site or content that has not been properly attributed, bring
it to my attention using the contact page and I will endeavor to fix it as soon as I can.

I accept no responsibility or liability for any damages incurred by following any of
my advice or by using any of the information on my site or of those sites that I link to.