「ClickHouse」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
|||
第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
外部連結
- 官方網站 (英文)
- ClickHouse的GitHub (英文)