apollo 详解: https://blog.csdn.net/qq_33320785/article/details/80772810

  1. 下载release版本: 1.0
    https://github.com/ctripcorp/apollo/releases
  1. 上传到服务器

    apollo安装_第1张图片

    3.解压

    cd /opt

unzip /opt/apollo-adminservice-1.0.0-github.zip -d apollo-adminservice

unzip /opt/apollo-configservice-1.0.0-github.zip -d apollo-configservice

unzip /opt/apollo-portal-1.0.0-github.zip -d apollo-portal

unzip: 未找到命令

yum -y install zip unzip

  1. 修改config jvm配置
    cd /opt/apollo-configservice/scripts/
    vi startup.sh
    5.启动
    /opt/apollo-configservice/scripts/startup.sh

    jps查看

  2. 修改启动admin

    vim /opt/apollo-adminservice/scripts/startup.sh

    cd /opt/apollo-adminservice/scripts/
    /opt/apollo-adminservice/scripts/startup.sh

  3. 修改启动portal

    vi /opt/apollo-portal/scripts/startup.sh

    cd /opt/apollo-portal/scripts/
    /opt/apollo-portal/scripts/startup.sh 启动一个就行
    7.注意
    修改
    vi /opt/apollo-portal/config/apollo-env.properties