![]() ![]() I downloaded Unifi from the AUR repositories, and removed “mongod” from the dependencies in PKGBUILD to get it to install. My well-enclosed RPi runs very hot so the CPU was probably throttling most of the time. It took well overnight with files (23G) on a USB hard drive. I used “vm.dirty_background_ratio = 5” and “vm.dirty_ratio = 10” to get things proceeding. The second was a kernel panic due to high disk I/O. The first was an out of memory situation, and I had to increase the amount of swap space (1GB was not enough in my Pi with 4GB RAM). Next I followed the native build instructions as posted by Andrew. I renamed the binaries to gcc-8 and g+☘ and put them in /usr/local/bin. I then built gcc-8.3.0 using the script here: I was initially on a 32-bit system so first replaced it with aarch64 (Arch). $ sudo apt-get install libssl-dev:arm64 libcurl4-openssl-dev:arm64 Sudo apt-get install gcc-8-aarch64-linux-gnu g++-8-aarch64-linux-gnu The instructions for v4.4 would be very similar, so I’m just manually making adjustments here and apologies in advance for any errors, but the cross build would look like: Add MongoDB 4.2 ARM64 builds for Raspberry Pi OS 64 bit (Debian Buster) MongoDB Server Development ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |