Rate This Document
Findability
Accuracy
Completeness
Readability

Installing etcd

To ensure that the etcd version used for compilation meets the Milvus requirements, it is advised to install etcd 3.5.0 or later.

etcd is a distributed key-value data storage system used for configuration management, service discovery, and distributed coordination. It is an important component for the Milvus runtime, especially in a distributed deployment environment. Correctly configuring and using etcd not only improves system reliability and performance, but also simplifies management and maintenance.

  1. Download the etcd source code.
    • Arm
      1
      wget https://github.com/etcd-io/etcd/releases/download/v3.5.0/etcd-v3.5.0-linux-arm64.tar.gz --no-check-certificate
      
    • x86
      1
      wget https://github.com/etcd-io/etcd/releases/download/v3.5.0/etcd-v3.5.0-linux-amd64.tar.gz --no-check-certificate
      
  2. Decompress the source package.
    • Arm
      1
      tar zxvf etcd-v3.5.0-linux-arm64.tar.gz
      
    • x86
      1
      tar zxvf etcd-v3.5.0-linux-amd64.tar.gz
      
  3. Copy the folder to the specified directory.
    • Arm
      1
      cp -r etcd-v3.5.0-linux-arm64 /usr/local/etcd
      
    • x86
      1
      cp -r etcd-v3.5.0-linux-amd64 /usr/local/etcd
      
  4. Configure environment variables.
    1
    2
    echo "export PATH=/usr/local/etcd:$PATH" >> ~/.bashrc
    source ~/.bashrc
    
  5. Check the version.
    1
    etcd --version
    

    The installation is successful if the following information is displayed:

    1
    2
    3
    4
    etcd Version: 3.5.0
    Git SHA: 946a5a6f2
    Go Version: go1.16.3
    Go OS/Arch: linux/arm64