You are not logged in.

#1 2019-01-27 07:39:16

k.elciyar
Member
Registered: 2019-01-24
Posts: 11

MongoDB Installation Problem

Hello. As a new Arch Linux user I'm preparing my development environment. Yesterday I tried to install MongoDB. The compilation lasted nearly 11 hours and finished with an error. The problem is my total disk has 120 gb and ~70gb free space. It's impossible for me to has 160gb free space. Is there an alternative way to use/install MongoDB?

Offline

#2 2019-01-27 09:03:16

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: MongoDB Installation Problem

I'm told that the developer who created the official repository packages borrowed a *really* beefy server with 48 cores and a 200GB RAM tmpfs for the build chroot in order to build this particular monster. Having previously laughed at things like the 11 hour tensorflow builds... I no longer laugh.

My expectation is that most users will simply give up and install mongodb's official binary builds. There is not currently a mongodb-bin package though.

Last edited by eschwartz (2019-01-27 09:03:41)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2019-01-28 09:38:39

jbenge1
Member
From: Az
Registered: 2018-04-09
Posts: 151

Re: MongoDB Installation Problem

I have to use mongodb on my work machine (locally), I got around this by using docker and the mongodb image from the docker website though I was able to get out of a day and a half of work telling my boss "It's still compiling...."


"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden

Offline

#4 2019-02-06 08:23:38

ddrager
Member
Registered: 2019-02-06
Posts: 1

Re: MongoDB Installation Problem

Just wow - finally got MongoDB installed from aur. Have a new laptop with Core i7 processor and 16GB RAM, plenty of disk - the issue is that on laptop when you leave the system by default it goes into sleep mode. Not really designed as a build environment.

The actual build worked fine, but this is quite involved for getting mongodb installed. Like jbenge1 said, would definitely recommend as an alternative to aur installation at this point:

  1. Use docker image, Mongo has Official MongoDB docker images

  2. Get official binary and run manually. Is it possible for aur to pull official binaries?

Offline

#5 2019-02-06 08:30:43

jbenge1
Member
From: Az
Registered: 2018-04-09
Posts: 151

Re: MongoDB Installation Problem


"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden

Offline

Board footer

Powered by FluxBB