Rate This Document
Findability
Accuracy
Completeness
Readability

Binary Package Installation

  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.1.8.22-stable/clickhouse-server-24.1.8.22.aarch64.rpm --no-check-certificate
    wget https://github.com/ClickHouse/ClickHouse/releases/download/v24.1.8.22-stable/clickhouse-common-static-24.1.8.22.aarch64.rpm  --no-check-certificate
    wget https://github.com/ClickHouse/ClickHouse/releases/download/v24.1.8.22-stable/clickhouse-client-24.1.8.22.aarch64.rpm --no-check-certificate
    
  3. Install the RPM packages.
    1
    2
    3
    rpm -ivh clickhouse-common-static-24.1.8.22.aarch64.rpm
    rpm -ivh clickhouse-client-24.1.8.22.aarch64.rpm
    rpm -ivh clickhouse-server-24.1.8.22.aarch64.rpm
    

    During the installation of clickhouse-server-24.1.8.22.aarch64.rpm, when prompted with "Enter password for the default user", press Enter to continue without setting a password.

  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 has started successfully.
    If clickhouse is displayed in the output, the ClickHouse server has started successfully.
    1
    ps -ef | grep clickhouse
    

  7. Log in to ClickHouse.
    1
    clickhouse client