robo 3t連接_使用robo 3t studio 3t連接到地圖集

robo 3t連接

Robo 3T (formerly Robomongo) is a graphical application to connect to MongoDB. The newest version now includes support for TLS/SSL and SNI which is required to connect to Atlas M0 free tier clusters.

Robo 3T(以前稱為Robomongo )是用于連接MongoDB的圖形應用程序。 現在,最新版本包括對TLS / SSLSNI的支持,這是連接到Atlas M0免費層群集所必需的。

先決條件 (Prerequisites)

  • The latest version of Robo 3T (I’m using Studio 3T)

    最新版本的Robo 3T(我正在使用Studio 3T)
  • Whitelist your public ip address in Atlas, or disable the whitelist by adding 0.0.0.0/0 to your whitelist (Cluster > Security > IP Whitelist)

    在Atlas中將您的公共IP地址列入白名單,或者通過將0.0.0.0/0添加到白名單來禁用白名單(“ 群集”>“安全性”>“ IP白名單” )

  • No network restrictions that block you from using TCP port 27017 to your cluster

    沒有網絡限制阻止您使用TCP端口27017到群集

Once you have installed the latest version, open the application and create your first Atlas profile.

安裝最新版本后,打開應用程序并創建第一個Atlas配置文件。

Image for post
Main Page
主頁

There are 4 tabs/sections for which you need to fill in the details.

您需要填寫4個標簽/部分的詳細信息。

第一步 (First Step)

Image for post
Server Tab/Connection Tab
服務器選項卡/連接選項卡
  • Change the Connection Type from Direct Connection to Replica Set

    連接 類型從直接連接更改為副本集

  • For the section Members, ( To find the members, go to your Atlas browser page, click on “Cluster0” link, then you will see three links in the region subpane. Click the first one to reveal a page whose title is the first entry for member) select the pre-defined localhost entry (by double-clicking on it) and change it to reflect your first cluster member.

    對于“ 成員 ”部分,((要查找成員,請轉到Atlas瀏覽器頁面,單擊“ Cluster0”鏈接,然后您將在區域子窗格中看到三個鏈接。單擊第一個以顯示標題為第一項的頁面) (對于成員)選擇預定義的localhost條目(通過雙擊該條目)并進行更改以反映您的第一個集群成員。

    (Change from

    (從

    localhost:27017 to your matching cluster0-shard-00–00-xxxxx.mongodb.net:27017)

    本地主機:27017到您匹配的群集0-shard-00–00-xxxxx.mongodb.net:27017)

Image for post
  • Use the (+) button to add another member. Double click it and change it to your next member.

    使用( + )按鈕添加另一個成員。 雙擊它,并將其更改為您的下一個成員。

    (Change from the entry it added to your matching

    (將其添加到您匹配的條目中進行更改

    cluster0-shard-00–01-xxxxx.mongodb.net:27017)

    cluster0-shard-00–01-xxxxx.mongodb.net:27017 )

  • Use the (+) button to add another member. Double click it and change it to your next member.

    使用( + )按鈕添加另一個成員。 雙擊它,并將其更改為您的下一個成員。

    (Change from the entry it added to your matching

    (將其添加到您匹配的條目中進行更改

    cluster0-shard-00–02-xxxxx.mongodb.net:27017)

    cluster0-shard-00-02-xxxxx.mongodb.net:27017 )

  • Enter your replica set name into the field Set Name (This is not optional when connecting to Atlas! Not only is it not optional, it’s actually not easy to find.)

    在“設置名稱”字段中輸入您的副本集名稱 (連接到Atlas時這不是可選的!不僅不是可選的,而且實際上也不容易找到。)

After chatting with their tech support people, they told me to find the replica set name in the following way:

與他們的技術支持人員聊天之后,他們告訴我可以通過以下方式找到副本集名稱:

  • From the top-level page for your cluster, click on “Connect”.

    在群集的頂級頁面上,單擊“連接”。
  • Click on “Connect with the Mongo Shell”

    點擊“連接Mongo Shell”
  • Click on “I have the Mongo Shell Installed”

    單擊“我已經安裝了Mongo Shell”
  • Select “3.4 or earlier” as the Mongo Shell version.

    選擇“ 3.4或更早版本”作為Mongo Shell版本。
  • Click the “Copy” button to copy the connection string to the clipboard.

    單擊“復制”按鈕將連接字符串復制到剪貼板。

Now paste that connection string someplace. Here’s what mine looks like:

現在,將該連接字符串粘貼到某個位置。 這是我的樣子:

mongo "mongodb://cluster0-shard-00-00-vkle3.mongodb.net:27017,cluster0-shard-00-01-vkle3.mongodb.net:27017,cluster0-shard-00-02-vkle3.mongodb.net:27017/test?replicaSet=Atlas-shard-0" --ssl --authenticationDatabase admin  --username admin --password <password>

Out of this very long string, you can see the following substring:

在這個很長的字符串中,您可以看到以下子字符串:

replicaSet=Atlas-shard-0

From this, you can see that the name of my replica set is “Atlas-shard-0” (this is case-sensitive!)

由此,您可以看到我的副本集的名稱為“ Atlas-shard-0” (區分大小寫!)

第二步 (SECOND STEP)

Provide your atlas credentials. First, write a username then password and then provide a DB name. initially, you can write test if you’ve not created a DB yet.

提供您的圖集憑據。 首先,輸入用戶名,然后輸入密碼,然后提供數據庫名稱。 最初,如果尚未創建數據庫,則可以編寫測試

Image for post
Auth Tab
驗證標簽

第三步 (THIRD STEP)

Here is what the SSL tab should look like:

這是SSL標簽的外觀:

(For Robo 3T click on use SSL protocol and select self-signed certificate.)

(對于Robo 3T,請單擊“使用SSL協議并選擇自簽名證書”。)

Image for post
SSL Tab
SSL標簽

第四步 (FOURTH STEP)

Do not touch SSH tab, just skip to next.

不要觸摸“ SSH”選項卡,只需跳到下一步。

Image for post
SSH Tab
SSH選項卡

Now test your connection by clicking on the test. If it passes all the checks then it should connect to DB.

現在,通過單擊測試來測試您的連接。 如果它通過所有檢查,則應連接到DB。

Image for post

Thanks for reading.

謝謝閱讀。

Cheers ?

干杯?

翻譯自: https://medium.com/weekly-webtips/connecting-to-atlas-using-robo-3t-studio-3t-dfa66ba804af

robo 3t連接

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/387837.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/387837.shtml
英文地址,請注明出處:http://en.pswp.cn/news/387837.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

JavaWeb--JavaEE

一、JavaEE平臺安裝1、升級eclipseEE插件2、MyEclipse二、配置Eclipse工作空間1.字體設置 2.工作空間編碼 UTF-83.JDK版本指定 4.集成Tomcat Server運行環境5.配置server webapps目錄 端口號 啟動時間等三、創建第一個Web項目1.創建 Web Project2.設置 tomcat、創建web.xml3.目…

軟件需求規格說明書通用模版_通用需求挑戰和機遇

軟件需求規格說明書通用模版When developing applications there will be requirements that are needed on more than one application. Examples of such common requirements are non-functional, cookie consent and design patterns. How can we work with these types of…

python版PCA(主成分分析)

python版PCA&#xff08;主成分分析&#xff09; 在用統計分析方法研究這個多變量的課題時&#xff0c;變量個數太多就會增加課題的復雜性。人們自然希望變量個數較少而得到的信息較多。在很多情形&#xff0c;變量之間是有一定的相關關系的&#xff0c;當兩個變量之間有一定…

干貨|Spring Cloud Bus 消息總線介紹

2019獨角獸企業重金招聘Python工程師標準>>> 繼上一篇 干貨&#xff5c;Spring Cloud Stream 體系及原理介紹 之后&#xff0c;本期我們來了解下 Spring Cloud 體系中的另外一個組件 Spring Cloud Bus (建議先熟悉 Spring Cloud Stream&#xff0c;不然無法理解 Spr…

一類動詞二類動詞三類動詞_基于http動詞的完全無效授權技術

一類動詞二類動詞三類動詞Authorization is a basic feature of modern web applications. It’s a mechanism of specifying access rights or privileges to resources according to user roles. In case of CMS like applications, it needs to be equipped with advanced l…

主成份分析(PCA)詳解

主成分分析法&#xff08;Principal Component Analysis&#xff09;大多在數據維度比較高的時候&#xff0c;用來減少數據維度&#xff0c;因而加快模型訓練速度。另外也有些用途&#xff0c;比如圖片壓縮&#xff08;主要是用SVD&#xff0c;也可以用PCA來做&#xff09;、因…

thinkphp5記錄

ThinkPHP5 隱藏index.php問題 thinkphp模板輸出cookie,session中… 轉載于:https://www.cnblogs.com/niuben/p/10056049.html

portainer容器可視化管理部署簡要筆記

參考鏈接&#xff1a;https://www.portainer.io/installation/ 1、單個宿主機部署in Linux&#xff1a;$ docker volume create portainer_data$ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer 2、單…

證明您履歷表經驗的防彈五步法

How many times have you gotten the question “Tell me more about your work experience at …” or “Describe an experience when you had to overcome a technical challenge”? Is your answer solid and bullet-proof every single time you have to respond? If no…

2018-2019-1 20165231 實驗四 外設驅動程序設計

博客鏈接&#xff1a;https://www.cnblogs.com/heyanda/p/10054680.html 轉載于:https://www.cnblogs.com/Yhooyon/p/10056173.html

如何安裝pylab:python如何導入matplotlib模塊

pylab是python下挺不錯的一個畫圖模塊&#xff0c;使用也非常簡單&#xff0c;記得Mit的計算機科學及編程導論有節課也是用到了這個工具&#xff0c;但這個工具安裝不象用起來那么方便&#xff0c;小編就圖文全程直播下吧 工具/原料 python2.7.10win10 32位方法/步驟 1缺省狀態…

微信掃描二維碼和瀏覽器掃描二維碼 ios和Android 分別進入不用的提示頁面

實現微信掃描二維碼和瀏覽器掃描二維碼 ios和Android 分別進入不用的提示頁面 而進入商城下載該項目 詳情地址&#xff1a;gitee.com/DuJiaHui123… 1.創建完之后 替換文件里面的ios項目地址和Android地址 2.網頁上線 3.百度搜索 二維碼生成 把上線后的地址生成二維碼 4.可以把…

詳解getchar()函數與緩沖區

1、首先&#xff0c;我們看一下這段代碼&#xff1a; 它的簡單意思就是從鍵盤讀入一個字符&#xff0c;然后輸出到屏幕。理所當然&#xff0c;我們輸入1&#xff0c;輸出就是1&#xff0c;輸入2&#xff0c;輸出就是2。 那么我們如果輸出的是12呢&#xff1f; 它的輸出是1。 這…

windows下python安裝Numpy、Scipy、matplotlib模塊

python 2.7 針對2.7的軟件。numpy :http://sourceforge.net/projects/numpy/files/NumPy/1.8.1/ 下載下面的numpy-1.8.2-win32-superpack-python2.7 scipy: http://sourceforge.net/projects/scipy/files/matplotlib:matplotlib-1.1.0.win32-py2.7 以上都是exe文件&#xff0…

restTemplate使用和踩坑總結

日常工作中肯定會遇到服務之間的調用&#xff0c;尤其是現在都是微服務的架構&#xff0c;所以總結一下restTemplate的最常用的用法以及自己踩過的坑。 restTemplate的使用 restTemplate底層調用的是Execute方法&#xff0c;而Execute底層調用的是doExecute&#xff0c;它是基于…

常見編碼總結

本文總結自&#xff1a;https://blog.csdn.net/zmx729618/article/details/51821024 1. ISO 8859-1 字節數&#xff1a;1 范圍&#xff1a;0-255&#xff08;編碼范圍是0x00-0xFF&#xff09;&#xff0c;其中0x00-0x7F之間完全和ASCII一致&#xff08;ASCII是7位編碼&#xff…

啟動一個Java進程

windows版本 startup.bat -------------------------------------------------------- rem --------------------------------------------------------------------------- rem Start SMS Server by zhangjin rem --------------------------------------------------------…

Flask框架從入門到精通之參數配置(二)

知識點&#xff1a; 1、參數配置 一、概況 上一篇我們已經把Flask第一個程序運行起來了&#xff0c;那么這一篇主要講一下Flask參數的配置。 二、配置參數 Flask參數配置方式有很多種&#xff0c;每一種都可以達到結果&#xff0c;在合適的場景選擇合適的配置方式。 配置文件 在…

BP神經網絡python簡單實現

BP神經網絡的原理在網上有很詳細的說明&#xff0c;這里就不打算細說&#xff0c;這篇文章主要簡單的方式設計及實現BP神經網絡&#xff0c;并簡單測試下在恒等計算&#xff08;編碼&#xff09;作測試。 BP神經網絡模型圖如下 BP神經網絡基本思想 BP神經網絡學習過程由信息的…

golang的reflection(轉)(一)

2019獨角獸企業重金招聘Python工程師標準>>> 反射reflection 可以大大提高程序的靈活性&#xff0c;使得interface{}有更大的發揮余地反射可以使用TypeOf和ValueOf函數從接口中獲取目標對象信息反射會將匿名字段作為獨立字段&#xff08;匿名字段的本質&#xff09;…