Compiling dubbo-rpc-redis
The binary packages available at the Kunpeng mirror site are compiled and packaged based on the open source code, and do not involve vulnerability or bug fixes.
When using open source software, comply with the applicable license.
- Replace the embedded-redis-0.6.jar package in the local repository. (Perform this step for Dubbo 2.7.5 only.)
- Obtain the embedded-redis-0.6.jar package that supports AArch64.
1 2
cd /home wget https://mirrors.huaweicloud.com/kunpeng/maven/com/github/kstyrc/embedded-redis/0.6/embedded-redis-0.6.jar --no-check-certificate
- If no local repository directory exists, create one.
1mkdir -p /root/.m2/repository/com/github/kstyrc/embedded-redis/0.6/
- Replace the embedded-redis-0.6.jar package in the local repository.
1\cp /home/embedded-redis-0.6.jar /root/.m2/repository/com/github/kstyrc/embedded-redis/0.6/embedded-redis-0.6.jar
- Obtain the embedded-redis-0.6.jar package that supports AArch64.
- Go to the dubbo-rpc-redis directory.
1cd dubbo-dubbo-2.6.8/dubbo-rpc/dubbo-rpc-redis/
- Perform the compilation.
1mvn install

If BUILD SUCCESS is displayed, the dubbo-rpc-redis module is compiled successfully.
If the compilation fails, a message is displayed stating "Runtime Can't start redis server. Check logs for...". For details about how to resolve this problem, see Redis Compilation Failure Due to the Redis Server Start-up Failure.
Parent topic: Compiling and Installing Dubbo