91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

mongodb Key File文件生成

發布時間:2020-06-20 18:53:18 來源:網絡 閱讀:2857 作者:傳奇庫子 欄目:MongoDB數據庫

參考:http://docs.mongodb.org/manual/tutorial/generate-key-file/

Generate a Key File

Overview

This section describes how to generate a key file to store authentication information. After generating a key file, specify the key file using the keyFile option when starting a mongod or mongos instance.

A key’s length must be between 6 and 1024 characters and may only contain characters in the base64 set. The key file must not have group or world permissions on UNIX systems. Key file permissions are not checked on Windows systems.


1、Create a key file.

Create the key file your deployment will use to authenticate servers to each other.

To generate pseudo-random data to use for a keyfile, issue the following openssl command:


openssl rand -base64 741 > mongodb-keyfile

chmod 600 mongodb-keyfile

chown mongod.mongod mongodb-keyfile


You may generate a key file using any method you choose. Always ensure that the password stored in the key file is both long and contains a high amount of entropy. Using openssl in this manner helps generate such a key.


2、Specify the key file when starting a MongoDB instance.

Specify the path to the key file with the keyFile option.


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

含山县| 陵水| 泌阳县| 喀喇| 那坡县| 新乡市| 尚志市| 扎赉特旗| 阿勒泰市| 新蔡县| 木兰县| 阳山县| 土默特左旗| 冷水江市| 库伦旗| 吐鲁番市| 天长市| 中山市| 沅陵县| 岑溪市| 上杭县| 监利县| 甘南县| 仙居县| 绥中县| 邮箱| 香河县| 彰化市| 长治市| 海原县| 岐山县| 尤溪县| 吉木萨尔县| 万山特区| 烟台市| 阿拉善左旗| 台东县| 南漳县| 沙湾县| 富锦市| 宣城市|