vim mongodb_install.sh#!/bin/bash cd /opt/ echo "Download mongdb software..." wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1404-3.0.4.tgz echo "
root@adela-vm:/opt/mongodb_simple# numactl --interleave=all bin/mongod -f conf/mongod.confabout to fork child process, waiting until server is ready for connections.forked process: 4904child process s
mongo客户端由bin/mongo启动0、帮助root@adela-vm:/opt/mongodb_simple# ./bin/mongo --helpMongoDB shell version: 2.6.9usage: ./bin/mongo [options] [db address] [file names (ending in .js)]1、启动mongoDB 客户端进程root@ade
1、环境ubuntu14.042、下载安装包终端中: wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.9.tgz3、解压:tar -zxvf VMwareTools-9.9.0-2304977.tar.gz4、服务器的安装建如下目录:将解压后bin中的文件放到对应bin目录中 mongodb_simp
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号