MongoDB Learning Note mongo-connector installation

Source: Internet
Author: User
Tags install openssl openssl

Mongo-connector Installation:

Https://github.com/mongodb-labs/mongo-connector

1. Yum-y Install openssl*

2. Compile and install Python3

: https://www.python.org/ftp/python/

    1. Tar zxvf python-3.5.2.tgz
    2. CD Python-3.5.2
    3. ./configure
    4. Make && make install

(at the end of the installation you can see the prompt that PIP3 has been installed, if prompted require Tls/ssl, stating that Openssl-devel is not installed)

Yum Install Openssl-devel-y

After the 3.PIP3 installation is successful, install the Mongo-connector:

PIP3 install--target=/usr/local/pythonpip/site-packages ' mongo-connector[elastic5] '

4. Start the MONGO cluster

5. Launch ES cluster

6. Run the Connect command:

Mongo-connector-m 192.168.1.151:27017-t 192.168.1.151:9200-d Elastic2_doc_manager

7. Verify that the MongoDB data is synchronized to es:

You are welcome!

MongoDB Learning Note mongo-connector installation

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.