MongoDB Build-up

Source: Internet
Author: User
Tags install mongodb

1, Vi/etc/yum.repos.d/mongodb-org-3.2.repo 2, add the following [Mongodb-org-3.2]name=mongodb REPOSITORYBASEURL=HTTPS://REPO.M ongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/gpgcheck=1enabled=1gpgkey=https://www.mongodb.org/ STATIC/PGP/SERVER-3.2.ASC 3, installing MongoDB yum-y install mongodb-org 4, modifying the configuration file will Bindip: remove (bound IP) 5, modify kernel parameters # echo never &G T /sys/kernel/mm/redhat_transparent_hugepage/enabled# echo never >/sys/kernel/mm/redhat_transparent_hugepage/ Defrag 6, modify the file descriptor vim/etc/security/limits.conf Add the following:

Mongod Soft Nofile 64000

Mongod Hard Nofile 64000

Mongod Soft Nproc 32000

Mongod Hard Nproc 32000 7, start MongoDB service/etc/init.d/mongd start

MongoDB Build-up

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.