Libmongodtcp remote connection configuration procedure

Source: Internet
Author: User
1. Modify the parameters in etclib1_lib1_d. conf to remove the lib1_d_args -- listen comment in etcsysconfiglib1_d. 3. Modify listen in etclib1_qemu. conf to 0.0.0.0, and remove password comment 4. Run the following command:

 

1. Modify listen_t in/etc/libvirt/lib1_d. conf. Ls= 0listen_t Cp= 1tcp_port = "16509" auth_tcp = "sasl" 2 remove lib1_d_args = "-- listen" from/etc/sysconfig/lib1_d and modify/etc/libvirt/qemu. in conf, the value of listen is 0.0.0.0. Remove the password comment 4 and run the following command: CommandUsers can be added # sasl Passwd2-a libvirt adminPassword: xxxxxxAgain (for verifi CatIon): xxxxxx you can use the following command to view created users # sasldblistusers2-f/etc/libvirt/passwd. dbfr Ed@ T60wlan.home.berrange.com: userPassword5 restart libmongod service OK!
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.