发布于 2015-09-14 15:21:11 | 101 次阅读 | 评论: 0 | 来源: 网络整理

For installing MongoDB on a Joyent Node Smart Machine, see MongoDB documentation <http://wiki.joyent.com/>. You must have login credentials to view documentation.

For the quickest start, you can use the Joyent SmartMachine for MongoDB Appliance.

The prebuilt MongoDB Solaris 64 binaries work with Joyent accelerators.

Some newer gcc libraries are required to run. See the sample setup session below.

# assuming a 64 bit accelerator
/usr/bin/isainfo -kv

# get mongodb
# note this is 'latest' you may want a different version
curl -O http://downloads.mongodb.org/sunos5/mongodb-sunos5-x86_64-latest.tgz
gzip -d mongodb-sunos5-x86_64-latest.tgz
tar -xf mongodb-sunos5-x86_64-latest.tar
mv "mongodb-sunos5-x86_64-2009-10-26" mongo

cd mongo

# get extra libraries we need (else you will get a libstdc++.so.6 dependency issue)
curl -O http://downloads.mongodb.org.s3.amazonaws.com/sunos5/mongo-extra-64.tgz
gzip -d mongo-extra-64.tgz
tar -xf mongo-extra-64.tar
# just as an example - you will really probably want to put these somewhere better:
export LD_LIBRARY_PATH=mongo-extra-64
bin/mongod --help
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务