下载地址: https://repo.clickhouse.tech/tgz/stable/
下载的包:
clickhouse-common-static
clickhouse-server
clickhouse-client
内存限制设置
vi /etc/clickhouse-server/users.xml
设置数据目录
vi /etc/clickhouse-server/config.xml
手动启动
server启动
systemctl启动
用clickhouse-client连接本机clickhouse-server服务器:
用本机clickhouse-client连接远程clickhouse-server服务器:
3zk-2shards-2replicas)