-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e24eff
commit bce52a2
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,10 +22,14 @@ The binaries from this repo are packaged in a Docker container [here](https://gi | |
|
||
MongoDB officially requires ARMv8.2-A+ [microarchitecture support](https://www.mongodb.com/docs/manual/administration/production-notes/#std-label-prod-notes-platform-considerations) as of MongoDB 5.0+. The Raspberry Pi 4 runs on ARMv8.0-A. These binaries are a best-effort at preserving functionality below minimum hardware specs. | ||
|
||
These binaries are subject to the [MongoDB Server-Side Public License](https://github.com/mongodb/mongo/blob/r7.0.3/LICENSE-Community.txt). | ||
However, the Raspberry Pi 5 does meet the minimum hardware requirements with its newer CPU. | ||
|
||
These binaries are subject to the [MongoDB Server-Side Public License](https://github.com/mongodb/mongo/blob/r7.0.4/LICENSE-Community.txt). | ||
|
||
## Releases | ||
|
||
- [_r7.0.4_](https://github.com/themattman/mongodb-raspberrypi-binaries/releases/tag/r7.0.4-rpi-unofficial) [December 10, 2023] | ||
|
||
- [_r7.0.3_](https://github.com/themattman/mongodb-raspberrypi-binaries/releases/tag/r7.0.3-rpi-unofficial) [November 11, 2023] | ||
|
||
- [_r7.0.2_](https://github.com/themattman/mongodb-raspberrypi-binaries/releases/tag/r7.0.2-rpi-unofficial) [October 27, 2023] | ||
|
@@ -77,8 +81,8 @@ $ sudo apt-get install -y libssl-dev:arm64 libcurl4-openssl-dev:arm64 liblzma-de | |
# MongoDB Instructions | ||
$ git clone -b r7.0.3 [email protected]:mongodb/mongo.git r7.0.3 | ||
$ cd r7.0.3 | ||
$ git clone -b r7.0.4 [email protected]:mongodb/mongo.git r7.0.4 | ||
$ cd r7.0.4 | ||
$ python3 -m venv python3-venv | ||
$ source python3-venv/bin/activate | ||
$ python -m pip install "pip==21.0.1" | ||
|
@@ -109,14 +113,14 @@ $ aarch64-linux-gnu-strip mongod.debug -o mongod | |
$ aarch64-linux-gnu-strip mongos.debug -o mongos | ||
# Generate release (on Mac OS) | ||
$ tar --gname root --uname root -czvf mongodb.ce.pi.r7.0.3.tar.gz LICENSE-Community.txt README.md mongo{d,,s} | ||
$ tar --gname root --uname root -czvf mongodb.ce.pi4.r7.0.4.tar.gz LICENSE-Community.txt README.md mongo{d,,s} | ||
# Generate release (on Linux) | ||
$ tar --group root --owner root -czvf mongodb.ce.pi.r7.0.3.tar.gz LICENSE-Community.txt README.md mongo{d,,s} | ||
$ tar --group root --owner root -czvf mongodb.ce.pi4.r7.0.4.tar.gz LICENSE-Community.txt README.md mongo{d,,s} | ||
``` | ||
|
||
## Installing on Raspberry Pi | ||
|
||
- Ensure Raspberry Pi meets minimum HW requirements. I have only installed on a 4GB Raspberry Pi 4. Unknown how Pi's with lower specs will fare. | ||
- Ensure Raspberry Pi meets minimum HW requirements. I have only installed on a 4GB/8GB Raspberry Pi 4 & 8GB Raspberry Pi 5. Unknown how Pi's with lower specs will fare. | ||
|
||
- Ensure a [64-bit Raspberry Pi OS](https://www.raspberrypi.com/software/operating-systems/) has been installed on the Pi. | ||
|
||
|
@@ -125,8 +129,8 @@ $ tar --group root --owner root -czvf mongodb.ce.pi.r7.0.3.tar.gz LICENSE-Commun | |
``` | ||
# Using wget assumes network connection. Can also copy with USB. | ||
$ mkdir ~/mdb-binaries && cd ~/mdb-binaries | ||
$ wget https://github.com/themattman/mongodb-raspberrypi-binaries/releases/download/r7.0.3-rpi-unofficial/mongodb.ce.pi.r7.0.3.tar.gz | ||
$ tar xzvf mongodb.ce.pi.r7.0.3.tar.gz # Decompress tarball | ||
$ wget https://github.com/themattman/mongodb-raspberrypi-binaries/releases/download/r7.0.4-rpi-unofficial/mongodb.ce.pi4.r7.0.4.tar.gz | ||
$ tar xzvf mongodb.ce.pi4.r7.0.4.tar.gz # Decompress tarball | ||
# Prepare MongoDB data & log directories | ||
$ mkdir -p /data/db/test_db | ||
|