CentOS7-部署测试Apollo

从github上讲源码下载下来

https://github.com/ctripcorp/apollo.git

这两个是打包脚本,打包方式有两种,一种是quick start方式,另一种是打成三个压缩包形式

quick start方式参考如下文档:

https://github.com/ctripcorp/apollo/wiki/Quick-Start

源码地址:

https://github.com/nobodyiam/apollo-build-scripts.git

主要步骤

修改apollo-configservice, apollo-adminservice和apollo-portal的pom.xml,注释掉spring-boot-maven-plugin和maven-assembly-plugin
在根目录下执行mvn clean package -pl apollo-assembly -am -DskipTests=true
复制apollo-assembly/target下的jar包,rename为apollo-all-in-one.jar

压缩包github上面有现成的,如果不需要调整源码,直接从github上下载

https://github.com/ctripcorp/apollo/releases 

 数据库脚本在source code.zip这个压缩包里面,源代码在scripts文件夹里面

猜你喜欢

转载自www.cnblogs.com/reasonzzy/p/11242865.html
今日推荐