- Download latest 6.x RavenDB Server: https://ravendb.net/download
- Install as Windows service
- Open RavenDB Studio http://localhost:8080/studio/index.html
- Add the
RavenLicense.json
- Open RavenDB Studio http://localhost:8080/studio/index.html
- Create a database (i.e.
audit1
) and point it to a separate disk - Back up the
servicecontrol.audit.exe.config
- Modify
servicecontrol.audit.exe.config
:
- Remove
<add key="ServiceControl.Audit/DBPath" value="***" />
- Add
<add key="ServiceControl.Audit/RavenDB/ConnectionString" value="http://localhost:8080" />
- Add
<add key="ServiceControl.Audit/RavenDB/DatabaseName" value="audit1" />
(use same name as step5
)
- Launch
cmd.exe
as an admin - Run
sc.exe config Particular.ServiceControl.Audit depend= http/ravendb