Can you run MongoDB on a Raspberry Pi 3?

Can you run MongoDB on a Raspberry Pi 3?

The answer has always been “no” — as you need a 64-bit OS to run versions >= 3.2. Some 64-bit Linux OS’s are starting to become available for R-Pi that, in theory, could run 64-bit MongoDB. I finally found a configuration that was easy to install and use. I now have MongoDB 3.4.18 running under Debian buster on a Raspberry Pi 3 — with a few caveats

Which is the best OS for Raspberry Pi 3?

Ubuntu 18.04.2 is now available in an arm64 image which works great on the raspberry pi 3 B+ hardware. The OS is 64 bit Ubuntu, and it installs the latest MongoDB in 64 bit on the raspberry pi. See here for instructions: https://wiki.ubuntu.com/ARM/RaspberryPi

Can you use the 32 bit version of MongoDB?

MongoDB Inc strongly advises against using the 32-bit version for other than testing purposes. And they do so for a good reason. Personally, my generated test data by far exceeds the limitations of the 32-bit version. So yes, it should be technically possible (and even with no package at hand: compiling MongoDB is no rocket science).

How to install Ubuntu on Raspberry Pi 3?

On the host computer, first download and then install the Imager for the Raspberry Pi. After installing the Raspberry Pi Imager, the next thing to do is to run it and select the Ubuntu 20.4.1 LTS 64-Bit Server for the R-Pi 3. When selecting the servers, ensure that you don’t accidentally choose the 32-bit model of the Ubuntu software.

Is there a 64 bit version of MongoDB?

Using a 64-bit version of Ubuntu will give you access to a much newer version of the MongoDB software. For those who do not know, MongoDB is a NoSQL database. Instead of using structured relational data like MySQL, MongoDB instead stores data as documents using a semi-structured schema.

What kind of server do I need to run MongoDB?

Once you have installed MongoDB, you can run the following command to interact with the database by using the command line. For this section, you will need to be running a 64-bit version of Ubuntu Server. Using Ubuntu, we can install much newer versions of MongoDB.

How can I start up MongoDB from another computer?

You can now start-up MongoDB: If you want to run MongoDB utilities from another computer with the “target” being a DB on the R-Pi 3. Make sure you enable remote connections on the R-Pi. Edit the /etc/mongodb.conf file and change the “bind-ip” to: This will enable connections from any IP address.