美文网首页
Linux环境下 mongodb3.0 安装

Linux环境下 mongodb3.0 安装

作者: iarchitect | 来源:发表于2018-10-01 10:18 被阅读0次

curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz

tar -zxvf mongodb-linux-x86_64-3.0.6.tgz

mv mongodb-linux-x86_64-3.0.6 /usr/local/soft/mongodb

cd mongodb

export PATH=/usr/local/soft/mongodb/bin:$PATH

mkdir -p /data/db

cd /usr/local/soft/mongodb/bin

cd ../

./bin/mongod --auth --dbpath=/data/db/

相关文章

网友评论

      本文标题:Linux环境下 mongodb3.0 安装

      本文链接:https://www.haomeiwen.com/subject/ykeanftx.html