Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling dubbo- registry-consul

  1. Go to the dubbo- registry-consul directory.
    1
    cd /home/Dubbo/dubbo-dubbo-2.7.5/dubbo-registry/dubbo-registry-consul/
    
  2. Compile the dubbo-registry-consul module.
    1
    mvn install
    

    If the error message "EmbeddedConsul Could not start Consul process in ..." is displayed during the compilation, store the consul_1.1.0_linux_arm64.zip package of the ARM64 version to the local /tmp/embedded-consul-1.1.0 directory.

    1. Obtain the consul_1.1.0_linux_arm64.zip package.
      1
      wget https://releases.hashicorp.com/consul/1.1.0/consul_1.1.0_linux_arm64.zip --no-check-certificate
      
    2. Decompress the .zip package.
      1
      unzip consul_1.1.0_linux_arm64.zip
      

    3. Move the .zip package to the directory.
      1
      mv consul_1.1.0_linux_arm64.zip /tmp/embedded-consul-1.1.0/consul.zip
      
    4. Move the decompressed consul file to the directory.
      1
      mv consul /tmp/embedded-consul-1.1.0/consul
      

  3. Recompile the dubbo-registry-consul module.
    1
    mvn install
    

    If BUILD SUCCESS is displayed, the dubbo-registry-consul module is compiled successfully.