RavenDB is a free, fast, and reliable open-source document-oriented NoSQL database designed for. NET/Windows platform. It is used by major corporations and businesses looking for high-performance NoSQL database systems. Most people will tell you a thing or two about MySQL and MariaDB, however, for professionals, RavenDB is a stable choice. RavenDB uses JSON to store documents and does not require a schema to be declared and is easy to install, implement, and use. To get started with installing RavenDB, follow the steps below:
Install required packages
Before installing RavenDB, you’ll want to install the required dependencies, including NET Core runtime. Run the commands below to download and install the .NET core repository on Ubuntu. Next, update and install the .NET core. That should get the .NET core installed.
Install RavenDB
Now that .NET is installed and ready, continue below to install RavenDB. Download the RavenDB package by running the commands below: Next, extract the downloaded file. After that, make the file executable and install it. That should install RavenDB and start listening on the IP and port number below: The wizard will assist you with setting up your RavenDB server.Let’s start with choosing your desired level of security. Select the security option that best addresses your needs. For this tutorial, we’re going to be using the insecure method to connect. Finish the setup and restart the server. It should now start listening on port 8080. Access the dashboard. By default, the RavenDB is accessible only from the local host. If you need to configure the server’s public IP address, open its config file and add the IP address. Then add replace the host or IP with the public one.
Systemd service
If you want to control RavenDB startup and shutdown, you’ll want to create a systemd service file to control the service. To do that run the commands below to create the file. Copy and paste the content below into the file and save. Save the file. Next, reload systemd and begin controlling the services. That should do it. To check the status of the service run the commands below: That should display similar lines as shown below: That’s it! Conclusion: This post showed you how to install and configure RavenDB on Ubuntu. If you find any error above, please use the form below to report.