Clickhouse 镜像使用帮助

优质
小牛编辑
116浏览
2023-12-01

Debian/Ubuntu 用户

新建 /etc/apt/sources.list.d/clickhouse.list,内容为

deb https://mirrors.tuna.tsinghua.edu.cn/clickhouse/deb/stable/ main/

RHEL/CentOS 用户

新建 /etc/yum.repos.d/clickhouse.repo,内容为

[repo.yandex.ru_clickhouse_rpm_stable_x86_64]
name=clickhouse stable
baseurl=https://mirrors.tuna.tsinghua.edu.cn/clickhouse/rpm/stable/x86_64
enabled=1