clickhouse-22.2.2.1-2.rpm离线安装包包含clickhouse-common-static-22.2.2.1-2.x86_64.rpm,clickhouse-client-22.2.2.1-2.noarch.rpm,clickhouse-server-22.2.2.1-2.noarch.rpm共3个离线安装rpm包。
安装:
rpm -ivh clickhouse-common-static-22.2.2.1-2.x86_64.rpm
rpm -ivh clickhouse-server-22.2.2.1-2.noarch.rpm
rpm -ivh clickhouse-client-22.2.2.1-2.noarch.rpm
clickhouse start
vi /etc/clickhouse-server/config.xml
vi /etc/clickhouse-server/users.xml
修数据库目录到大容量磁盘
如果要组成集群只要分别安装单机之后再配置/etc/metrika.xml 指定相互间的分片和备份情况即可。
1