How to test MongoDB

Source: Internet
Author: User

First, Environment construction

About the environment, the best way to build, of course, is the script one-click Build

I am here to build on CENTOS6 x64 version of Linux, this Linux version should now be the standard version of most mainstream servers

Here's how the installation script is written:

#!/bin/bash# Software Name: mongodb# version: X64inst_home_dir=/usr/local/exe/mongodb# software image URL=http://Log.qa.huayu.nd:7777/softwares# software Name name=mongodb-linux-x86_64# Software Release version=3.0.2suffix=Gzpackage= $name-$version. $suffixsoft= $name-$versionif[!-F"$package"]; Then    wget$url/$packagefiTarZXVF $packagesudo MV$soft $inst _home_dirsudoGroupadd MongoDBsudoUseradd MongoDB-g MONGODBCD/usr/local/exe;sudo Chown-R Mongodb:mongodb MongoDBsudo mkdir-p/data/Mg_datasudo mkdir-p/data/Logs$inst_home_dir/bin/mongod--dbpath=/data/mg_data--logpath/data/logs/mg_log.log-Forkexit0

Second, the basic function test

Third, benchmark performance test

IV. Application Integration Testing

How to test MongoDB

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.