Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and run ClickHouse

2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to install and run ClickHouse, with a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Prepare a server for CentOS7

1. Add the official warehouse first.

Sudo yum install yum-utils

Sudo rpm-- import https://repo.clickhouse.tech/CLICKHOUSE-KEY.GPG

Sudo yum-config-manager-- add-repo https://repo.clickhouse.tech/rpm/stable/x86_64

two。 Install server and client

Sudo yum install clickhouse-server clickhouse-client

3. Start the service

Sudo systemctl start clickhouse-server.service

4. Profile location

/ etc/clickhouse-server/config.xml

The default profile configuration log address is / var/log/clickhouse-server/clickhouse-server.log

Connect to clickhouse. You can log in without a password by default using default users.

[root@htyy96 clickhouse-server] # clickhouse-clientClickHouse client version 21.2.4.6 (official build). Connecting to localhost:9000 as user default.Connected to ClickHouse server version 21.2.4 revision 54447.htyy96:) Thank you for reading this article carefully. I hope the article "how to install and run ClickHouse" shared by the editor will be helpful to you. At the same time, I hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 210

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report