{"id":25863,"date":"2020-02-16T22:54:21","date_gmt":"2020-02-16T14:54:21","guid":{"rendered":"http:\/\/4563.org\/?p=25863"},"modified":"2020-02-16T22:54:21","modified_gmt":"2020-02-16T14:54:21","slug":"centos7_ubuntu16-04%e5%ae%89%e8%a3%85seafile%e4%bc%81%e4%b8%9a%e4%ba%91%e7%9b%98%ef%bc%88%e7%89%b9%e5%88%ab%e7%89%88%ef%bc%89","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=25863","title":{"rendered":"CentOS7_Ubuntu16.04\u5b89\u88c5seafile\u4f01\u4e1a\u4e91\u76d8\uff08\u7279\u522b\u7248\uff09"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>thomas0008<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>CentOS7_Ubuntu16.04\u5b89\u88c5seafile\u4f01\u4e1a\u4e91\u76d8\uff08\u7279\u522b\u7248\uff09<\/h3>\n<p>  \t\t\u9700\u8981\u51c6\u5907\u4e00\u53f03\u6838\u5fc3\u7684VPS\uff0c\u8d2d\u4e70\u94fe\u63a5\uff1ahttps:\/\/my.racknerd.com\/aff.php?aff=57&amp;pid=98<br \/>  VPS \u5185\u5b58+Swap\u865a\u62df\u5185\u5b58 \u81f3\u5c113G\uff0c\u6700\u597d4G\u4ee5\u4e0a\uff1b\u82e5\u662f\u5acc\u865a\u62df\u5185\u5b58\u8fd8\u662f\u592a\u5c0f\u7528\u5982\u4e0b\u547d\u4ee4\u589e\u5927\u865a\u62df\u5185\u5b58\uff08\u4ee5\u65b0\u589e1G\u865a\u62df\u5185\u5b58\u4e3a\u4f8b\uff0c\u82e5\u9700\u8981\u589e\u52a02G\u865a\u62df\u5185\u5b58\uff0c\u5219count=2048\uff09\uff1a<br \/>  dd if=\/dev\/zero of=\/swapfile count=1024 bs=1M<br \/>  mkswap \/swapfile<br \/>  swapon \/swapfile<\/p>\n<p>  \u52a0\u5165\u5f00\u673a\u542f\u52a8<br \/>  vi \/etc\/fstab<br \/>  \u6309i \u8fdb\u5165\u7f16\u8f91\u6a21\u5f0f<\/p>\n<p>  \u5728\u6587\u4ef6\u6700\u540e\u52a0\u5165\u4e0b\u9762\u8fd9\u884c\u547d\u4ee4<br \/>  \/swapfileswapswapdefaults00<br \/>  \u6309Esc \u9000\u51fa\u7f16\u8f91\u6a21\u5f0f\uff0c\u8f93\u5165:wq!&nbsp; &nbsp;\u56de\u8f66 \u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/p>\n<p>  \u7528CentOS 7 &amp; Ubuntu 16.04\uff08\u6ce8\u610f\uff1a\u975e\u7cbe\u7b80linux\u7cfb\u7edf\uff09,VPS SSH \u7684\u7528\u6237\u540d \u7981\u6b62\u4f7f\u7528seafile\uff0c\u5426\u5219 \u5b89\u88c5\u8fc7\u7a0b\u4e2d \u4f1a\u663e\u793a\u62a5\u9519\uff1auseradd\uff1a\u7528\u6237\u201cseafile\u201d\u5df2\u5b58\u5728.<br \/>  VPS \u5148\u88c5\u4e0aBBR\u52a0\u901f\uff08BBR Plus\u52a0\u901f\u811a\u672c\uff09\uff1a<br \/>  &nbsp; &nbsp;wget &quot;https:\/\/github.com\/chiakge\/Linux-NetSpeed\/raw\/master\/tcp.sh&quot; &amp;&amp; chmod +x tcp.sh &amp;&amp; .\/tcp.sh<br \/>  \u63092 \u5b89\u88c5bbr plus\u5185\u6838\uff0c\u91cd\u542f\u540e\uff0c\u63097 \u5f00\u542fbbr plus\u52a0\u901f\u3002<\/p>\n<p>  \u4ee5\u4e0a\u662f\u5b89\u88c5\u524d\u7684\u51c6\u5907\uff0c\u4e0b\u9762\u5f00\u59cb\u5b89\u88c5\uff1a<br \/>  CentOS 7 (64bit):<br \/>  sudo -i<br \/>  cd \/opt<br \/>  wget http:\/\/75519.d.yyupload.com\/down\/75519\/apk\/seafile-pro-server_6.2.9_x86-64.tar.gz<br \/>  \u6216 <br \/>  wget http:\/\/thomas0008.best:80\/f\/b5f74f1f019346919f4d\/?dl=1 \u540e\uff0c\u6539\u540d\u4e3a seafile-pro-server_6.2.9_x86-64.tar.gz<\/p>\n<p>  wget http:\/\/75519.d.yyupload.com\/down\/75519\/apk\/seafile-server-centos-7-amd64-http<br \/>  \u6216<br \/>  wget https:\/\/raw.githubusercontent.com\/haiwen\/seafile-server-installer-cn\/master\/seafile-server-centos-7-amd64-http<\/p>\n<p>  bash seafile-server-centos-7-amd64-http 6.2.9<br \/>  \u90092 \u5b89\u88c5pro \u4e13\u4e1a\u7248<br \/>  ********************************************************<br \/>  Ubuntu 16.04\/18.04 (64bit):<br \/>  sudo -i<br \/>  cd \/opt<br \/>  wget http:\/\/75519.d.yyupload.com\/down\/75519\/apk\/seafile-pro-server_6.2.9_x86-64.tar.gz<br \/>  \u6216 <br \/>  wget http:\/\/thomas0008.best:80\/f\/b5f74f1f019346919f4d\/?dl=1 \u540e\uff0c\u6539\u540d\u4e3a seafile-pro-server_6.2.9_x86-64.tar.gz<\/p>\n<p>  wget http:\/\/75519.d.yyupload.com\/down\/75519\/apk\/seafile-server-ubuntu-amd64-http<br \/>  \u6216<br \/>  wget https:\/\/raw.githubusercontent.com\/haiwen\/seafile-server-installer-cn\/master\/seafile-server-ubuntu-amd64-http<\/p>\n<p>  bash seafile-server-ubuntu-amd64-http 6.2.9<br \/>  \u90092 \u5b89\u88c5pro \u4e13\u4e1a\u7248<br \/>  *********************************************************<br \/>  \u4e0a\u8ff0\u88c5\u5b8c\u540e \u6ce8\u610f\u8bb0\u4e0b&nbsp; &nbsp; &nbsp; &nbsp; SSH\u754c\u9762\u4e2d \u7c7b\u4f3c\u4e0b\u9762\u7684\u8d26\u53f7\u5bc6\u7801<br \/>  Seafile Admin:&nbsp; &nbsp;&nbsp; &nbsp; admin@seafile.local<br \/>  Admin Password:&nbsp; &nbsp;&nbsp; &nbsp;Eed6iqui<br \/>  \u767b\u9646 http:\/\/\u670d\u52a1\u5668IP&nbsp; &nbsp;&nbsp; &nbsp;#\u8bbf\u95ee\u517680\u7aef\u53e3\uff0c\u5373\u53ef\u767b\u9646\u7f51\u7ad9\u3002<br \/>  \u4e0a\u8ff0\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u867d\u7136\u5728 \u7cfb\u7edf\u7ba1\u7406\uff0d\u4fe1\u606f\uff0d\u5e76\u65e0 \u663e\u793a\u7528\u6237\u6570\u9650\u5236\u4e0e\u6ce8\u518c\u4fe1\u606f\uff0c\u4f46\u5b9e\u9645\u4e0a\u662f\u5df2\u7ecf\u53ef\u4ee5\u65b0\u589e\u6ce8\u518c\u7528\u6237\u8d85\u8fc73\u7528\u6237\uff0c\u7a81\u7834\u5b98\u65b9\u539f\u9650\u5236\u3002<\/p>\n<p>  \u8bbe\u7f6e FILE_SERVER_ROOT\uff0c\u5f00\u542f\u4e0a\u4f20\u3001\u4e0b\u8f7d\u529f\u80fd\uff1a<\/p>\n<p>  1\uff09\u5c06 FILE_SERVER_ROOT\u5b57\u6bb5 \u7531<br \/>  http:\/\/127.0.0.1:seafhttp<br \/>  \u6539\u4e3a<br \/>  http:\/\/\u670d\u52a1\u5668\u7684IP\u6216\u57df\u540d:seafhttp<\/p>\n<p>  2\uff09\u5c06 \u7528\u6237 \u4e0b\u9762 \u7684\u8be53\u9879\u52fe\u9009\u5f00\u542f\uff1a<br \/>  \u5141\u8bb8\u7528\u6237\u6ce8\u518c<br \/>  \u6ce8\u518c\u540e\u6fc0\u6d3b<br \/>  \u53d1\u9001\u6fc0\u6d3b\u90ae\u4ef6<\/p>\n<p>  3\uff09\u5c06 SERVICE_URL\u5b57\u6bb5 \u7531 <br \/>  http:\/\/127.0.0.1:8000<br \/>  \u6539\u4e3a<br \/>  http:\/\/\u670d\u52a1\u5668\u7684IP\u6216\u57df\u540d:80<br \/>  ***************************************************<br \/>  \uff08\u81f3\u6b64 \u5b89\u88c5\u8c03\u8bd5\u5168\u90e8\u5b8c\u6210\uff0c\u5b98\u65b9\u6f14\u793a\u7f51\u5740\uff1ahttps:\/\/demo.seafile.top\/demo\uff09<\/p>\n<p>  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4e00\u4f4d\u4e0d\u77e5\u540d\u7f51\u53cb<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u633a\u597d\u7684\u554a\u8d5e\u4e00\u4e2a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lpssxs<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4f18\u79c0\uff0c\u535a\u5ba2\u5927\u4f6c\u5feb\u6765\u505a\u6559\u7a0b~\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Basstorm<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u786c\u6838\u6559\u7a0b\uff0c\u4e0d\u9519\uff0c\u7d2b\u85af\u5e03\u4e01\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u7eff\u8c46<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5982\u679c\u5c11\u8bb83h\u4f1a\u5b89\u88c5\u5931\u8d25\u561b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>thomas0008<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5b83\u5f88\u5403CPU \u81f3\u5c112\u6838\u5fc3\uff08\u4e0d\u4fdd\u8bc12\u6838\u5fc3 \u90fd\u53ef\u4ee5\u6210\u529f\uff09\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>thomas0008 \u5927\u4f6c\u6709\u8bdd\u8bf4 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/25863"}],"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=25863"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/25863\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25863"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}