ClickHouse/docs/_includes/install/deb.sh
Ivan Blinkov b028288350
Switch to httpS://repo.clickhouse.tech for deb packages (#10529)
* Switch to httpS://repo.clickhouse.tech for deb packages

* deduplicate install instructions
2020-04-28 19:39:50 +03:00

12 lines
393 B
Bash

sudo apt-get install apt-transport-https ca-certificates dirmngr
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E0C56BD4
echo "deb https://repo.clickhouse.tech/deb/stable/ main/" | sudo tee \
/etc/apt/sources.list.d/clickhouse.list
sudo apt-get update
sudo apt-get install -y clickhouse-server clickhouse-client
sudo service clickhouse-server start
clickhouse-client