Time of Update: 2015-11-08
標籤:
Time of Update: 2015-10-30
標籤:mongodb、mongodb分區參考:http://www.lanceyan.com/tech/arch/mongodb_shard1.html一、mongodb分區簡介
Time of Update: 2015-11-03
標籤:背景:之前有過一次試過安裝MongoDB,但是網上說的方法各種各樣,再加上虛擬機器有問題,所以就導致沒安裝成功,今天在群裡面提問,經過一哥們的提醒,告訴我直接上官網,按照官網上的安裝方法來,沒想到還真的成功了。Linux的版本是CentOS6.5,參照安裝的官網地址是:https://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/,對應的也有一個中文社區http://docs.mongoing.com/manual-
Time of Update: 2015-10-28
標籤:database dba mongodb nosql Mongo DB 是目前在IT行業非常流行的一種非關係型資料庫(NoSql),其靈活的資料存放區方式備受當前IT從業人員的青睞。Mongo DB很好的實現了物件導向的思想(OO思想),在Mongo DB中 每一條記錄都是一個Document對象。Mongo
Time of Update: 2015-10-10
標籤:mongodb安裝一、tar包進行安裝 1.百度網盤 http://pan.baidu.com/s/1FOH2m2.https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz二、yum源進行安裝Configure the package management system
Time of Update: 2015-10-09
標籤:gridfs 簡單使用使用GridFS簡單介紹:列出檔案:[[email protected] ~]# mongofiles listconnected to: 127.0.0.1此時並沒有任何檔案存在。上傳檔案:[[email protected] ~]# mongofiles put install.log -d librarayconnected to: 127.0.0.1added file: { _id: ObjectId(‘5616b8c4f1403ca60
Time of Update: 2015-10-09
標籤: 一、環境 $ cat /etc/redhat-release CentOS Linux release 7.0.1406 (Core) $ uname -aLinux zhaopin-2-201 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux$ mongo --versionMongoDB shell version: 3.0.6 二、配置Shard
Time of Update: 2015-09-24
標籤:先介紹下命令文法: ./mongodump -h 127.0.0.1:10001 -d lietou -o /usr/local/data
Time of Update: 2015-09-19
標籤:首先安裝mongodb1.:http://www.mongodb.org/downloads2.解壓縮到自己想要安裝的目錄,比如F:\mongodb3.建立檔案夾F:\mongodb\db、F:\mongodb\log,分別用來安裝db和記錄檔,在log檔案夾下建立一個記錄檔mongodb.log,即d:\mongodb\log\mongodb.log4.運行cmd進入dos命令介面,執行下列命令 > cd F:\mongodb\bin >
Time of Update: 2015-09-20
標籤:1. 建立一個超級使用者 use admindb.createUser( { user: "accountUser", pwd: "password", roles: [ "readWrite", "dbAdmin" ] } ) db.createUser( { user: "adminUserName", pwd: "userPassword",
Time of Update: 2015-09-16
標籤:GridFS是MongoDB的一個內建功能,它提供一組檔案操作的API以利用MongoDB隱藏檔,GridFS的基本原理是將檔案儲存在兩個Collection中,一個儲存檔案索引,一個儲存檔案內容,檔案內容按一定大小分成若干塊,每一塊存在一個Document中,這種方法不僅提供了檔案儲存體,還提供了對檔案相關的一些附加屬性(比如MD5值,檔案名稱等等)的儲存。01<?php02// 初始化gridfs03$conn = new Mongo(); // 串連MongoDB04$db =
Time of Update: 2015-09-17
標籤:一、開啟許可權認證1.windows下的mongodb開啟許可權認證C:\Users\Administrator>sc delete MongoDB //原來建立的服務如果沒有開啟 則刪除[SC] DeleteService 成功C:\Users\Administrator>mongod --dbpath "E:\MongoDB\data\db" --logpath "E:\MongoDB\data\log\MongoDB.log" -auth --install
Time of Update: 2015-09-15
標籤: 下載 安裝包MSI http://yunpan.cn/cmhHdTPkXZRM2 訪問密碼 9b6c上邊提供的是 MongoDB 3.0.6 64Bit 的安裝包 安裝 如果不想直接安裝在C盤..就要選擇自訂安裝嘍..就是選擇全部安裝和自訂的那一步..全部安裝是預設安裝C盤的..我這裡是安裝到 D:\Program Files\MongoDB\MongoDB 的..需要在 D:\Program
Time of Update: 2015-09-17
標籤: python操作MongoDB http://api.mongodb.org/python/current/index.html This tutorial is intended as an introduction to working with MongoDB and PyMongo . Prerequisites[前提條件] Before we start, make sure that you have the PyMongo distribution
Time of Update: 2015-09-15
標籤: 0)基本準備 安裝MongoDB驅動(當前文章是基於MongoDB.Driver.dll, v1.7.0.4714) using MongoDB.Bson;using MongoDB.Driver; 1)建立串連 #0)準備連接字串及dbprivate static readonly string _connectionString = "mongodb://localhost";private
Time of Update: 2015-09-15
標籤:同步echo offset time_dir=%date:~0,4%-%date:~5,2%-%date:~8,2%set bak_dir=mongo_na_world_svn2win_%time_dir%set mongo_dir=E:\MongoDb\mongodb-win32-i386-2.2.3set fromdb=db_eragon_game_na_world%mongo_dir%\bin\mongodump.exe -h 192.168.102.237 -d %fromdb%
Time of Update: 2015-09-13
標籤:為接下來的工作熱一下手。。以前看過一本書,瞭解了,但好像有三四年,又忘了。。:(參考URL:http://www.centoscn.com/image-text/install/2014/1124/4171.html 環境: 系統硬體:vmware vsphere (CPU:2*4核,記憶體2G) 系統版本:Centos-6.5-x86_64 *** Centos編譯安裝mongodb 2.6 系統最好是64位的,才能更好發揮mongodb的效能安裝步驟: 0.系統內容
Time of Update: 2015-09-05
標籤:Update Homebrew’s package database.In a system shell, issue the following command:brew update2Install MongoDB.You can install MongoDB via brew with several different options. Use one of the following operations:Install the MongoDB
Time of Update: 2015-09-07
標籤:1.下載連結: http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.0.1.tgz2.解壓編譯[[email protected] soft]# tar -zxvf mongodb-linux-i686-2.0.2-rc2.tgzmongodb-linux-i686-2.0.2-rc2/mongodb-linux-i686-2.0.2-rc2/THIRD-PARTY-NOTICESmongodb-linux-i686
Time of Update: 2015-09-03
標籤:1.在終端上運行"sudo apt-get install mongo-org"後出現錯誤:Reading package lists... DoneBuilding dependency tree Reading state information... DoneE: Unable to locate package mongodb-org //This is the error並且在運行"apt-get