WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mongodb please  (Read 9483 times)

Offline skokorob

  • Newbie
  • *
  • Posts: 3
mongodb please
« on: November 02, 2011, 12:30:22 PM »
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, 12:43:15 PM by skokorob »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: mongodb please
« Reply #1 on: November 03, 2011, 12:00:24 AM »
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: 645
    • My Core wiki user page
Re: mongodb please
« Reply #2 on: November 03, 2011, 10: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: 11049
Re: mongodb please
« Reply #3 on: November 03, 2011, 10: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: 645
    • My Core wiki user page
Re: mongodb please
« Reply #4 on: November 03, 2011, 12:53:24 PM »
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, 07:43:54 PM »
Hi,

Any word on whether or not someone might build this?

Thanks!

Offline skokorob

  • Newbie
  • *
  • Posts: 3
Re: mongodb please
« Reply #6 on: November 29, 2011, 03: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: 14841
Re: mongodb please
« Reply #7 on: December 03, 2011, 07: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, 10:48:33 AM by Juanito »

Offline mb

  • Jr. Member
  • **
  • Posts: 69
Re: mongodb please
« Reply #8 on: December 26, 2011, 07: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, 11: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: 14841
Re: mongodb please
« Reply #10 on: January 07, 2012, 01:45:43 AM »
..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

  • Newbie
  • *
  • Posts: 3
Re: mongodb please
« Reply #11 on: January 20, 2017, 07: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

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

Offline ognivo777

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

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

Offline alphons

  • Newbie
  • *
  • Posts: 42
    • building vmtux.net as of feb 14, 2023
Re: mongodb please
« Reply #14 on: February 08, 2022, 02:47:28 AM »
Building latest mongodb from source (github).
Running compiler for at least 4 hours now on TinyCore64 12 (see attachement)
Hope this will result in some binaries to make new extensions for TinyCore.
Keep you informed.



[attachment deleted by admin]
VMTux 1.0 - kernel 6.2.11 - glib 37 - alpha release March 2023 - https://vmtux.net/