linux 安装clickhouse

六月ゝ 毕业季﹏ 提交于 2020-08-14 05:32:46

linux 安装clickhouse
https://www.cnblogs.com/change4now/p/11443882.html
https://blog.csdn.net/weixin_34248487/article/details/91636006
https://blog.csdn.net/otmqixi/article/details/81564515
https://www.cnblogs.com/tsxylhs/p/7837707.html
https://blog.csdn.net/zwq_zwq_zwq/article/details/80791226
安装yum:
https://blog.csdn.net/qq805934132/article/details/82901568
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-167.el7.centos.noarch.rpm
安装软件包
rpm -ivh python-*
rpm -ivh yum-*
安装clickhouse:
curl -s https://packagecloud.io/install/repositories/Altinity/clickhouse/script.rpm.sh | sudo bash

mwget http://repo.red-soft.biz/repos/clickhouse/stable/el7/clickhouse-client-1.1.54236-4.el7.x86_64.rpm
mwget http://repo.red-soft.biz/repos/clickhouse/stable/el7/clickhouse-compressor-1.1.54236-4.el7.x86_64.rpm
mwget http://repo.red-soft.biz/repos/clickhouse/stable/el7/clickhouse-debuginfo-1.1.54236-4.el7.x86_64.rpm
mwget http://repo.red-soft.biz/repos/clickhouse/stable/el7/clickhouse-server-1.1.54236-4.el7.x86_64.rpm
mwget http://repo.red-soft.biz/repos/clickhouse/stable/el7/clickhouse-server-common-1.1.54236-4.el7.x86_64.rpm

rpm -ivh clickhouse-server-common-1.1.54236-4.el7.x86_64.rpm
rpm -ivh clickhouse-server-1.1.54236-4.el7.x86_64.rpm
rpm -ivh libtool-ltdl-2.4.2-21.el7_2.x86_64.rpm
rpm -ivh clickhouse-debuginfo-1.1.54236-4.el7.x86_64.rpm
rpm -ivh clickhouse-compressor-1.1.54236-4.el7.x86_64.rpm

rpm -ivh clickhouse-compressor-1.1.54236-4.el7.x86_64.rpm

error: Failed dependencies:
        libicudata.so.50()(64bit) is needed by clickhouse-server-1.1.54236-4.el7.x86_64
        libicui18n.so.50()(64bit) is needed by clickhouse-server-1.1.54236-4.el7.x86_64
        libicuuc.so.50()(64bit) is needed by clickhouse-server-1.1.54236-4.el7.x86_64
        libltdl.so.7()(64bit) is needed by clickhouse-server-1.1.54236-4.el7.x86_64
        libodbc.so.2()(64bit) is needed by clickhouse-server-1.1.54236-4.el7.x86_64
[root@iZm5eda5rrj1g6yk8retekZ clickhose]# rpm -ivh libtool-ltdl-2.4.2-21.el7_2.x86_64.rpm
error: open of libtool-ltdl-2.4.2-21.el7_2.x86_64.rpm failed: No such file or directory
[root@iZm5eda5rrj1g6yk8retekZ clickhose]# rpm -ivh clickhouse-debuginfo-1.1.54236-4.el7.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:clickhouse-debuginfo-1.1.54236-4.################################# [100%]
[root@iZm5eda5rrj1g6yk8retekZ clickhose]# rpm -ivh clickhouse-compressor-1.1.54236-4.el7.x86_64.rpm
error: Failed dependencies:
        libicudata.so.50()(64bit) is needed by clickhouse-compressor-1.1.54236-4.el7.x86_64
        libicui18n.so.50()(64bit) is needed by clickhouse-compressor-1.1.54236-4.el7.x86_64
        libicuuc.so.50()(64bit) is needed by clickhouse-compressor-1.1.54236-4.el7.x86_64
        libltdl.so.7()(64bit) is needed by clickhouse-compressor-1.1.54236-4.el7.x86_64
        libodbc.so.2()(64bit) is needed by clickhouse-compressor-1.1.54236-4.el7.x86_64

https://blog.csdn.net/daletxt/article/details/104524177/


This system is not registered with an entitlement server. You can use subscription-manager to register.
https://blog.csdn.net/oraoharu/article/details/106808108

sudo yum install -y clickhouse-server clickhouse-client

sudo service clickhouse-server start

https://blog.csdn.net/JIANG123456T/article/details/77674857?utm_medium=distribute.pc_relevant_download.none-task-blog-baidujs-1.nonecase&depth_1-utm_source=distribute.pc_relevant_download.none-task-blog-baidujs-1.nonecase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!