1. Download MongoDB, the version downloaded here is: Mongodb-linux-i686-1.8.1.tgz.tar.Http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.1.tgz2. Unzip the file into a directory and rename it:
[Root@localhost src]# tar
The following installation methods are not recommended. See my other blogs, Debian and Ubuntu installation MongoDB
1. Download installation package
32-digit: wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-3.2.7.tgz 64:
wget https://fastdl.mongodb.org/linux/
Tags: Service environment data nbsp http cat latest ini download1. Download the latest stable version of the installation package. [Email protected] mongodb]$ wget-c--no-check-certificate https://fossies.org/linux/misc/mongodb-linux-x86_64-3.2.11.tgz 2. Unzip the installation package. 3. Set environment variables. [Em
Tags: decompression frame private HTM learning management tool learning materials use ChineseBrief introduction Mean is a full stack development framework for JavaScript. More about The storage of persistent data with MongoDB is a part of mean web full stack development. MongoDB is a product between a relational database and a non-relational database, and is the most versatile and most like relational datab
Install the oracle client in linux and the linuxoracle Client
1. Prepare the required installation package.
Oracle-instantclient-basic-10.2.0.5-1.i386.rpmOracle-instantclient-devel-10.2.0.5-1.i386.rpmOracle-instantclient-jdbc-10.2.0.5-1.i386.rpmOracle-instantclient-sqlplus-10.2.0.5-1.i386.rpm
Install oracle-instantclient-basic-10.2.0.5-1.i386.rpm first, install o
Tags: style blog http color os io file dataBackground knowledgeMongoDB is an open source, NoSQL (not just SQL) document database written in C + +.Features: High performance (higher performance), high availability (highly reliable), and automatic scaling (auto-tuning).The structure is similar to JSON.Installation1. Download the installation package Www.mongodb.org/downloadsCurl-o http://downloads.mongodb.org/linux/
1. Download the installation packagewget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.2.tgzUnzip the package after download is completeTar zxf mongodb-linux-i686-1.8.2.tgz2. Install ready to move MongoDB to the/usr/local
C language programming example of MongoDB in Linux
The following describes the C language programming example of MongoDB on the Linux platform.
Assume that MongoDB has been installed.
1. download and install the MongoDB C language
with the previous download! In fact, it should be the tgz file, according to empirical analysis, the download is actually tgz file, displayed as GZ file is only a formal illusion! So, gzip only extracts the outer layer of the compressed package, and actually needs to unzip the TAR archive property!Then, first rename the extracted file plus the tar format:[Email protected] ~]# MV mongodb-linux-x86_64-2.6.4
entry if input MOngo cannot be turned onMongod--dbpath D:\MongoDB\data--logpath D:\MongoDB\logs\MongoDB.log--install--servicename MongoDBRe-enter MOngo to open the2. MongoDB installation in Linuxwget http://fastdl.mongodb.org/linux/mongodb-
download of the problem is indeed! In fact, should be the tgz file, according to experience analysis, download the actual or tgz file, shown as GZ file is just the form of illusion! So gzip only extracts the outer layer of the compressed package, and actually needs to extract the Tar archive attribute!
The extracted file is then renamed with the TAR format:
[Root@test6 ~]# MV mongodb-linux-x86_64-
1. Download MongoDB, here the download version is: mongodb-linux-i686-1.8.1.tgz.tar.
Http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.1.tgz
Related reading:
Install and start MongoDB
1. Download MongoDB, the version downloaded here is: Mongodb-linux-i686-1.8.1.tgz.tarHttp://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.1.tgzRecommended to go to the official website to download the latest version, currently t
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-x86_64-2.6.7.gz under/usr/local/3. Unzip TAR-ZXVF
MongoDBMongod.exe--remove--servicename "MongoDB" PHP operation for MongoDB Web pagehttp://m.blog.csdn.net/article/details?id=50668689 Extensions for different versions of PHP downloadHttp://pecl.php.net/package/mongo/1.6.12/windows Authorization Reason troubleshootingHttp://www.2cto.com/database/201507/420854.htmlhttp://ls-la.me/2015/07/29/mongo-04/ Using tutorialsHttp://www.runoob.com/
server separately:$ Mongod--config/opt/hadoop/mongodb/conf/configsvr.conf20. Three machines start the MONGOs route separately:$ MONGOs--config/opt/hadoop/mongodb/conf/mongos.conf21. Connect to the MONGOs on the BASELINE01:$ MONGO baseline01:2700022. Switch to the Admin database and add shards:mongos> Use adminMongos>db.runcommand ({addshard: "rs0/baseline01:27017,baseline02:27017,baseline03:27017"})Mongos>
Tags: complete issue compression Linux touch time master cluster bytes1. Download the installation package wget http://fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.2.tgz Unzip the package after download is complete Tar zxf mongodb-lin
Install mongodb in linux universal Binary Package, mongodblinuxMonfoDB is an open-source document database that provides common performance, high availability, and automatic scaling.
The record in MongoDB is a document, which is a structure consisting of fields and values. Mongodb documents are similar to JSON objects.
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.