1. Primary server Configuration #auth = True DBPath =/data/mongodb/db LogPath =/data/mongodb/log/mongodb.log Port = 27017 Fork = True #以 Daemon is enabled, that is, running in the background Nohttpinterface = True Logappend=true master=true 2,
1. Prepare the mongodb-linux-x86_64-3.4.6.tgz first,
Can be downloaded from the official website, you can also download me from the official website of the 3.4.6 version. Download LINK Address: http://pan.baidu.com/s/1dFgWb0t
2. Start the
MongoDB is the old technology represented by NoSQL (without any discriminatory meaning), long time no research, re-study again1, installationDownload the Unzip installation packagewget
MongoDB Start Command mongod parameter description
The main parameters of Mongod are:
Basic Configuration
--------------------------------------------------------------------------------
--quiet # Quiet Output--port arg # Specify the service port
MongoDB Add user in v3.0 Problem Resolution (property ' AddUser ' of object Admin was not a func) #
problem: An error occurred while creating a MongoDB account> Db.adduser (' Jyu ', ' aerohive ') 2015-08-05t20:03:02.767+0800 E QUERY
Dockerfile
#base images from
ubuntu:latest
maintainer yao.3.li@uconn.edu
#install mongodb
RUN apt-get Update
RUN apt-get-y Install Curl
Run Curl-o https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz
run TAR-ZXVF mongodb-linux-x86_ 64-3.0
Today while the weekend hollow, the recent learning of the MONGODB database commonly used commands to make the following collation, convenient work to view
The logical structure of MongoDB is mainly composed of three parts: document,
ObjectiveMongoDB is a NoSQL database, about NoSQL and MongoDB This article does not introduce, in the database selection, I said in a chance coincidence under the choice of MongoDB, and intends to use MongoDB to build a log system.One, MongoDB
1. Download MongoDB version of Windows, there are 32-bit and 64-bit version, according to the system download,: Http://www.mongodb.org/downloads2. Unzip to the amount E:/mongodb3. Create a storage location for the database files, such as
A brief introduction to MongoDBMongoDB is a database based on distributed file storage. Written by the C + + language. Designed to provide scalable, high-performance data storage solutions for Web applications.MongoDB is a product between a
First, installation and operation1. Download:Official: Https://www.mongodb.com/download-center?jmp=docs&_ga=1.61677796.930985429.1478502988#community2. InstallationDownload the 32-bit or 64-bit. msi file based on your system, double-click the file
Shard: Data is very large, the data of different segments are removed, 1-1000000 placed on the node 1,1000000-2000000 node 2,200000-300000 placed on the node. Put different data on different servers called Shard shards.request to MONGOs, people to
================================mongo Create a user and create a database ===========================1. MongoDBPs-ef | grep MongodNormal User startup modeMongod--config/etc/mongod.confAuthentication User startup
What is a replication set?
A replica set (replica sets) is an additional copy of the data that is the process of synchronizing data across multiple servers, which provides redundancy and increases data availability, and enables recovery of
OverviewMongoDB shards are a way to store data using multiple servers to support huge data stores and manipulate data. Shard Technology can meet the demand of a large number of MONGODB data volume, when a MongoDB server is not enough to store
Linux under the mongodb installation and data import and export tutorial# View linux distributionsCat/etc/issue# View the linux kernel version numberUname-rI,Linux under The general steps of MongoDB installation1. Go to MongoDB 's website
Before the start of MongoDB is quite normal, do not know the start error later, the paste out query. Finally know is due to their abnormal shutdown caused by this situation.--Excerpt: MongoDB abnormal shutdown after repair recordMongod no background
MongoDB has three levels of distributed configuration: master-slave configuration, cluster configuration, and cluster shard configuration, we recommend using cluster configuration.Master-Slave configuration
Start the primary server:
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.