ClickHouse:修订间差异

来自Gea-Suan Lin's Wiki
跳到导航 跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
无编辑摘要
第5行: 第5行:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 8919F6BD2B48D754; echo "deb https://packages.clickhouse.com/deb stable main" | sudo tee /etc/apt/sources.list.d/clickhouse.list; sudo apt update; sudo apt install clickhouse-client clickhouse-server
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 8919F6BD2B48D754; echo "deb https://packages.clickhouse.com/deb stable main" | sudo tee /etc/apt/sources.list.d/clickhouse.list; sudo apt update; sudo apt install clickhouse-client clickhouse-server
</syntaxhighlight>
== 啟動 ==
預設是不會啟動的,需要手動啟動:
<syntaxhighlight lang="bash">
sudo service clickhouse-server
</syntaxhighlight>
如果希望開機自動跑起來的話需要設定:
<syntaxhighlight lang="bash">
sudo systemctl enable clickhouse-server
</syntaxhighlight>
</syntaxhighlight>



2022年7月14日 (四) 17:59的版本

ClickHouse是一个OLAP数据库。

安装

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 8919F6BD2B48D754; echo "deb https://packages.clickhouse.com/deb stable main" | sudo tee /etc/apt/sources.list.d/clickhouse.list; sudo apt update; sudo apt install clickhouse-client clickhouse-server

启动

预设是不会启动的,需要手动启动:

sudo service clickhouse-server

如果希望开机自动跑起来的话需要设定:

sudo systemctl enable clickhouse-server

外部链接