Packaging mongo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clefos |
Confirmed
|
High
|
herrold |
Bug Description
mongo is currently being installed/tested (on centos5 mongo.rpm5.org) like this:
cvs -d ':ext:<email address hidden>:/v/rpm/cvs' get mongo
cd mongo
scons
sudo scons install . --prefix=
sudo mkdir -p /var/lib/mongo/db
sudo ./perftest --dbpath=
mongod --dbpath=
and in another window, straight from the Mongo DB tutorial)
/usr/lib/
use mydb;
things = db.things;
j = { name : "mongo" };
t = { x : 3 };
things.save(j);
things.save(t);
things.find();
exit;
GO_SYSIN_DD
There's a (recent 9/6/2006 or so) Fedorable package that has
some initscripts for startup (I cobbled together manually).
There's likely a new release every month or so. I haven't yet looked at
already released mongo-1.7.0.
Note that "mongo" != "mongodb" and "/var/lib/mongo/db" != "/var/lib/mongodb".
But the database path is fully negotiable as needed (the path is already wired
into @rpm5.org tests/mongo and will likely be in /usr/lib/rpm/macros shortly)
tags: | added: mongo packages |
Changed in clefos: | |
importance: | Medium → High |
This command from a cvs checkout will show changes that were needed:
$ cvs diff -r mongo-1_6_2
Basically: /usr/lib/ rpm
1) (minor) Sconstruct fiddle up's for --prefix=
2) JS changes to re-target GPSEE's specific "known good" version of -ljs
RFP for GPSEE in a moment.