From bce52a2790e8cea1bb6c1ea498b1945bff8dd581 Mon Sep 17 00:00:00 2001 From: Matt Kneiser Date: Sun, 10 Dec 2023 05:07:05 -0800 Subject: [PATCH] Update README for r7.0.4 --- README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ba4e2b8..2beab18 100644 --- a/README.md +++ b/README.md @@ -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 git@github.com:mongodb/mongo.git r7.0.3 -$ cd r7.0.3 +$ git clone -b r7.0.4 git@github.com: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