当前位置:网站首页>tiup mirror init
tiup mirror init
2022-08-01 20:34:00 【添香小铺】
命令 tiup mirror init 用于初始化一个空的镜像。初始化的镜像不包含任何组件和组件管理员,仅生成以下文件:
+ <mirror-dir> # 镜像根目录 |-- root.json # 镜像根证书 |-- 1.index.json # 组件/用户索引 |-- snapshot.json # 镜像最新快照 |-- timestamp.json # 镜像最新时间戳 |--+ keys # 镜像私钥(可移动到其他位置) |-- {hash1..hashN}-root.json # 根证书私钥 |-- {hash}-index.json # 索引私钥 |-- {hash}-snapshot.json # 快照私钥 |-- {hash}-timestamp.json # 时间戳私钥
以上文件的具体作用及内容格式请参考镜像说明。
语法
tiup mirror init <path> [flags]
<path> 为本地目录路径,可以为相对路径。TiUP 会以此路径为镜像文件存放路径,在其中生成文件。若该目录已存在,则必须保证为空,若该目录不存在,则 TiUP 会自动创建。
选项
-k, --key-dir(string,默认 {path}/keys)
指定生成私钥文件的目录。若指定的文件目录不存在,则会自动创建。
输出
- 若成功:无输出
- 若
<path>不为空:Error: the target path '%s' is not an empty directory - 若
<path>不是目录:Error: fdopendir: not a directory
边栏推荐
- OSG Notes: Set DO_NOT_COMPUTE_NEAR_FAR to manually calculate far and near planes
- To promote energy conservation institute 】 【 the opinions of the agricultural water price reform
- 数据库单字段存储多个标签(位移操作)
- 使用Huggingface在矩池云快速加载预训练模型和数据集
- Little data on how to learn?Jida latest small learning data review, 26 PDF page covers the 269 - page document small data learning theory, method and application are expounded
- Zheng Xiangling, Chairman of Tide Pharmaceuticals, won the "2022 Outstanding Influential Entrepreneur Award" Tide Pharmaceuticals won the "Corporate Social Responsibility Model Award"
- 有用的网站
- 【无标题】
- 密码学的基础:X.690和对应的BER CER DER编码
- Digital twin Beijing the imperial palace, yuan universe is the process of tourism
猜你喜欢

使用Huggingface在矩池云快速加载预训练模型和数据集

What is the difference between a utility model patent and an invention patent?Understand in seconds!

AQS原理和介绍

STAHL触摸屏维修一体机显示屏ET-316-TX-TFT常见故障

Zheng Xiangling, Chairman of Tide Pharmaceuticals, won the "2022 Outstanding Influential Entrepreneur Award" Tide Pharmaceuticals won the "Corporate Social Responsibility Model Award"

我的驾照考试笔记(4)

Remove 360's detection and modification of the default browser

面试突击70:什么是粘包和半包?怎么解决?
Godaddy domain name resolution is slow and how to use DNSPod resolution to solve it

LTE时域、频域资源
随机推荐
STAHL触摸屏维修一体机显示屏ET-316-TX-TFT常见故障
【无标题】
Different operating with different locks, rounding
通俗解释:什么是临床预测模型
【节能学院】推进农业水价综合改革的意见解读
【Untitled】
【多任务模型】Progressive Layered Extraction: A Novel Multi-Task Learning Model for Personalized(RecSys‘20)
第60章 ApplicationPart自动集成整体性和独立性插件项
Little data on how to learn?Jida latest small learning data review, 26 PDF page covers the 269 - page document small data learning theory, method and application are expounded
乐观锁批量跟新 纯SQL
【多任务优化】DWA、DTP、Gradnorm(CVPR 2019、ECCV 2018、 ICML 2018)
专利检索常用的网站有哪些?
【无标题】
根据Uniprot ID/PDB ID批处理获取蛋白质.pdb文件
任务调度线程池基本介绍
Use WeChat official account to send information to designated WeChat users
【无标题】
我的驾照考试笔记(4)
iptables的使用简单测试
【Social Media Marketing】How to know if your WhatsApp is blocked?