<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss
  version="2.0"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  
>
  <channel>
    <title>Apollo on 从左到东</title>
    <link>/tags/apollo/</link>
    <description>Recent content in Apollo on 从左到东</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Thu, 21 Nov 2024 13:30:41 +0800</lastBuildDate>
    <atom:link href="/tags/apollo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>apollo配置中心</title>
      <link>/post/%E6%8A%80%E6%9C%AF%E7%9B%B8%E5%85%B3/%E5%B8%B8%E7%94%A8%E5%B7%A5%E5%85%B7/apollo%E9%85%8D%E7%BD%AE%E4%B8%AD%E5%BF%83/</link>
      <pubDate>Thu, 21 Nov 2024 13:30:41 +0800</pubDate>
      <guid>/post/%E6%8A%80%E6%9C%AF%E7%9B%B8%E5%85%B3/%E5%B8%B8%E7%94%A8%E5%B7%A5%E5%85%B7/apollo%E9%85%8D%E7%BD%AE%E4%B8%AD%E5%BF%83/</guid>
      <description>&lt;p&gt;1.下载&#xA;git clone &lt;a href=&#34;mailto:git@gitcode.net&#34;&gt;git@gitcode.net&lt;/a&gt;:mirrors/ctripcorp/apollo.git&lt;/p&gt;&#xA;&lt;ol start=&#34;2&#34;&gt;&#xA;&lt;li&gt;数据库配置&#xA;a.scripts/sql/apolloconfigdb.sql&#xA;b.scripts/sql/apolloportaldb.sql&#xA;3.修改build.sh&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# apollo config db info&#xA;apollo_config_db_url=&amp;#39;jdbc:mysql://127.0.0.1:3306/ApolloConfigDB?characterEncoding=utf8&amp;#39;&#xA;apollo_config_db_username=&amp;#39;ace&amp;#39;&#xA;apollo_config_db_password=&amp;#39;123456&amp;#39;&#xA;&#xA;# apollo portal db info&#xA;apollo_portal_db_url=&amp;#39;jdbc:mysql://127.0.0.1:3306/ApolloPortalDB?characterEncoding=utf8&amp;#39;&#xA;apollo_portal_db_username=&amp;#39;ace&amp;#39;&#xA;apollo_portal_db_password=&amp;#39;123456&amp;#39;&#xA;&#xA;# meta server url, different environments should have different meta server addresses&#xA;dev_meta=http://localhost:8080&#xA;fat_meta=http://localhost:8080&#xA;uat_meta=http://localhost:8080&#xA;pro_meta=http://localhost:8080&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;4.修改项目配置，修改日志路径&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;apollo-adminservice/src/main/resources/application.yml&#xA;apollo-configservice/src/main/resources/application.yml&#xA;apollo-portal/src/main/resources/application.yml&#xA;logging:&#xA;  file:&#xA;    name: /Users/zuoerdong/var/logs/apollo-adminservice.log&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;5.编译scripts/build.sh&#xA;6.运行，注意先检查8080，8090，8070端口&#xA;java -jar apollo-configservice/target/apollo-configservice-2.2.0-SNAPSHOT.jar&#xA;java -jar apollo-adminservice/target/apollo-adminservice-2.2.0-SNAPSHOT&#xA;java -jar apollo-portal/target/apollo-portal-2.2.0-SNAPSHOT.jar&#xA;7.后台管理界面：http://localhost:8070/，默认apollo/admin&lt;/p&gt;</description>
      
    </item>
  </channel>
</rss>
