{"id":29,"date":"2024-04-23T18:04:32","date_gmt":"2024-04-23T10:04:32","guid":{"rendered":"https:\/\/49.235.138.13\/?p=29"},"modified":"2025-05-13T23:23:47","modified_gmt":"2025-05-13T15:23:47","slug":"docker%e5%ae%b9%e5%99%a8%e6%90%ad%e5%bb%batmate%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/xiaoxiaoxiaoyu.com\/?p=29","title":{"rendered":"docker\u5bb9\u5668\u642d\u5efatmate\u670d\u52a1\u5668"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u672c\u6b21\u642d\u5efatmate \u670d\u52a1\u5668\u9009\u7528ubuntu18.04\u57fa\u7840\u955c\u50cf<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u8fdb\u5165docker\u5bb9\u5668\u5185\u66f4\u65b0apt-get<\/li>\n\n\n\n<li>\u5b89\u88c5\u57fa\u7840\u5de5\u5177 vim\uff1aapt install vim\uff0c\u6dfb\u52a0ubuntu18.04\u7684apt\u4e0b\u8f7d\u6e90\u81f3\/etc\/apt\/source.list<\/li>\n\n\n\n<li>\u5b89\u88c5aclocal\uff1aapt-get install automake<\/li>\n\n\n\n<li>error: possibly undefined macro: AC_SEARCH_LIBS\uff1a \u7f3a\u5c11pkgconf\uff1a apt-get install pkg-config\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u9700\u8981\u91cd\u65b0\u914d\u7f6e\uff1aautoreconf -i &#8211;force<\/li>\n\n\n\n<li>&#8220;error: libevent not found&#8221;\uff1aapt-get install libevent-dev<\/li>\n\n\n\n<li>\u7f3a\u5c11&#8221;curses\uff1aapt-get install libncurses5-dev<br>7.configure: error: &#8220;msgpack >= 1.2.0 not found&#8221; \uff1aapt install libmsgpack-dev<\/li>\n\n\n\n<li>configure: error: &#8220;libssh >= 0.7.0 not found&#8221;\uff1aapt-get install libssh-dev<\/li>\n\n\n\n<li>\u7f3a\u5c11locale-gen\u5de5\u5177\uff1a apt-get -y install locales\uff0clocale-gen &#8220;en_US.UTF-8&#8221;<\/li>\n\n\n\n<li>\u5b89\u88c5openssh\uff1aapt-get install ssh\uff0c\u7136\u540e\u751f\u6210\u5bc6\u94a5<\/li>\n\n\n\n<li>\u4ecegit\u4e0a\u62c9\u53bbtmate\u670d\u52a1\u5668\u6e90\u7801\uff0cdocker cp\u81f3\u5bb9\u5668\u5185\u7f16\u8bd1\u5b89\u88c5 .\/autogen.sh &amp;&amp; .\/configure &amp;&amp; make<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p class=\"text-justify\">\u672c\u6b21\u642d\u5efatmate \u670d\u52a1\u5668\u9009\u7528ubuntu18.04\u57fa\u7840\u955c\u50cf<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-8"],"_links":{"self":[{"href":"https:\/\/xiaoxiaoxiaoyu.com\/index.php?rest_route=\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xiaoxiaoxiaoyu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiaoxiaoxiaoyu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiaoxiaoxiaoyu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiaoxiaoxiaoyu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29"}],"version-history":[{"count":1,"href":"https:\/\/xiaoxiaoxiaoyu.com\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":30,"href":"https:\/\/xiaoxiaoxiaoyu.com\/index.php?rest_route=\/wp\/v2\/posts\/29\/revisions\/30"}],"wp:attachment":[{"href":"https:\/\/xiaoxiaoxiaoyu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiaoxiaoxiaoyu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiaoxiaoxiaoyu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}