It is currently Wed Nov 21, 2018 3:34 am
All times are UTC + 8 hours

MongoDB questions

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

MongoDB questions

Postby JeremyCreekit » Sat Feb 28, 2015 10:36 pm

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!
JeremyCreekit
 
Posts: 25
Joined: Mon Feb 10, 2014 4:28 am

Re: MongoDB questions

Postby maxani » Mon Mar 09, 2015 11:12 pm

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,
maxani
 
Posts: 33
Joined: Wed Feb 27, 2013 10:46 pm

Re: MongoDB questions

Postby carlos_lema » Wed Apr 29, 2015 8:53 pm

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
carlos_lema
 
Posts: 13
Joined: Tue Apr 29, 2014 7:50 pm

Re: MongoDB questions

Postby maxani » Tue May 12, 2015 3:45 am

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.
maxani
 
Posts: 33
Joined: Wed Feb 27, 2013 10:46 pm

Return to MongoDb

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest