美文网首页
ClickHouse安装

ClickHouse安装

作者: liuzx32 | 来源:发表于2018-12-29 18:32 被阅读18次

    #refer:https://github.com/Altinity/clickhouse-rpm-install
    #refer:https://github.com/Altinity/clickhouse-rpm-install#install-packages-after-script

    Centos安装

    Install script,Ensure curl is installed on the system

    $sudo yum install -y curl
    $curl -s https://packagecloud.io/install/repositories/altinity/clickhouse/script.rpm.sh|sudo bash
    $sudo yum list'clickhouse*'

    ClickHouse packages should be listed as available, something like this:

    Available Packages

    clickhouse-client.x86_64                18.1.0-1.el7            Altinity_clickhouse
    clickhouse-common-static.x86_64        18.1.0-1.el7            Altinity_clickhouse
    clickhouse-compressor.x86_64            1.1.54336-3.el7          Altinity_clickhouse
    clickhouse-debuginfo.x86_64            18.1.0-1.el7            Altinity_clickhouse
    clickhouse-mysql.noarch                0.0.20180319-1          Altinity_clickhouse
    clickhouse-server.x86_64                18.1.0-1.el7            Altinity_clickhouse
    clickhouse-server-common.x86_64        18.1.0-1.el7            Altinity_clickhouse
    clickhouse-test.x86_64                  18.1.0-1.el7            Altinity_clickhouse

    #Install clickhouse

    $sudo yum install -y clickhouse-server clickhouse-client
    $sudo yum list installed'clickhouse*'

    #start clickhouse

    $sudo /etc/init.d/clickhouse-server restart

    #connect clickhouse

    $clickhouse-client

    #Other

    $sudo yum install -y pygpgme yum-utils
    $sudo yum -q makecache -y --disablerepo='*'--enablerepo='altinity_clickhouse'

    #

    相关文章

      网友评论

          本文标题:ClickHouse安装

          本文链接:https://www.haomeiwen.com/subject/zypplqtx.html