Try installing MongoDB on Ubuntu. Fortunately, you can use apt-get on Ubuntu. However, it is not the latest version! After sudoapt-getupdatesudoapt-getinstallmongodb is installed, the Mongodb configuration file is placed in the mongodb. conf file in/
Try installing MongoDB on Ubuntu. Fortunately, you can use apt-get on Ubuntu. However, it is not the latest version! Sudoapt-getupdatesudoa
Try installing MongoDB on Ubuntu. Fortunately, you can use apt-get on Ubuntu. However, it is not the latest
In practice, we will explain how to build MongoDB and master-slave replication. Because there is only one server, you can only modify the port number to implement the master-slave MongoDB, instead of using multiple servers.
In practice, we will
MongoDB Data Replication shard
I. MongoDB introduction:
MongoDB is a high-performance, open-source, and non-pattern document-based database. It is a popular NoSql database. It can be used in many scenarios to replace traditional relational databases
Install MongoDB 3.4 on yum in CentOS 7
Install MongoDB 3.4 on yum in CentOS 7.
Step 1 check whether the yum source is configured for Mongodb
Switch to the yum directory cd/etc/yum. repos. d/
View File ls
The second part does not add the yum
MongoDB cluster creation
MongoDB replication cluster type:
· Master-slave mode (master/slave)
· Replica set mode (replica set)
The copy and mode have at least three nodes (one master node and two slave nodes). The slave node is responsible for
Try installing MongoDB on Ubuntu. Fortunately, you can use apt-get on Ubuntu. However, it is not the latest version!
Sudo apt-get update
Sudo apt-get install mongodb
After the installation is complete, the Mongodb configuration file is placed
MongoDB environments mainly include StandAlone, Replication, and Sharding. Because of the data volume and machine volume, the project eventually uses a Primary and a Secondary
MongoDB environments mainly include StandAlone, Replication, and Sharding.
Process Monitoring Tool Supervisor starts MongoDB
1. What is a supervisor?
Superviosr is a process monitoring tool on a UNIX-like system. Supervisor is a Python-developed client/server system that can manage and monitor processes on * nix. However,
MongoDB environments mainly include StandAlone, Replication, and Sharding.
StandAlone: StandAlone environment, usually used for development and testing.
Replication: master-slave structure. One Primary and multiple Secondary may have Arbitry.
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.