WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mongodb please  (Read 2732 times)

Offline skokorob

  • WikiUser
  • *
  • Posts: 3
mongodb please
« on: November 02, 2011, 08:30:22 AM »
Hi guys,

I have mongodb (32bit) running on TC 4.0.2, however I can't seem to get it to run as a daemon (but that's another thread).  It would be nice to have it as a package.  If it is not too much trouble both 32bit and 64bit would be cool.  (32bit for quick, easy development, 64bit for production)

(dubdubdub).mongodb.org/  8)


[edit]
I was able to get mongod to run as a daemon; turns out I was trying to use ~/bla/blah when I should have been using /home/tc/bla/blah  (yep, I'ma noob.)
« Last Edit: November 02, 2011, 08:43:15 AM by skokorob »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9072
Re: mongodb please
« Reply #1 on: November 02, 2011, 08:00:24 PM »
If it is not too much trouble both 32bit and 64bit would be cool.  (32bit for quick, easy development, 64bit for production)

Just to point out that microcore64 runs 64bit kernel modules, but otherwise allows 32bit applications to each share up to 4gb ram. It does not run 64bit applications.

Offline Lee

  • Hero Member
  • *****
  • Posts: 635
    • My Core wiki user page
Re: mongodb please
« Reply #2 on: November 03, 2011, 06:53:18 AM »
Quote
It does not run 64bit applications.

Do you mean that microcore -cannot- run 64 bit applications?  Or just that there are no 64 bit apps in the repo?  This is  just a matter of curiosity for me as I've never had occasion to worry about such things for any practical reason.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9414
Re: mongodb please
« Reply #3 on: November 03, 2011, 06:59:09 AM »
It can, but they'd need to be compiled against toolchain64. Binaries from elsewhere wouldn't run, unless they were static.
The only barriers that can stop you are the ones you create yourself.

Offline Lee

  • Hero Member
  • *****
  • Posts: 635
    • My Core wiki user page
Re: mongodb please
« Reply #4 on: November 03, 2011, 08:53:24 AM »
Thanks.  That little bit of curiosity has been assuaged.  :)
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline roborob

  • Jr. Member
  • **
  • Posts: 58
Re: mongodb please
« Reply #5 on: November 06, 2011, 04:43:54 PM »
Hi,

Any word on whether or not someone might build this?

Thanks!

Offline skokorob

  • WikiUser
  • *
  • Posts: 3
Re: mongodb please
« Reply #6 on: November 29, 2011, 12:10:58 PM »
This would be  a great package to have available.

Anyone?   :-\



Hi guys,

I have mongodb (32bit) running on TC 4.0.2, however I can't seem to get it to run as a daemon (but that's another thread).  It would be nice to have it as a package.  If it is not too much trouble both 32bit and 64bit would be cool.  (32bit for quick, easy development, 64bit for production)

(dubdubdub).mongodb.org/  8)


[edit]
I was able to get mongod to run as a daemon; turns out I was trying to use ~/bla/blah when I should have been using /home/tc/bla/blah  (yep, I'ma noob.)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9072
Re: mongodb please
« Reply #7 on: December 03, 2011, 04:14:31 AM »
I see mongodb is a java app and requires spidermonkey...

Edit: posted - let me know if it works
« Last Edit: December 03, 2011, 07:48:33 AM by Juanito »

Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: mongodb please
« Reply #8 on: December 26, 2011, 04:04:48 PM »
FWIW i remember it being said that the 32bit version of mongodb had problems (of reliability) that the 64bit one didn't have. So it might be worth considering the 64bit version even if none of the normal benefits are available.

Offline roborob

  • Jr. Member
  • **
  • Posts: 58
Re: mongodb please
« Reply #9 on: January 06, 2012, 08:46:04 PM »
I think you are referring to one of the many drivers for connecting to MongoDB.   

     "MongoDB (from "humongous") is a scalable, high-performance, open source NoSQL database. Written in C++"
 
I do not know that spidermonkey is required, there was no mention of it when I installed MongoDB.  I was able to get mongod to run without any specific action relating to spidermonkey. (this is actually the first time I've seen it mentioned)

I installed mongodb using wget and tar:

$ wget http://downloads.mongodb.org/linux/mongodb-linux-i686-1.6.4.tgz
$ tar xzf mongodb-linux-i686-1.6.4.tgz
$ mv mongodb-linux-i686-1.6.4 mongodb
$ mkdir -p mongodb/data/db
$ mongodb/mongod --dbpath ~/mongodb/data/db

Not too bad to install overall, however it would be very cool to have as a package.

I see mongodb is a java app and requires spidermonkey...

Edit: posted - let me know if it works

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9072
Re: mongodb please
« Reply #10 on: January 06, 2012, 10:45:43 PM »
..however it would be very cool to have as a package.

a mongodb extension has been in the repo for a month now?

Offline ognivo777

  • WikiUser
  • *
  • Posts: 3
Re: mongodb please
« Reply #11 on: January 20, 2017, 04:37:00 PM »
I just compiled mongodb 3.2.11 from sources for TinyCore 7.2. It's susscefully runs and working for me. But i have no idea how make extension from that stuff.

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5237
Re: mongodb please
« Reply #12 on: January 20, 2017, 04:46:06 PM »
Hi ognivo777
Instructions are available from the Wiki:
http://wiki.tinycorelinux.net/wiki:creating_extensions

Offline ognivo777

  • WikiUser
  • *
  • Posts: 3
Re: mongodb please
« Reply #13 on: January 20, 2017, 06:25:27 PM »
Hi ognivo777
Instructions are available from the Wiki:
newbielink:http://wiki.tinycorelinux.net/wiki:creating_extensions [nonactive]

Thank you! I will try to do that.
For now i described the bild process here:
newbielink:http://ognivo-tech.blogspot.ru/2017/01/buildin-mongodb-3211-from-sources-on.html [nonactive]