{"id":510,"date":"2021-08-17T22:05:02","date_gmt":"2021-08-17T14:05:02","guid":{"rendered":"https:\/\/dasmz.com\/?p=510"},"modified":"2022-04-16T01:24:34","modified_gmt":"2022-04-15T17:24:34","slug":"%e5%9f%ba%e4%ba%8edocker%e5%bf%ab%e9%80%9f%e9%83%a8%e7%bd%b2nextcloud%e7%a7%81%e6%9c%89%e4%ba%91-2021-8-17","status":"publish","type":"post","link":"https:\/\/dasmz.com\/?p=510","title":{"rendered":"\u57fa\u4e8edocker\u5feb\u901f\u90e8\u7f72Nextcloud\u79c1\u6709\u4e91 2021-8-17"},"content":{"rendered":"\n<p>\u9700\u6c42\u63cf\u8ff0<\/p>\n\n\n\n<p>\u5feb\u901f\u90e8\u7f72Nextcloud\u79c1\u6709\u4e91\u76d8\uff0c\u642d\u914dTransmission\u670d\u52a1\uff0c\u5b9e\u73b0BT\u4e0b\u8f7d\uff0c\u4e91\u64ad\u653e\uff0c\u6df7\u5408\u5b9e\u73b0<\/p>\n\n\n\n<p>2021-12-30 \u66f4\u65b0\u535a\u5ba2\uff0c\u589e\u52a0ocDownloader\u7684\u5185\u5bb9\uff0cocDownloader\u5728docker\u7684nextcloud\u8fd9\u8fb9\u6709\u70b9\u95ee\u9898\uff0c\u6682\u4e0d\u63a8\u8350<\/p>\n\n\n\n<p>\u63a8\u8350\u7684\u670d\u52a1\u5668\u914d\u7f6e 2\u6838\u5fc3 1.5GB\u5185\u5b58 12G SSD\u7cfb\u7edf\u76d8  1TB HDD\u76f4\u901a\u786c\u76d8\u4f5c\u4e3a\u6570\u636e\u76d8<\/p>\n\n\n\n<p>\u90e8\u7f72\u6b65\u9aa4<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/ \u521b\u5efa\u9700\u8981\u7684\u76ee\u5f55\n\/\/ <meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">\/var\/www\/nextcloud \u4e3a\u9700\u8981\u7684Nextcloud WEB\u6587\u4ef6\u76ee\u5f55\n\/\/ <meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">\/media\/vData \u4e3a\u76f4\u901a\u76841TB HDD\u786c\u76d8\u7684\u6302\u8f7d\u76ee\u5f55\nroot@debian:~# mkdir -p \/var\/www\/nextcloud \/media\/vData\n\n\/\/ <meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">\/media\/HDD1TB\u5728\u670d\u52a1\u5668\u73af\u5883\u91cc\u7684\u6302\u8f7d\u76ee\u5f55\n<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">root@debian:~# docker run -d --name myNext -p 9888:80 -v \/var\/www\/nextcloud:\/var\/www\/html -v \/media\/HDD1TB:\/var\/www\/vDISK nextcloud\n\n\/\/ \u6d4f\u89c8\u5668\u6253\u5f00 http:\/\/10.11.11.109:9888\/ \u521d\u59cb\u5316\u8bbe\u7f6e\u7528\u6237\u540d\n\n\/\/ \u518d\u6b21\u6253\u5f00 <meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">http:\/\/10.11.11.109:9888\/\n\n\/\/ \u8fdb\u884cNextcloud\u914d\u7f6e\n-- \u53f3\u4e0a\u89d2\u843d - setting - Personal info - Language - \u7b80\u4f53\u4e2d\u6587\n-- \u53f3\u4e0a\u89d2\u843d - \u5e94\u7528 - External storage support - Enable \u542f\u7528\n--                 Preview Generator - \u4e0b\u8f7d\u5e76\u542f\u7528\uff0c\u89c6\u9891\u9884\u89c8\u3002\n-- \u53f3\u4e0a\u89d2\u843d - \u8bbe\u7f6e - \u7ba1\u7406 - \u5916\u90e8\u5b58\u50a8 \n-- \u53f3\u4e0a\u89d2\u843d - \u8bbe\u7f6e - \u4e2a\u4eba - \u5916\u90e8\u5b58\u50a8 - \u52fe - \u7ea2\u8272\u53d8\u7eff\u8272\n+ \u76ee\u5f55\u540d\u79f0 HDD1TB\n+ \u5916\u90e8\u5b58\u50a8 \u672c\u5730\n+ \u8ba4\u8bc1 \u65e0\n+ \u914d\u7f6e \/var\/www\/<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">vDISK\n+ \u53ef\u7528\u4e8e admin\u5206\u7ec4\n\n\/\/ ocDownloader\u5728docker\u4e4b\u7c7b\u6709\u70b9\u95ee\u9898\uff0c\u6682\u4e0d\u63a8\u8350\n\/\/ -- \u53f3\u4e0a\u89d2\u843d - \u5e94\u7528 - ocDownloader - Enable \u542f\u7528\n\/\/ \u8fd9\u4e2a\u652f\u6301 \u78c1\u529b\uff0cHTTP\u76f4\u94fe\uff0cYoutube-dl\uff0cBT\u3002\u4e0b\u8f7dBT\u6ce8\u610f\u7248\u6743\u95ee\u9898\u3002\n\/\/ \u5982\u679c\u63d0\u793aAria2c\u662f\u5426\u4ee5\u670d\u52a1\u65b9\u5f0f\u8fd0\u884c\uff1f\uff0c\u5219\u5728\u4e3b\u673a\u4e0a\u6267\u884c\u5982\u4e0b\u547d\u4ee4\n\/\/ apt install daemon\n\/\/ apt install rpcbind\n\/\/ apt install aria2\n\/\/ aria2c --daemon --enable-rpc=true\n\/\/ aria2c --enable-rpc -D\n\/\/ reboot\n\n<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1839\" height=\"482\" src=\"https:\/\/dasmz.com\/wp-content\/uploads\/2021\/08\/4423df887baee8f46649fc4d651391cdde7cb2c6.png\" alt=\"\" class=\"wp-image-517\" srcset=\"https:\/\/dasmz.com\/wp-content\/uploads\/2021\/08\/4423df887baee8f46649fc4d651391cdde7cb2c6.png 1839w, https:\/\/dasmz.com\/wp-content\/uploads\/2021\/08\/4423df887baee8f46649fc4d651391cdde7cb2c6-768x201.png 768w, https:\/\/dasmz.com\/wp-content\/uploads\/2021\/08\/4423df887baee8f46649fc4d651391cdde7cb2c6-1536x403.png 1536w, https:\/\/dasmz.com\/wp-content\/uploads\/2021\/08\/4423df887baee8f46649fc4d651391cdde7cb2c6-624x164.png 624w\" sizes=\"(max-width: 1839px) 100vw, 1839px\" \/><figcaption>\u5728\u6587\u4ef6\u76ee\u5f55\uff0c\u53ef\u4ee5\u770b\u5230\u6302\u8f7d\u7684\u76d8\u7684\u76ee\u5f55<\/figcaption><\/figure>\n\n\n\n<p>2022-4-15 \u589e\u8865\uff0c\u5982\u679c\u51fa\u73b0\u5982\u4e0b\u62a5\u9519\u63d0\u793a\uff0c\u5904\u7406\u65b9\u5f0f<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Access through untrusted domain\n\nPlease contact your administrator. If you are an administrator, edit the \"trusted_domains\" setting in config\/config.php like the example in config.sample.php.\n\n\nFurther information how to configure this can be found in the documentation.<\/pre>\n\n\n\n<p>\u6211\u8fd9\u91cc\u5c31\u662f\u4fee\u6539 \/var\/www\/nextcloud\/config\/config.php \uff0c\u4fee\u6539\u540e\u91cd\u542f\u5bb9\u5668\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@debian:\/var\/www\/nextcloud\/config# docker ps -a\nCONTAINER ID   IMAGE       COMMAND                  CREATED       STATUS       PORTS                  NAMES\n8c948ba20c33   nextcloud   \"\/entrypoint.sh apac\u2026\"   2 hours ago   Up 2 hours   0.0.0.0:9888-&gt;80\/tcp   myNext\n\nroot@debian:\/var\/www\/nextcloud\/config# docker restart 8c948ba20c33\n8c948ba20c33\nroot@debian:\/var\/www\/nextcloud\/config# <\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"574\" height=\"446\" src=\"https:\/\/dasmz.com\/wp-content\/uploads\/2020\/12\/DONATE.jpg\" alt=\"Donate\" class=\"wp-image-18\"\/><figcaption>\u4e91\u4e5e\u8ba8<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u9700\u6c42\u63cf\u8ff0 \u5feb\u901f\u90e8\u7f72Nextcloud\u79c1\u6709\u4e91\u76d8\uff0c\u642d\u914dTransmission\u670d\u52a1\uff0c\u5b9e\u73b0BT\u4e0b\u8f7d\uff0c\u4e91\u64ad\u653e\uff0c\u6df7\u5408\u5b9e\u73b0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/510"}],"collection":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=510"}],"version-history":[{"count":18,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions"}],"predecessor-version":[{"id":2063,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions\/2063"}],"wp:attachment":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}