centos下安装 clickhouse
1. clickhouse的rpm安装包下载地址为:https://packagecloud.io/Altinity/clickhouse
2. 需要下载四个rpm包:client、server、common-static、server-common
3. 安装顺序:
① common-static
② server-common
③ server
④ client
如下图所示
4. 启动服务
service clickhouse-server start
5. 进入客户端
clickhouse-client
控制台会显示
ClickHouse client version 20.8.3.18.
Connecting to localhost:9000 as user default.
Connected to ClickHouse server version 20.8.3 revision 54438.