Tutorial on installing MongoDB in Windows 32-bit system, Windows 32 MongoDB
I have encountered a pile of pitfalls when installing MongoDB in Windows 32-bit system.
1. Download
Install mongoDB in windows (decompress version) to close the service tutorial. Decompress mongodb
I am going to put the database on disk D, so I created a mongoDB folder under disk D, and created the mongoDB folder and mongoDBdat
MANGODB Installation
1. Download MongoDB installation files, I installed the Windows 64-bit, download the address as follows:Https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.6.6-signed.msi2. Create a new MongoDB folder in E-disk (casually put, such as E:mongodb)3. Unzip the downloaded installation file
. Open http://localhost:27017 in the browser and you can see some of its related information.
4. Install MongoDB as Windows service
Using commands Mongod--logpath D:\xampp\mongodb\log\MongoDB.log--logappend--dbpath D:\xampp\mongodb\data--directoryperdb-- ServiceName MongoDB
Preparations:
Download the right version of http://www.mongodb.org/downloads to official
Here we use mongodb windows 32bit
Decompress mongodb to the d: \ mongodb \ directory, and create a new directory db (for storing data) and a directory logs (for storing logs) in the mongodb
Install mongodb and memcache and mongodbmemcache for php in windows. Install mongodb and memcache for php in windows, and install mongodbmemcachemangodb. 1. download the mongodb installation file. The windows 64-bit installation f
object match, note: "Key.subkey" must be quoted
Db.collection.find ({"key": {$not:/^val.*val$/i}}) This is an operator that is used in combination with other query conditions and is not used alone. The result set obtained by the above query condition plus $not can get the opposite set.
2. Sorting
Db.collection.find (). Sort ({"Key1":-1, "Key2": 1}) Here the 1 stands for ascending,-1 for descending
3. Other
Db.collection.find (). Limit (5) controls the number of returne
Installation of Memcache and MongoDB in PHP environment on windows, MEMCACHEMONGODB
MANGODB Installation
1. Download the MongoDB installation files, I install the Windows 64-bit, download the address as follows:
Https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus
Install memcache and mongodb in the php environment on windows, and install memcachemongodb. Install memcache and mongodb in the php environment on windows. install memcachemongodbmangodb. download the mongodb installation file. the 64-bit
Create a directory as follows
Extract the MongoDB compressed package into the MongoDB directory
Mongodata Create the Data directory to store the information; Create the log directory to store the directory
CMD input command:
D:\mongo\mongodb\bin\mongod.exe--dbpath "D:\mongo\mongodata\data"--logpath "D:\mongo\mongodata\log\MongoDB.log"- -install--service
The following is reproduced from the http://be-evil.org/install-mongodb-on-windows7.html
1. Download The MongoDB database for WindowsGo to the official download page to download the MongoDB Windows version. You can choose either 32-bit or 64-bit based on your own needs.Http://www.mongodb.org/downloads2. Installation p
MongoDB database backup and recovery under Windows
I can tell the data back to the C:\data\dump directory, first create this path. And then go under the Bin directory of MongoDB.
Mine is:
C:\Program Files\mongodb\bin
The backup script is:
Backup
mongodump-h 127.0.0.1:27017-d test-o c:\data\dump
Software downloads
Download MongoDB Latest Package: Http://www.mongodb.org/downloadsDownload MongoDB Visual interface, mongovue:http://download.csdn.net/detail/lovesummerforever/8036417Software Installation
The MongoDB service-side installation steps are as follows:
1, adhere to the MONGODB specification, select you
this time we can install MongoDB as Windows services
Or run cmd, go to the Bin folder, and execute the following command
> D:\mongodb\bin>mongod--dbpath "d:\mongodb\data\db"--logpath "D:\mongodb\data\log\MongoDB.log"--install-- ServiceName "
Download path: Http://downloads.mongodb.org/win32/mongodb-win32-i386-1.7.0.zip
Put a DB folder I was put to D disk, path: Ddb
Extract Mongodb-win32-i386-1.7.0.zip rename it to MongoDB put it in D disk
Open cmd input: d:mongodbbinmongod.exe–dbpath=d:db start Mongod Service
Open one more cmd input: D:mongodbbin>mongo.exe
The code is as follows
C
Tags: des http io os ar strong for Div artInstall MongoDB on WindowsoverviewUse the tutorial to install MongoDB on a Windows systems.PLATFORM SupportStarting in version 2.2, MongoDB does isn't support Windows XP. Please use the mo
MongoDB Study Notes (1) -- install MongoDB in Windows and take mongodb Study Notes
First, download the windows Installation Package for mongodb from the official website, select a 32-bit or 64-bit version based on your system type
[MongoDB] Build a mongodb sharding cluster on the windows platform (2). mongodb Cluster
In the previous blog, we talked about the main principles of Mongodb sharding clusters. In this blog, we will mainly describe how to build a sharded cluster. There are two steps to config
Linux mongodb installation and data import and export tutorial, mongodb Import and Export
How to install mongodb and import and export data in Linux
# Viewing the linux release version
Cat/etc/issue
# View the Linux kernel version
Uname-r
1. General steps for installing mongodb
Install mongoDB in windows and mongodb in windows1. Original Intention
This is so simple that I have been thinking about whether to write an article for a long time. However, for beginners, anything they have never touched may become a stumbling block, therefore, this blog aims to pave the way for record, rather than display level.2. Download
Search for the key
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.