Clickhouse 23.2.1 安装参考

安装clickhouse

yum install -y yum-utils
rpm --import https://repo.yandex.ru/clickhouse/CLICKHOUSE-KEY.GPG
yum-config-manager --add-repo https://repo.yandex.ru/clickhouse/rpm/stable/x86_64
yum install clickhouse-server clickhouse-client

修改用户验证信息

修改/etc/clickhouse-server/users.xml文件,在标签下设置用户验证信息。比如,我们设定一个用户名为default,密码为123456。

更多设置请参考ClickHouse官方文档。

启动数据库

sudo systemctl enable clickhouse-server
sudo systemctl start clickhouse-server
sudo systemctl status clickhouse-server

登录数据库

clickhouse-client -u default –password 123456

https://github.com/ClickHouse/ClickHouse

快速安装 (Linux, macOS, FreeBSD)
curl https://clickhouse.com/ | sh
作者:Jeebiz  创建时间:2023-12-11 12:08
最后编辑:Jeebiz  更新时间:2024-08-16 11:14