https://github.com/s5uishida/install_mongodb_on_ubuntu_for_rp4b
Install MongoDB 4.4.18 on Ubuntu 20.04 for Raspberry Pi 4B
https://github.com/s5uishida/install_mongodb_on_ubuntu_for_rp4b
mongodb raspberry-pi raspberry-pi-4 ubuntu ubuntu2004
Last synced: 3 days ago
JSON representation
Install MongoDB 4.4.18 on Ubuntu 20.04 for Raspberry Pi 4B
- Host: GitHub
- URL: https://github.com/s5uishida/install_mongodb_on_ubuntu_for_rp4b
- Owner: s5uishida
- Created: 2023-07-31T14:48:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T07:58:39.000Z (almost 2 years ago)
- Last Synced: 2025-03-15T06:44:37.142Z (7 months ago)
- Topics: mongodb, raspberry-pi, raspberry-pi-4, ubuntu, ubuntu2004
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install MongoDB 4.4.18 on Ubuntu 20.04 for Raspberry Pi 4B
---
### [Sample Configurations and Miscellaneous for Mobile Network](https://github.com/s5uishida/sample_config_misc_for_mobile_network)
---
According to [this1](https://www.mongodb.com/community/forums/t/core-dump-on-mongodb-4-4-19-on-rpi-4/215223) and [this2](https://blog.yucas.net/2023/03/10/how-to-install-mongodb-raspberry-4-working-version/), the MongoDB version that works on Raspberry Pi 4B is up to 4.4.18.
Also, I couldn't find the MongoDB server package on Ubuntu 22.04 for Raspberry Pi 4B, so here are the steps to install MongoDB 4.4.18 on Ubuntu 20.04.```
# apt update
# apt install wget gnupg software-properties-common ca-certificates lsb-release
# wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/mongodb-4.4.gpg
# echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list
# apt update
# apt install mongodb-org-mongos=4.4.18 mongodb-org-tools=4.4.18 mongodb-org-shell=4.4.18 mongodb-org-database-tools-extra=4.4.18 mongodb-org=4.4.18 mongodb-org-server=4.4.18
```
```
# systemctl enable mongod
# systemctl start mongod
```