unbuntu怎么安装clickhouse(官方文档)

1,更新keyserver 

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E0C56BD4

2,增加仓库地址 

sudo apt-add-repository "deb http://repo.yandex.ru/clickhouse/xenial stable main"

红字是当前版本unbuntu的代号名称可用如下命令查询

查看当前ubuntu系统的版本信息以及代号名称。

cat /proc/version

lsb_release -a

3:更新软件列表 
sudo apt-get update

4:安装server和client 
sudo apt-get install clickhouse-server-common clickhouse-client -y

命令6:启动sever服务 
sudo service clickhouse-server start 

clickhouse-client

 

你可能感兴趣的:(初始设置)