https://repo.clickhouse.com/tgz/stable/
下载二进制安装包
解压安装
tar -xzvf clickhouse-common-static-dbg-21.9.4.35.tgz tar -xzvf ... sudo clickhouse-common-static-21.9.4.35/install/doinst.sh sudo clickhouse-client-21.9.4.35/install/doinst.sh sudo clickhouse-common-static-dbg-21.9.4.35/install/doinst.sh
可以在/clickhouse-server-21.9.4.35/etc/clickhouse-server目录下的config.xml和users.xml修改日志路径和登录账户
sudo clickhouse-server-21.9.4.35/install/doinst.sh
clickhouse-server安装完了会提示启动
Start clickhouse-server with:
sudo clickhouse start
本机连接clickhouse的客户端
Start clickhouse-client with:
clickhouse-client --password