First step, install MongoDB to each server
Prepare more than 3 MongoDB servers and do the following on each platform
1, download MongoDB, extract and move to/usr/local/mongodb directory(if wget is not installed, please yum install wget or apt-get install wget)It is possible to download a Web server from a local area
Tags: run interactive--needed BPA files OOB nal httpMongoDB provides a 64-bit installation package for each Linux distribution, and you can download the installation package on the website. : https://www.mongodb.com/download-center#community Download the installation package and unzip the tgz(the installation on 64-bit Linux is shown below). Curl-o https://fastdl.mongodb.org/
availability.Automatic Horizontal expansion:Horizontal scaling is the kernel feature of MongoDB.Automatically share distributed data on a clusterReplica sets can provide final consistency reading for applications with low latency and high throughput.Installation:0Environment[Root@host2 ~]# Uname-aLinux host2 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 01:55:02 UTC 2014 x86_64 x86_64 x86_64 gnu/linux[Root@host2 ~]# Cat/etc/issueCentOS Release 6.5 (Final)
Description:
There are two installed MongoDB database server, now need to set a main library, another set to from the library, to achieve master-slave synchronization.
Operating System: CentOS 7.0 64-bit
MongoDB database version:mongodb-linux-x86_64-2.6.5
preparatory work: MongoDB Database Installation
Please refer to:
Tags: new repo mon Mongo MongoDB elf sel baseurl EPOConfigure the package Management system (yum).Create a /etc/yum.repos.d/mongodb-org-3.2.repo file so this you can install MongoDB directly, using yum . Changed in version 3.0:mongodb Linux packages is in a new repository be
Tags: style blog http color io os using AR for1. Download the installation package wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.2.tgz unzip the tarball after the download is complete ZXF Mongodb-linux-i686-1.8.2.tgz 2. Install prepare to move
The installation of MongoDB under Linux should be simple, but there is a small point to note, which is why I wrote this blog.First download the latest stable version to its official website, extract to the directory, such as/usr/local/mongodbCreate the Data folder and the logs (touch logs) log file under MongoDB.Installation steps
Enter the/usr/local directory
Cd/usr/local
Create a
Add a MongoDB service to a random boot
Vi/etc/rc.local
Use the VI Editor to open the configuration file and add the following line of code to it
/usr/local/mongodb/bin/mongod-dbpath=/usr/local/mongodb/data/db--fork--port 27017--logpath=/usr/local/mongodb/ Log/work.log--logappend--auth
Start a ser
Installing MongoDB on RedHat Enterprise, CentOS, or Fedora Linux1. Outline?Note: After the installation of Yum, all processes will be automatically under/usr/bin, such as MONGO, Mongod, Mongostat can be directly cd/usr/bin after direct use.This tutorial lists the basic installation processes for deploying MongoDB on RedHat Enterprise Linux, CentOS
Tags: INIT.D data structure fas www BSP index etc enter auto Linux under MongoDB Service installation
MongoDB 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 betwee
1, download mongodb,mongodb-linux-x86_64-2.4.9.tgz. Unzip, renamed to MongoDB.2,mongodb is similar to green software and can be copied directly to the appropriate directory for use. Cut to/usr/local/webserver.MV mongodb/usr/local/
MongoDB provides a 64-bit installation package for each Linux distribution, and you can download the installation package on the website.: https://www.mongodb.com/download-center#community Download the installation package and unzip the tgz (The following shows the installation on 64-bit Linux). curl-ohttps://fastdl.mongodb.org/
Tags: Java pack ODB image ini tar art default mongdbMongoDB provides a 64-bit installation package for each Linux distribution, and you can download the installation package on the website. : https://www.mongodb.com/download-center#communityDownload the installation package and unziptgz(The following shows the installation on a 64-bit Linux).Curl-o https://fastdl.mongodb.org/
1.Download MongoDB2. unzip the file into a directory and rename it:
[Root@localhost var]# tar-xzvf mongodb-linux-x86_64-enterprise-rhel62-3.4.9.tgz
[Root@localhost var]# mv Mongodb-linux-x86_64-enterprise-rhel62-3.4.9/usr/local/mongodb
the Mongod under the
Tags: file x86 app path latest tar zxvf mongod Pac bin Under Linux: Install MongoDB 1. Download the installation package wget linux/mongodb-linux-x86_64-rhel62-v3.6-latest.tgz 2. Unzip the installation package Tar zxvf linux/
1. Download MongoDB
2. Extract files to a directory, and then rename: [Root@localhost var]# tar-xzvf Mongodb-linux-i686-2.0.1.tar [root@localhost var]# MV Mongodb-linu x-i686-2.0.1/mongodb/Bin Mongod is the MongoDB server process
Label:1. Download the Linux version of MongoDB (note the difference between 32-bit and 64-bit): http://www.mongodb.org/downloads2. Place the downloaded MongoDB installation file mongodb-linux-i686-1.6.5.tgz under/usr/local/3. Unzip TAR-ZXVF
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.