当前位置:网站首页>TiUP 术语及核心概念
TiUP 术语及核心概念
2022-07-30 14:50:00 【添香小铺】
本文主要说明 TiUP 的重要术语和核心概念。
TiUP 组件
TiUP 程序只包含少数几个命令,用来下载、更新、卸载组件。TiUP 通过各种组件来扩展其功能。组件是一个可以运行的程序或脚本,通过 tiup <component> 运行组件时,TiUP 会添加一组环境变量,并为该程序创建好对应的数据目录,然后运行该程序。
通过运行 tiup <component> 命令,你可以运行支持的 TiUP 组件,其中运行的逻辑为:
如果用户通过
tiup <component>[:version]运行指定某个组件的特定版本:- 组件在本地未安装任何版本,则从镜像服务器下载最新稳定版本
- 组件在本地安装有其他版本,但是没有用户指定的版本,则从镜像服务器下载用户指定版本
- 如果本地已经安装指定版本,则设置环境变量来运行已经安装的版本
如果用户通过
tiup <component>运行某个组件,且未指定任何版本:- 组件在本地未安装任何版本,则从镜像服务器下载最新稳定版本
- 如果本地已经安装部分版本,则设置环境变量来运行已经安装的版本中的最新版本
TiUP 镜像仓库
TiUP 的所有组件都从镜像仓库 (mirrors) 下载,镜像仓库包含各个组件的 TAR 包以及对应的元信息(版本、入口启动文件、校验和)。TiUP 默认使用 PingCAP 官方的镜像仓库。用户可以通过 TIUP_MIRRORS 环境变量自定义镜像仓库。
镜像仓库可以是本地文件目录或在线 HTTP 服务器:
TIUP_MIRRORS=/path/to/local tiup listTIUP_MIRRORS=https://private-mirrors.example.com tiup list
边栏推荐
猜你喜欢

golang modules初始化项目

GeoServer + openlayers

(Crypto必备干货)详细分析目前NFT的几大交易市场

基于5G的仓储信息化解决方案2022

Local Transactions vs Distributed Transactions

【云原生】服务行业案例-不可预测的并发场景解决方案

Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
![[Cloud native] Alibaba Cloud ARMS business real-time monitoring](/img/e7/55f560196521d22f830b2caf110e34.png)
[Cloud native] Alibaba Cloud ARMS business real-time monitoring

71页全域旅游综合整体解决方案2021 ppt

定时任务 corn
随机推荐
GeoServer + openlayers
ISELED---the new choice of ambient lighting scheme
Example of video switching playback (video switching example) code
Flink优化
RISC-V调用惯例
golang modules初始化项目
HUAWEI CLOUD Releases Open Source Software Governance Service - Software Component Analysis
SEATA distributed transaction
分布式限流 redission RRateLimiter 的使用及原理
canal抓取数据
Alluxio for Presto fu can across the cloud self-service ability
Kubernetes应用管理深度剖析
golang modules initialization project
How is the B+ tree index page size determined?
This editor actually claims to be as fast as lightning!
5G-based Warehousing Informatization Solution 2022
InputStream和OutputStream流的使用
952. 按公因数计算最大组件大小 : 枚举质因数 + 并查集运用题
如何做好技术选型
The highest level of wiring in the computer room, the beauty is suffocating