Centos安装clickhouse

[root@localhost clickhouse]# sudo yum install -y yum-utils sudo yum-config-manager --add-repo https://packages.clickhouse.com/rpm/clickhouse.repo

[root@localhost clickhouse]#sudo yum install -y clickhouse-server clickhouse-client

[root@localhost clickhouse]#sudo /etc/init.d/clickhouse-server start

出现如下提示,表示安装成功!
 chown -R clickhouse: '/var/run/clickhouse-server/'
Will run clickhouse su 'clickhouse' /usr/bin/clickhouse-server --config-file /etc/clickhouse-server/config.xml --pid-file /var/run/clickhouse-server/clickhouse-server.pid --daemon
Waiting for server to start
Waiting for server to start
Server started

启动客户端:

[root@localhost clickhouse]#clickhouse-client

ClickHouse client version 22.6.3.35 (official build).
Connecting to localhost:9000 as user default.
Connected to ClickHouse server version 22.6.3 revision 54455.

Warnings:
 * Linux transparent hugepages are set to "always". Check /sys/kernel/mm/transparent_hugepage/enabled

localhost :)

启动成功!

客户端连接:

使用dbeaver连接

Centos安装clickhouse_第1张图片

 

你可能感兴趣的:(软件安装,centos,linux,服务器)