MongoDB questions

Professional Support by MongoDB:
Enterprise class support, training, and consulting available.

Moderator: Lillian.W@AST

Post Reply
JeremyCreekit
Posts: 48
youtube meble na wymiar Warszawa
Joined: Mon Feb 10, 2014 4:28 am

MongoDB questions

Post by JeremyCreekit »

Hi folks. Posting about Mongo here because I can't figure out where else to put this since there's no Mongo page in the 3rd party apps section and I can't see a general "Other" section either.

Anyway, a couple of questions about MongoDB please:

1) The Asustor version appears to be 32-bit only which limits you to a DB of 2GB. Is it possible to install the 64-bit version instead? If so, how do I do so please? I'm a Linux newbie.

2.1) As I said, I'm a Linux newbie. Mongo needs a database folder which I assume will be under Home\data\db. However, if I try run "mkdir -p \data\db" it tells me I need admin rights but if I run "sudo mkdir..." it can't find sudo and su doesn't work either. What do I need to do here?

2.2) Related to the above, if I just create Home\data\db using the File Explorer in ADM, Mongo doesn't recognise those folders as being created. Am I creating them in the right place?

Thanks!
maxani
Posts: 33
Joined: Wed Feb 27, 2013 10:46 pm

Re: MongoDB questions

Post by maxani »

Hi @JeremyCreekit.

I'm the maintainer of the MongoDB app.

The version is both 32/64 bit.

I don't understand your next questions.

Indeed you don't have anything to do. You install MongoDB from the AppCentral, you wait. An empty and fresh database is created at /volume1/MongoDB folder.
Then you can connect to and manage the MongoDB cluster by any tool you want with these default credentials : admin / mongodb.
Security is then up to you.

Best regards,
carlos_lema
Posts: 13
Joined: Tue Apr 29, 2014 7:50 pm

Re: MongoDB questions

Post by carlos_lema »

Hi @maxani,

Thanks for the response. I am starting to kick the MEAN stack around, and I just stalled mongoDB yesterday -- BTW, which tool are you using to manage it?

I installed phpmongodb but it asks for the php_mongo module, I tried running:

Code: Select all

$ sudo pecl install mongo
but for some reason this is not recognized by busybox (*nix flavor on the Asustors)

Thanks in advance for your help,
\\ carlos
maxani
Posts: 33
Joined: Wed Feb 27, 2013 10:46 pm

Re: MongoDB questions

Post by maxani »

Hi @carlo_lema.

There is no MongoDB php driver included in Asustor's PHP.
But you can add yours. If you use PHP 5.5 APK find a version of the mongo.so extension for PHP API 20121212. One from Ubuntu repos does the trick.
Then you add it in the same folder as the others and enable it in the php.ini.

Good luck.
daniel
Posts: 2
Joined: Mon Apr 01, 2019 3:57 am

Re: MongoDB questions

Post by daniel »

hi xani

i came to informe that de mongodb version 2.6.7 is not working on the nas AST1002N
I can installl and create de share folder. but when i try to run using the terminal show me a series of error. ;)
Post Reply

Return to “MongoDb”