{"id":240,"date":"2018-05-12T16:26:29","date_gmt":"2018-05-12T08:26:29","guid":{"rendered":"https:\/\/wp.yaanren.win\/?p=240"},"modified":"2018-05-12T16:26:29","modified_gmt":"2018-05-12T08:26:29","slug":"nanopi-neo2%e4%b8%8a%e5%ae%89%e8%a3%85seafile","status":"publish","type":"post","link":"https:\/\/wp.625300.xyz\/?p=240","title":{"rendered":"NanoPI Neo2\u4e0a\u5b89\u88c5Seafile"},"content":{"rendered":"<div class=\"h1 fl\">\n<p id=\"subject_tpc\" class=\"fl\">\u8f6c\u8f7d\u81ea\uff1ahttp:\/\/www.arm9home.net\/read.php?tid-273152.html<\/p>\n<\/div>\n<div class=\"c\"><\/div>\n<div class=\"tpc_content\">\n<div id=\"p_tpc\"><\/div>\n<div id=\"read_tpc\" class=\"f14\">\u3000\u3000\u7ee7\u00a0<a id=\"url_1\" href=\"http:\/\/www.arm9home.net\/read.php?tid-161986.html\" target=\"_blank\" rel=\"noopener\">NanoPI NEO2\u548c1-bay NAS kit\uff0c\u5728nanopi-neo2_ubuntu-core-xenial_4.11.0_20170523\u4e0a\u5b89\u88c5ownclound<\/a>\u548c<a id=\"url_2\" href=\"http:\/\/www.arm9home.net\/read.php?tid-273140.html\" target=\"_blank\" rel=\"noopener\">\u5229\u7528NanoPi Neo2\u505a\u53cd\u5411\u94fe\u63a5\u548c\u7aef\u53e3\u8f6c\u53d1<\/a>\u4e4b\u540e\uff0c\u603b\u89c9\u5f97\u4e0d\u723d\uff0c\u539f\u56e0\u662fNEO2\u4e0a\u8dd1Apache2\u592a\u5403\u529b\u4e86\uff0cowncloud\u8d8a\u6765\u8d8a\u6162\uff0c\u5b9e\u9645\u56fe\u7247\u52a0\u8f7d\u592a\u6162\u662f\u65e0\u6cd5\u5fcd\u53d7\u7684\uff0c\u4e8e\u662f\u4e4e\u641e\u4e86\u7aef\u53e3\u6620\u5c04\u548c\u4ee3\u7406\u7528\u6765\u8bbf\u95ee\u539f\u6765\u516c\u53f8\u7684seafile\u670d\u52a1\u5668\u3002\u6700\u540e\u8fd8\u662f\u89c9\u5f97\u81ea\u5df1\u7684\u4e1c\u897f\u7279\u522b\u662f\u7167\u7247\u89c6\u9891\u5e94\u8be5\u4fdd\u5b58\u5728\u81ea\u5df1\u7684\u5b58\u50a8\u91cc\u9762\uff0c\u4e8e\u662f\u4e4e\u8fd8\u662f\u5bf9\u5728NEO2\u4e0a\u8fd0\u884c\u4e2aseafile\u604b\u604b\u4e0d\u5fd8\uff0c\u51ed\u7740\u6211linux\u4e09\u811a\u732b\u90fd\u7b97\u4e0d\u4e0a\u7684\u529f\u592b\uff0c\u5f00\u59cb\u4e86\u6e90\u7801\u7f16\u8bd1\u4e4b\u8def\u3002<\/p>\n<p>\u5148\u518d\u6b21\u89e3\u91ca\u4ee5\u4e0b\u4e3a\u4f55\u6e90\u7801\u7f16\u8bd1\uff0cseafile\u7684\u4f18\u52bf\u662f\u57fa\u4e8epython\u548c2\u8fdb\u5236\u7684\uff0c\u9700\u8981\u8c03\u7528\u5f88\u591a\u5305\uff0c\u5e76\u6839\u636eneo2\u73af\u5883\u7f16\u8bd1\u51fa\u53ef\u6267\u884c\u6587\u4ef6\u3002\u56e0\u6b64seafile\u5b98\u7f51\u4e0afor x86\uff0cfor x64\u4ee5\u53cafor\u6811\u8393\u6d3e\u7684\u90fd\u4e0d\u884c\uff0c\u867d\u7136\u6811\u8393\u6d3e\u4e5f\u662farm\u7684\u3002<\/p>\n<p>\u61c2\u7684\u4eba\u53ef\u80fd\u5bf9\u7f16\u8bd1\u8fc7\u7a0b\u5e76\u4e0d\u96be\uff0c\u4f46\u6211\u89c9\u5f97\u96be\uff0c\u8fc7\u7a0b\u4e0d\u719f\uff0c\u9519\u8bef\u4e0d\u77e5\u9053\u600e\u4e48\u89e3\u51b3\uff0cbaidu\u4e5f\u4e0d\u592a\u7ba1\u7528\uff0c\u96f6\u96f6\u6563\u6563\u3002\u518d\u8bf4\u4e0bseafile\u5b98\u7f51\uff0c\u4e24\u4e09\u7bc7\u4e0d\u540c\u6587\u7ae0\uff0c\u4f30\u8ba1\u662f\u4e0d\u540c\u6280\u672f\u4eba\u5458\u5199\u7684\uff0c\u6709\u4e9b\u8d28\u91cf\u9ad8\u6709\u4e9b\u8f83\u4f4e\uff0c\u672c\u6765\u53ef\u80fd\u5c0f\u8c03\u6574\u5c31\u4e00\u81f4\u4e86\uff0c\u4f46\u5bf9\u4e8e\u6211\u7b49\u5c0f\u767d\u6765\u8bf4\uff0c\u5b9e\u5728\u662f\u89c9\u5f97\u5dee\u522b\u592a\u5927\u3002\u6309\u7167<a id=\"url_3\" href=\"https:\/\/manual.seafile.com\/build_seafile\/server.html\" target=\"_blank\" rel=\"noopener\">https:\/\/manual.seafile.com\/build_seafile\/server.html<\/a>\u5b98\u7f51\u82f1\u6587\u65b9\u9762\u7f16\u8bd1\uff0c\u4e2d\u95f4\u6709\u9519\u8bef\uff0c\u8fd8\u6709\u4e9b\u4ec0\u4e48\u95ee\u9898\u8bb0\u4e0d\u5f97\u4e86\uff0c\u603b\u4e4b\u5c31\u662f\u7528\u4e0d\u8d77\uff0c\u90fd\u5feb\u5931\u53bb\u4fe1\u5fc3\u7684\u65f6\u5019\u6309\u7167\u8be5\u6587\u7ae0\u76ee\u5f55\u4e2d\u7684linux\u7f16\u8bd1\u6b65\u9aa4\u8bd5\u4e86\u4ee5\u4e0b\uff0c\u867d\u7136\u529f\u80fd\u4e0d\u5168\uff0c\u4f46\u9875\u9762\u5c45\u7136\u51fa\u6765\u4e86\uff0c\u5f53\u7136\u57fa\u672c\u4e0a\u8fd8\u662f\u7528\u4e0d\u8d77\u3002\u6700\u540e\u9519\u8bef\u4e00\u6b65\u6b65\u89e3\u51b3\u540e\uff0c\u8bb0\u5f55\u6210\u4e00\u4e2a\u6587\u6863\uff0c\u5c45\u7136\u53ef\u4ee5\u4e00\u6b21\u6027\u7f16\u8bd1\u6210\u529f\u4e86\uff0c\u4f46\u95ee\u9898\u6765\u4e86\uff0c\u6240\u6709\u90fd\u6b63\u5e38\uff0c\u5c45\u7136\u9875\u9762\u663e\u793aInternal server error\u51e0\u4e2a\u5927\u5b57\uff0c\u591a\u6b21\u7f16\u8bd1\uff0c\u4ecd\u7136\u65e0\u679c\uff0c\u76f8\u540c\u6548\u679c\u3002\u51e0\u4e4e\u7edd\u671b\u7684\u65f6\u5019\u7ec8\u4e8e\u5728<a id=\"url_4\" href=\"https:\/\/bbs.seafile.com\/t\/ubuntu-16-04-1-desktop-amd64-seafile\/693\/2\" target=\"_blank\" rel=\"noopener\">https:\/\/bbs.seafile.com\/t\/ubuntu-16-04-1-desktop-amd64-seafile\/693\/2<\/a>\u5b98\u7f51\u8bba\u575b\u627e\u5230\u4e86\u6591\u7af9\u5373\u5f00\u53d1\u8005\u7684\u7f16\u8bd1\u6b65\u9aa4\uff0c\u5c45\u7136\u548c\u524d\u9762\u770b\u5230\u7684\u4e0d\u540c\uff0c\u7279\u522b\u662f\u51e0\u4e2a\u53c2\u6570\u7684\u8bbe\u7f6e\u3002\u7f16\u8bd1\u597d\u540e\uff0c\u8fd0\u884c\u6709\u95ee\u9898\uff0c\u770b\u4e0d\u61c2\u9519\u8bef\u554a\uff0c\u540e\u6765baidu\u4e86\u662f\u7531\u4e8e\u6591\u7af9\u662f\u7528desktop\u7684ubuntu\u5728\u7f16\u8bd1\u3002<\/p>\n<p>\u8bf4\u4e86\u90a3\u4e48\u591a\uff0c\u60f3\u81ea\u5df1\u7f16\u8bd1\u7684\u670b\u53cb\u770b\u4e0a\u9762\u6211\u505a\u7684\u8fde\u63a5\u3002<\/p>\n<p>\u9700\u8981\u6ce8\u610f\uff0c\u7b2c\u4e8c\u4e2a\u7f16\u8bd1\u7684\u65f6\u5019\uff0c\u539f\u6765\u6591\u7af9\u6709\u51e0\u4e2a\u95ee\u9898\uff1a<br \/>\n\u2460\u8fd9\u6bb5\u6587\u5b57\u4e2d\u7684wget\u5e94\u8be5\u662fgit clone\u00a0<a id=\"url_5\" href=\"https:\/\/github.com\/haiwen\/libevhtp.git\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/haiwen\/libevhtp.git<\/a>\u00a0libevhtp<br \/>\ncd ~\/Downloads\/<br \/>\nwget\u00a0<a id=\"url_6\" href=\"https:\/\/github.com\/haiwen\/libevhtp.git\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/haiwen\/libevhtp.git<\/a><br \/>\ncd libevhtp\/<br \/>\ncmake -DEVHTP_DISABLE_SSL=OFF -DEVHTP_BUILD_SHARED=ON .<br \/>\nmake<br \/>\nsudo make install<br \/>\n\u2461\u7f16\u8bd1seafile\u4e4b\u524d\u5e94\u8be5\u5148\u6267\u884c\u4e0b\u9762\u7684\uff0c\u56e0\u4e3ac\u7684\u5934\u6587\u4ef6\u6ca1\u6709\u5305\u542b\u5168<br \/>\nexport C_INCLUDE_PATH=&#8221;$C_INCLUDE_PATH:\/home\/Downloads\/libevhtp\/oniguruma&#8221;<br \/>\n\u2462\u8fd0\u884cseafile.sh\u4e4b\u524d\uff0c\u5148\u7f16\u8f91\u5b83\uff0c\u5e76\u5220\u9664\u5173\u4e8egnome-terminal -e\u7684\u6307\u4ee4\uff0c\u800c\u76f4\u63a5\u8fd0\u884c\u540e\u9762\u7684\u6307\u4ee4\u3002\u56e0\u4e3a\u6591\u7af9\u662f\u5728desktop\u73af\u5883\u4e0b\u7f16\u8bd1\u7684\u3002\u4f46\u7a97\u53e3\u5c31\u53ea\u6709\u518d\u6765\u4e00\u4e2assh\u4e86\u3002<br \/>\n\u7136\u5e76\u5375\uff0c\u8be5\u65b9\u6cd5\u7f16\u8bd1\u51fa\u7684\u6587\u4ef6\u5e94\u6ca1\u6709\u4ec0\u4e48\u95ee\u9898\uff0c\u4f46\u5c5e\u4e8e\u5f00\u53d1\u73af\u5883\u4e0b\uff0c\u8fd0\u884c\u8d77\u6765\u592a\u6162\u4e86\uff0c\u8fd8\u51fa\u9519\u3002<\/p>\n<p>\u518d\u4e00\u6b21\u7edd\u671b\u7684\u60c5\u51b5\u4e0b\u5b89\u88c5\u4e86\u5b98\u7f51\u7684for Raspberry Pi\u7248\u672c\uff0c\u5f53\u7136\u8fd0\u884c\u80af\u5b9a\u51fa\u9519\uff0c\u51fa\u9519\u7684bin\u6587\u4ef6\u5c31\u4ece\u9ed8\u8ba4\u521a\u624d\u7f16\u8bd1\u5230\u7684\/usr\/local\/bin\u53bbcopy\u8fc7\u6765\uff0c\u6700\u7ec8\u7ed3\u679c\u662f\uff1a<br \/>\n<span style=\"font-size: xx-large;\">\u54c8\u54c8\uff0c\u53ef\u4ee5\u7528\u4e86\uff01<\/span><\/p>\n<p>\u5386\u7a0b\u592a\u8270\u8f9b\uff0c\u6240\u4ee5\u518d\u6b64\u611f\u8c22NEO2\u5f00\u53d1\u4eba\u5458\u7f16\u8bd1\u597d\u7684openmeidavault\uff0c\u4f46\u5c31\u5dee\u4e00\u4e2a\u4e91\u540c\u6b65\u76d8\u529f\u80fd\uff0c\u5728openmediavault\u7684owncloud\u63d2\u4ef6\u5df2\u4e0d\u80fd\u7528\u7684\u60c5\u51b5\u4e0b\uff0c\u8bf7\u96c6\u6210\u4e00\u4e2aseafile\u5427\uff0c\u8fd9\u4e2a\u786e\u5b9e\u6bd4owncloud\u6548\u7387\u9ad8\uff0c\u5728NEO2\u4e0b\u611f\u89c9\u5f88\u660e\u663e\u3002<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u8f6c\u8f7d\u81ea\uff1ahttp:\/\/www.arm9home.net\/read.php?tid-273152.html \u3000\u3000&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-30"],"_links":{"self":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=240"}],"version-history":[{"count":0,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/240\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}