当前位置:网站首页>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
边栏推荐
- 第60章 ApplicationPart自动集成整体性和独立性插件项
- 有用的网站
- ARTS_202207W2
- 数字孪生北京故宫,元宇宙推进旅游业进程
- SIPp 安装及使用
- 第57章 业务逻辑之业务实体与数据库表的映射规则定义
- [Multi-task learning] Modeling Task Relationships in Multi-task Learning with Multi-gate Mixture-of-Experts KDD18
- 密码学的基础:X.690和对应的BER CER DER编码
- OSG笔记:设置DO_NOT_COMPUTE_NEAR_FAR,手动计算远近平面
- Godaddy domain name resolution is slow and how to use DNSPod resolution to solve it
猜你喜欢
我的驾照考试笔记(1)
Interview assault 70: what is the glue bag and a bag?How to solve?
Convolutional Neural Network (CNN) mnist Digit Recognition - Tensorflow
数据可视化
Interview Blitz 70: What are sticky packs and half packs?How to deal with it?
用户身份标识与账号体系实践
[Multi-task optimization] DWA, DTP, Gradnorm (CVPR 2019, ECCV 2018, ICML 2018)
Where should I prepare for the PMP exam in September?
虚拟机的IP地址自动变为127.0.0.1
扣减库存方案
随机推荐
【luogu P1912】诗人小G(二分栈)(决策单调性优化DP)
KDD2022 | Self-Supervised Hypergraph Transformer Recommendation System
Hangao data import
瀚高数据导入
Godaddy domain name resolution is slow and how to use DNSPod resolution to solve it
模板特例化和常用用法
useful website
idea插件generateAllSetMethod一键生成set/get方法以及bean对象转换
【kali-信息收集】(1.5)系统指纹识别:Nmap、p0f
[Personal Work] Remember - Serial Logging Tool
漏刻有时文档系统之XE培训系统二次开发配置手册
Custom command to get focus
Zheng Xiangling, Chairman of Tide Pharmaceuticals, won the "2022 Outstanding Influential Entrepreneur Award" Tide Pharmaceuticals won the "Corporate Social Responsibility Model Award"
Postman 批量测试接口详细教程
大整数相加,相减,相乘,大整数与普通整数的相乘,相除
【个人作品】无线网络图传模块
【Untitled】
【无标题】
iptables的使用简单测试
Interview assault 70: what is the glue bag and a bag?How to solve?