clickhouse安装

clickhouse安装
在线安装和离线安装

一、环境准备:
1.检查系统是否支持clickhouse安装 (向量化支持)
grep -q sse4_2 /proc/cpuinfo && echo “SSE 4.2 supported” || echo “SSE 4.2 not supported.”

2.下载对应的clickhouse包
复制运行之后,就会将对应的包加入linux
curl -s https://packagecloud.io/install/repositories/Altinity/clickhouse/script.rpm.sh | sudo bash

二、安装(选rpm安装或yum安装或tgz安装)
rpm下载地址(LTS版):https://repo.yandex.ru/clickhouse/rpm/lts/x86_64/
rpm安装:
https://blog.csdn.net/chengyuqiang/article/details/108533427

yum安装:
yum install -y clickhouse-server clickhouse-client

tgz包安装:

  1. tgz包下载仓库地址:
    LTS版本:
    https://repo.clickhouse.tech/tgz/lts/
    stable版本:
    https://repo.clickhouse.tech/tgz/stable/

2)下载tgz包(演示LTS版本安装)
export LATEST_VERSION=$(curl -s https://repo.clickhouse.tech/tgz/lts/ |
grep -E

你可能感兴趣的:(大数据生态,clickhouse,数据库)