我要评分
获取效率
正确性
完整性
易理解

Installing the Binary File

  1. Create a ClickHouse installation directory, for example, /home/clickhouse. Go to the directory.
    1
    2
    mkdir -p /home/clickhouse
    cd /home/clickhouse
    
  2. Download the RPM packages.
    1
    2
    3
    wget https://github.com/ClickHouse/ClickHouse/releases/download/v24.3.11.7-lts/clickhouse-server-24.3.11.7.aarch64.rpm --no-check-certificate
    wget https://github.com/ClickHouse/ClickHouse/releases/download/v24.3.11.7-lts/clickhouse-common-static-24.3.11.7.aarch64.rpm  --no-check-certificate
    wget https://github.com/ClickHouse/ClickHouse/releases/download/v24.3.11.7-lts/clickhouse-client-24.3.11.7.aarch64.rpm --no-check-certificate
    
  3. Install the RPM packages.
    1
    2
    3
    rpm -ivh clickhouse-common-static-24.3.11.7.aarch64.rpm
    rpm -ivh clickhouse-client-24.3.11.7.aarch64.rpm
    rpm -ivh clickhouse-server-24.3.11.7.aarch64.rpm
    

    When installing clickhouse-server-24.3.11.7.aarch64.rpm, "Enter password for the default user" is displayed. Press Enter to continue the installation.

  4. Check whether the RPM packages are successfully installed.
    1
    rpm -qa | grep clickhouse
    

  5. Start the ClickHouse server.
    1
    clickhouse start
    
  6. Check whether the ClickHouse server is started successfully.
    If "ClickHouse" exists in processes, the server is started successfully.
    1
    ps -ef | grep clickhouse
    

  7. Log in to ClickHouse.
    1
    clickhouse client