{"id":546489,"date":"2021-11-23T18:40:00","date_gmt":"2021-11-23T10:40:00","guid":{"rendered":"http:\/\/4563.org\/?p=546489"},"modified":"2021-11-23T18:40:00","modified_gmt":"2021-11-23T10:40:00","slug":"%e7%94%a8%e8%85%be%e8%ae%af%e4%ba%91%e8%bd%bb%e9%87%8f%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%90%ad%e5%bb%ba%e4%b8%80%e4%b8%aa%e6%bc%82%e4%ba%ae%e7%9a%84%e5%af%bc%e8%88%aa%e4%b8%bb%e9%a1%b5","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=546489","title":{"rendered":"\u7528\u817e\u8baf\u4e91\u8f7b\u91cf\u670d\u52a1\u5668\u642d\u5efa\u4e00\u4e2a\u6f02\u4eae\u7684\u5bfc\u822a\u4e3b\u9875"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>lixiaofei<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u7528\u817e\u8baf\u4e91\u8f7b\u91cf\u670d\u52a1\u5668\u642d\u5efa\u4e00\u4e2a\u6f02\u4eae\u7684\u5bfc\u822a\u4e3b\u9875<\/h3>\n<p>  \t\t\u4e0d\u5c11MJJ\u90fd\u6709\u6f02\u4eae\u7684\u4e2a\u4eba\u5bfc\u822a\u4e3b\u9875\uff0c\u6bcf\u6b21\u770b\u5230\uff0c\u90fd\u53ea\u80fd\u7559\u4e0b\u6ca1\u6280\u672f\u7684\u6cea\u6c34\u3002\u4eca\u5929\uff0c\u65e0\u610f\u95f4\u770b\u5230\u4e86\u4e00\u4e2a\u5f00\u6e90\u7684\u4e3b\u9875\u9879\u76ee\uff0c\u5730\u5740\u662fhttps:\/\/github.com\/bastienwirtz\/homer\uff0c\u770b\u8d77\u6765\u975e\u5e38\u6f02\u4eae\u3002\u56e0\u4e3a\u4f5c\u8005\u63d0\u4f9b\u4e86docker\u955c\u50cf\uff0c\u56e0\u6b64\u5b89\u88c5\u914d\u7f6e\u8d77\u6765\u975e\u5e38\u65b9\u4fbf\uff0c\u4e0b\u9762\u5c31\u662f\u90e8\u7f72\u597d\u540e\u7684\u754c\u9762\uff0c\u770b\u8d77\u6765\u662f\u975e\u5e38\u6e05\u723d\u7684\u3002<\/p>\n<p>  https:\/\/iknow-pic.cdn.bcebos.com\/f636afc379310a552e80a065a54543a9832610fe<\/p>\n<p>  \u6709\u5174\u8da3\u7684mjj\u53ef\u4ee5\u63a5\u7740\u5f80\u4e0b\u770b<\/p>\n<p>  \u5982\u679c\u8fd8\u6ca1\u6709\u670d\u52a1\u5668\uff0c\u9700\u8981\u5148\u8d2d\u4e70\u4e00\u53f0\u670d\u52a1\u5668\uff0c\u6211\u5341\u5206\u63a8\u8350\u826f\u5fc3\u4e91\u7684\u8f7b\u91cf\u670d\u52a1\u5668\uff0c\u5982\u679c\u8fd8\u6ca1\u6709\u4e0a\u8f66\u7684\uff0c\u53ef\u4ee5\u53bb\u817e\u8baf\u4e91\u7684\u5b98\u65b9\u9875\u9762\u8d2d\u4e70\u3002\u8d2d\u4e70\u7684\u8bdd\uff0c\u53ef\u4ee5\u9009\u62e9\u8ddd\u79bb\u6700\u8fd1\u7684\u533a\u57df\u8d2d\u4e70\uff0c\u4e0d\u8fc7\u4e0d\u60f3\u5907\u6848\u7684\u8bdd\uff0c\u53ef\u4ee5\u9009\u62e9\u5883\u5916\u7684\u670d\u52a1\u5668(\u6bd4\u5982\u9999\u6e2f\u533a\u57df)\u8fdb\u884c\u8d2d\u4e70\u3002\u955c\u50cf\u7684\u8bdd\uff0c\u9009\u62e9\u3010\u5b98\u65b9\u955c\u50cf\u3011\u4e0b\u7684\u3010docker\u57fa\u7840\u955c\u50cf\u3011\uff0c\u5b9e\u4f8b\u5957\u9910\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\uff0c\u7136\u540e\u63d0\u4ea4\u8ba2\u5355\uff0c\u4ed8\u6b3e\u5373\u53ef\u3002\u5982\u679c\u4e0d\u9009\u62e9\u3010Docker\u57fa\u7840\u955c\u50cf\u3011\uff0c\u540e\u9762\u9700\u8981\u81ea\u884c\u5b89\u88c5docker\u5bb9\u5668\u3002<\/p>\n<p>  https:\/\/iknow-pic.cdn.bcebos.com\/d833c895d143ad4b5e8f385190025aafa50f06f9<\/p>\n<p>  \u5b89\u88c5Homer<\/p>\n<p>  \u7531\u4e8e\u8fd9\u4e2a\u4e3b\u9875\u9879\u76ee\u63d0\u4f9b\u4e86docker\u955c\u50cf\uff0c\u56e0\u6b64\u5b89\u88c5\u8d77\u6765\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u4e00\u884c\u547d\u4ee4\u5373\u53ef\u3002\u4e3a\u4e86\u65b9\u4fbf\u914d\u7f6e\u4e3b\u9875\u4e0a\u7684\u4fe1\u606f\u548c\u4e0a\u4f20\u56fe\u7247\uff0c\u6211\u4eec\u9700\u8981\u628a\u914d\u7f6e\u6587\u4ef6\u7684\u76ee\u5f55\u6302\u8f7d\u5230\u5bbf\u4e3b\u673a\u7684\u76ee\u5f55\u4e0a\u6765\u65b9\u4fbf\u6211\u4eec\u4fee\u6539\u3002\u547d\u4ee4\u5982\u4e0b<\/p>\n<p>  mkdir -p \/data\/homepage\/assets&nbsp; &nbsp;#\u6211\u662f\u628a\u914d\u7f6e\u6587\u4ef6\u6302\u8f7d\u5230\u5bbf\u4e3b\u673a\u7684\u8fd9\u4e2a\u76ee\u5f55\u4e0b\uff0c\u4e5f\u53ef\u4ee5\u6307\u5b9a\u5230\u81ea\u5df1\u559c\u6b22\u7684\u76ee\u5f55<br \/>  docker run -d -p 8080:8080 -v \/data\/homepage\/assets:\/www\/assets &#8211;restart always b4bz\/homer:latest&nbsp; &nbsp;# \u7136\u540e\u542f\u52a8Docker\u5bb9\u5668\u5373\u53ef<\/p>\n<p>  \u542f\u52a8\u6210\u529f\u540e\uff0c\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\uff0c\u5982\u679c\u80fd\u770b\u5230\u9875\u9762\u6253\u5f00\uff0c\u8bf4\u660e\u5df2\u7ecf\u6210\u529f\u4e86\u4e00\u534a\u4e86\u3002\u8fd9\u4e00\u6b65\u4e00\u822c\u4e0d\u4f1a\u6709\u4ec0\u4e48\u95ee\u9898\u3002\u7531\u4e8e\u6211\u4eec\u8fd8\u6ca1\u6709\u8fdb\u884c\u4efb\u4f55\u7684\u914d\u7f6e\uff0c\u56e0\u6b64\uff0c\u8fd9\u4e2a\u5730\u65b9\u770b\u5230\u7684\u662f\u9ed8\u8ba4\u7684\u4e3b\u9875\u3002\u4e0b\u9762\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u6765\u5c06\u5176\u6539\u6210\u81ea\u5df1\u7684\u5185\u5bb9\u3002<\/p>\n<p>  \u914d\u7f6eHomer<\/p>\n<p>  \u8fdb\u5165\u5230\/data\/homepage\/assets\u76ee\u5f55\u4e0b(\u5982\u679c\u628a\u914d\u7f6e\u6587\u4ef6\u6ca1\u6709\u6302\u8f7d\u5230\u8fd9\u4e2a\u76ee\u5f55\u4e0b\uff0c\u5c31\u5230\u81ea\u5df1\u6302\u8f7d\u7684\u76ee\u5f55\u4e0b\u53bb\u770b)\uff0c\u53ef\u4ee5\u770b\u5230\u91cc\u9762\u591a\u4e86\u4e00\u4e9b\u6587\u4ef6\u548c\u6587\u4ef6\u5939\uff0c\u6211\u4eec\u91cd\u70b9\u5173\u6ce8\u7684\u662fconfig.yml\u6587\u4ef6\u5939\u548ctools\u6587\u4ef6\u5939,config.yaml\u7528\u6765\u914d\u7f6e\u9875\u9762\u4e0a\u663e\u793a\u7684\u5185\u5bb9\uff0c\u800ctools\u6587\u4ef6\u5939\u7528\u6765\u653e\u9875\u9762\u4e0a\u9700\u8981\u7684\u56fe\u7247\u8d44\u6e90\u3002\u7528\u81ea\u5df1\u719f\u6089\u7684\u6587\u672c\u7f16\u8f91\u5de5\u5177\u6253\u5f00config.yml\u8fdb\u884c\u7f16\u8f91\u3002\u91cc\u9762\u7684\u5185\u5bb9\u4e5f\u975e\u5e38\u7b80\u5355\uff0c\u4e00\u770b\u5c31\u660e\u767d\u4e86\u3002\u4e0b\u9762\u7684\u662f\u6211\u7f16\u8f91\u7684\u5185\u5bb9\uff0c\u7f16\u8f91\u597d\u540e\u4fdd\u5b58\u3002<\/p>\n<p>  logo\u7684\u8bdd\u9700\u8981\u56fe\u7247\u8d44\u6e90\uff0c\u628a\u56fe\u7247\u653e\u5230tools\u76ee\u5f55\u4e0b\uff0c\u7136\u540e\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u7528&quot;assets\/tools\/xxxx.png&quot;\u8fdb\u884c\u5f15\u7528\u5373\u53ef<\/p>\n<p>  &#8212;<br \/>  # Homepage configuration<br \/>  # See https:\/\/fontawesome.com\/icons for icons options<\/p>\n<p>  title: &quot;\u6211\u7684\u4e2a\u4eba\u4e3b\u9875&quot;<br \/>  subtitle: &quot;Homer&quot;<br \/>  logo: &quot;logo.png&quot;<br \/>  # icon: &quot;fas fa-skull-crossbones&quot; # Optional icon<\/p>\n<p>  header: true<br \/>  footer: &#8216;\u6536\u96c6\u4e00\u4e9b\u6709\u8da3\u7684\u7f51\u7ad9&#8217; # set false if you want to hide it.<\/p>\n<p>  # Optional message<br \/>  message:<br \/>  #url: https:\/\/b4bz.io<br \/>  style: &quot;is-dark&quot; # See https:\/\/bulma.io\/documentation\/components\/message\/#colors for styling options.<br \/>  title: &quot;\u516c\u544a&quot;<br \/>  icon: &quot;fa fa-grin&quot;<br \/>  content: &quot;\u6b22\u8fce\u8bbf\u95ee\u6211\u7684\u4e2a\u4eba\u4e3b\u9875\uff0c\u5546\u52a1\u5408\u4f5c\u8bf7\u8054\u7cfb\u6211\u7684\u90ae\u7bb1ceo@gmail.com&quot;<\/p>\n<p>  # Optional navbar<br \/>  # links: [] # Allows for navbar (dark mode, layout, and search) without any links<br \/>  links:<br \/>  &#8211; name: &quot;\u6211\u7684\u535a\u5ba2&quot;<br \/>  &nbsp; &nbsp; icon: &quot;fab fa-blog&quot;<br \/>  &nbsp; &nbsp; url: &quot;https:\/\/www.lixf.cc&quot;<br \/>  &nbsp; &nbsp; target: &quot;_blank&quot; # optional html a tag target attribute<br \/>  &#8211; name: &quot;\u6211\u7684github&quot;<br \/>  &nbsp; &nbsp; icon: &quot;fas fa-book&quot;<br \/>  &nbsp; &nbsp; url: &quot;https:\/\/github.com\/lixiaofei123&quot;<\/p>\n<p>  # Services<br \/>  # First level array represent a group.<br \/>  # Leave only a &quot;items&quot; key if not using group (group name, icon &amp; tagstyle are optional, section separation will not be displayed).<br \/>  services:<br \/>  &#8211; name: &quot;\u793e\u4ea4\u7f51\u7ad9&quot;<br \/>  &nbsp; &nbsp; items:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; name: &quot;Awesome app&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;logo: &quot;assets\/tools\/sample.png&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;subtitle: &quot;Bookmark example&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;tag: &quot;app&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;url: &quot;https:\/\/www.reddit.com\/r\/selfhosted\/&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;target: &quot;_blank&quot; # optional html a tag target attribute<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; name: &quot;Another one&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;logo: &quot;assets\/tools\/sample2.png&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;subtitle: &quot;Another application&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;tag: &quot;app&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;url: &quot;#&quot;<br \/>  &#8211; name: &quot;\u5efa\u7ad9\u5fc5\u5907&quot;<br \/>  &nbsp; &nbsp; items: <br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; name: &quot;\u7ad9\u957f\u5de5\u5177&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;logo: &quot;assets\/tools\/chinaz.png&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;subtitle: &quot;\u96c6\u5408\u4e86\u5e38\u89c1\u7684\u7ad9\u957f\u5de5\u5177&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;url: &quot;https:\/\/tool.chinaz.com\/&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;target: &quot;_blank&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; name: &quot;51\u811a\u672c&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;logo: &quot;assets\/tools\/jb.png&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;subtitle: &quot;\u627e\u811a\u672c\uff0c\u6765\u8fd9\u91cc\u5c31\u5bf9\u4e86&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;target: &quot;_blank&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;url: &quot;https:\/\/www.51jb.net&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&#8211; name: &quot;\u817e\u8baf\u4e91&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;logo: &quot;assets\/tools\/qqcloud.png&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;subtitle: &quot;\u56fd\u5185\u9886\u5148\u7684\u4e91\u670d\u52a1\u63d0\u4f9b\u5546&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;target: &quot;_blank&quot;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;url: &quot;https:\/\/curl.qcloud.com&quot;<\/p>\n<p>  \u914d\u7f6e\u5b8c\u6bd5\u540e\uff0c\u65e0\u9700\u91cd\u542fdocker\u5bb9\u5668\uff0c\u5237\u65b0\u9875\u9762\u5c31\u53ef\u4ee5\u770b\u5230\u6211\u4eec\u4fee\u6539\u7684\u5185\u5bb9\u751f\u6548\u4e86\u3002<br \/>  https:\/\/iknow-pic.cdn.bcebos.com\/d833c895d143ad4b5eb3385190025aafa50f0685<\/p>\n<p>  \u597d\u4e86\uff0c\u6211\u4e5f\u6709\u4e00\u4e2a\u6f02\u4eae\u7684\u4e3b\u9875\u5566https:\/\/cdn.jsdelivr.net\/gh\/master-of-forums\/master-of-forums\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>LikeOracle<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u53ef\u4ee5\uff0c\u4e0d\u9519\uff01:lol\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>mlcq<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e0d\u9519\uff0c\u5b66\u4e60\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>kezhao<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e0d\u9519\u3002\u642d\u5efa\u4e2a\u73a9\u73a9\u770b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>youth<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u90ae\u7bb1\u725b\u903c\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u8868\u59b9<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u571f\u8c6a\u554a\uff0c\u6211\u76f4\u63a5\u4e00\u4e2ahtml\u9875\u9762\u4e22GitHub pages\u4e0a\u4e0d\u9999\u5417\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>woniu<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6740\u9e21\u7528\u4e86\u4e00\u4e2a\u5bb0\u725b\u5200 \u54c8\u54c8html\u4e0d\u5c31\u884c\u4e86 \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>MJJ\u5a01\u6b66<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5b66\u4e60\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u544a\u8f9e<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e4b\u524d\u770b\u8fc7\u8fd9\u4e2a\uff0c\u5c31\u662f\u8fd8\u8981\u6539\u914d\u7f6e\u6587\u4ef6\u6709\u70b9\u9ebb\u70e6\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u8d85\u7ea7\u65e0\u654c\u5c0f\u9a6c\u7532<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5e0c\u671b\u6709\u4e2a\u6f14\u793a\u7ad9\uff0c\u53e6\u5916\uff0c\u8fd9\u4e2a\u548c\u76f4\u63a5\u7528\uff28\uff34\uff2d\uff2c\u6709\u4ec0\u4e48\u533a\u522b\u5417\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>lixiaofei \u5927\u4f6c\u6709\u8bdd\u8bf4 :&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/546489"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=546489"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/546489\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=546489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=546489"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=546489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}