MongoDB Installation and Configuration

Source: Internet
Author: User

Website address: https://www.mongodb.org/

MongoDB is a 32-bit with 64 bits written in C + + due to the limitations of the operating system 32-bit maximum support for 2GB 64-bit unrestricted.

I use the operating system is CentOS 6.5 on the official website download 64-bit binary version mongodb-linux-x86_64-rhel62-3.2.4.gz, unzip can make

CD Yourdir

Tar zxf mongodb-linux-x86_64-rhel62-3.2.4.gz

mkdir data//Create a database folder

mkdir Log//Create Logs folder

CD bin

./mongod-port 27016--dbpath.. /data--logpath. /log/mongodb.log//-port is not written as 27017 by default

If you need to run a background, consider using Nohup

MongoDB comes with MONGO command line directly using the./mongo-port 27016 Connection operation

Other client connections can also be used under Windows I'm using Robomongo.

MongoDB Installation and Configuration

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.