{"id":314,"date":"2018-10-28T18:29:02","date_gmt":"2018-10-28T10:29:02","guid":{"rendered":"https:\/\/blog.tcreopargh.xyz\/?p=314"},"modified":"2018-10-29T10:01:35","modified_gmt":"2018-10-29T02:01:35","slug":"%e6%95%99%e7%a8%8b%e7%94%a8%e5%ae%9d%e5%a1%94%e9%9d%a2%e6%9d%bf%e5%bf%ab%e9%80%9f%e6%90%ad%e5%bb%bacloudreve%e7%a7%81%e6%9c%89%e4%ba%91%e5%ad%98%e5%82%a8","status":"publish","type":"post","link":"https:\/\/blog.tcreopargh.xyz\/?p=314","title":{"rendered":"(\u6559\u7a0b)\u7528\u5b9d\u5854\u9762\u677f\u5feb\u901f\u642d\u5efaCloudreve\u79c1\u6709\u4e91\u5b58\u50a8"},"content":{"rendered":"\n<p>&nbsp; &nbsp; &nbsp; &nbsp; \u4e4b\u524d\u672c\u7ad9\u7528\u7684\u662fVultr\u7684VPS\uff0c\u6211\u603b\u6709\u4e00\u4e9b\u6742\u4e03\u6742\u516b\u7684\u6587\u4ef6\uff0c\u9700\u8981\u5b58\u5230\u7f51\u76d8\u4e0a\u65b9\u4fbf\u5728\u4efb\u4f55\u5730\u65b9\u540c\u6b65\uff0c\u540c\u65f6\u4e5f\u6709\u4e00\u4e9b\u6587\u4ef6\u9700\u8981\u4f20\u5230\u7f51\u76d8\u4e0a\u521b\u5efa\u4e0b\u8f7d\u94fe\u63a5\uff0c\u6240\u6709\u8bbf\u95ee\u8fd9\u4e2a\u94fe\u63a5\u7684\u4eba\u90fd\u80fd\u4e0b\u8f7d\u3002\u4e0d\u8fc7\u56fd\u5185\u7f51\u76d8\u8d8a\u6765\u8d8a\u5c11\uff0c\u767e\u5ea6\u4e00\u5bb6\u72ec\u5927\uff0c\u5e76\u4e14\u5403\u76f8\u96be\u770b\uff0c\u5176\u4ed6\u4e5f\u6709\u597d\u7684\uff0c\u50cf\u575a\u679c\u4e91\u8fd9\u7c7b\uff0c\u4e0d\u8fc7\u5b89\u5168\u6027\u96be\u4ee5\u4fdd\u8bc1\uff0c\u8fd9\u884c\u4e1a\u7ade\u4e89\u592a\u6fc0\u70c8\uff0c\u6307\u4e0d\u5b9a\u54ea\u5929\u5c31\u6ca1\u4e86\u3002\u56fd\u5916\u7f51\u76d8\u5012\u662f\u633a\u7a33\u5b9a\uff0c\u6211\u4e5f\u4e0d\u9700\u8981\u592a\u5927\u5b58\u50a8\u7a7a\u95f4\uff0c\u4f46\u662f\u56fd\u5916\u5927\u591a\u6570\u7f51\u76d8\u90fd\u8981\u79d1\u5b66\u4e0a\u7f51\u624d\u80fd\u4f7f\u7528\uff0c\u8fd9\u7ed9\u4e00\u4e9b\u573a\u666f\u5e26\u6765\u5f88\u5927\u4e0d\u4fbf\u3002\u56e0\u6b64\u6211\u6298\u817e\u4e86\u534a\u5929\uff0c\u88c5\u4e86OwnCloud\uff0c\u5e76\u89e3\u51b3\u4e86\u4e00\u5927\u5806\u5b89\u5168\u6027\u95ee\u9898\u3002\u4e0d\u8fc7\u8fd9\u4e2a\u7f51\u76d8\u7cfb\u7edf\u4e0d\u592a\u7a33\u5b9a\uff0c\u7ecf\u5e38\u51fa\u4e00\u4e9b\u83ab\u540d\u5176\u5999\u7684\u95ee\u9898\uff08\u6bd4\u5982\u8f93\u5165\u4efb\u4f55\u90ae\u7bb1\u5730\u5740\u90fd\u88ab\u5224\u5b9a\u4e3a\u65e0\u6548\uff09\uff0c\u4e0a\u4f20\u7f13\u6162\u5e76\u4e14\u7ecf\u5e38\u5931\u8d25\uff0c\u5927\u6587\u4ef6\u901a\u5e38\u8981\u6362\u62104G\u6570\u636e\u7f51\u624d\u80fd\u4e0a\u4f20\u6210\u529f\u3002\u6700\u8fd1\u6362\u4e86\u4e2a\u642c\u74e6\u5de5CN2 GIA\u7684VPS\uff0c\u7535\u4fe1\u5ef6\u8fdf\u5f88\u4f4e\uff0c\u5e76\u4e14\u8fde\u63a5\u5f88\u7a33\u5b9a\u3002\u642c\u5b8c\u4e86WordPress\u548c\u5176\u4ed6\u7684\u4e00\u4e9b\u7f51\u7ad9\u540e\uff0c\u6211\u5c31\u60f3\u6362\u4e2a\u7f51\u76d8\u7cfb\u7edf\u3002\u6700\u5f00\u59cb\u5c1d\u8bd5\u4e86Seafile\uff0c\u7f51\u4e0a\u597d\u8bc4\u633a\u591a\uff0c\u7ed3\u679c\u88c5\u4e0a\u4e4b\u540e\u624d\u53d1\u73b0\u5185\u5b58\u5360\u7528\u8fc7\u9ad8\uff0c512M\u7684\u5c0f\u5185\u5b58\u625b\u4e0d\u4f4f\uff0c\u5e76\u4e14\u5728\u5f04https\u7684\u65f6\u5019\u51fa\u4e86\u95ee\u9898\u5bfc\u81f4\u5168\u7ad9\u5d29\u6389&#8230;\u65e0\u5948\u53ea\u597d\u53e6\u5bfb\u4ed6\u6cd5\uff0c\u540e\u6765\u53c8\u8bd5\u4e86\u8bd5NextCloud\uff0c\u8f93\u5165\u5b8c\u6570\u636e\u5e93\u540d\u548c\u5bc6\u7801\uff0c\u7a81\u7136\u5f39\u51fa\u63d0\u793a\u5185\u90e8\u670d\u52a1\u5668\u9519\u8bef\uff0c\u4ee5\u81f4\u65e0\u6cd5\u8fdb\u884c\u63a5\u4e0b\u6765\u7684\u64cd\u4f5c\u3002\u6362\u621013.x\u7248\u672c\u5e76\u5f00\u653e\u6240\u6709\u7aef\u53e3\uff0c\u7ec8\u4e8e\u80fd\u8fdb\u9875\u9762\u4e86\uff0c\u6211\u60f3\u7740\u4e4b\u524d\u51fa\u95ee\u9898\u662f\u56e0\u4e3a\u7aef\u53e3\u672a\u5f00\u653e\uff0c\u5c31\u653e\u5fc3\u70b9\u4e86\u5347\u7ea7\uff0c\u7136\u540e\u518d\u6b21\u5185\u90e8\u670d\u52a1\u5668\u9519\u8bef&#8230;<\/p>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; \u7f51\u4e0a\u666e\u904d\u63a8\u8350\u7684\u5c31\u53ea\u6709\u8fd9\u51e0\u4e2a\u7f51\u76d8\uff0c\u6211\u5728\u7f51\u4e0a\u53c8\u627e\u4e86\u627e\uff0c\u53d1\u73b0\u4e86Cloudreve\u3002\u8fd9\u662f\u4e00\u4e2a\u56fd\u4ea7\u7684\u7f51\u76d8\u7cfb\u7edf\uff0c\u4eba\u6c14\u4f3c\u4e4e\u4e0d\u9ad8\uff0c\u4f46\u662f\u770b\u754c\u9762\u4e0d\u9519\uff0c\u518d\u52a0\u4e0a\u5b89\u88c5\u7b80\u5355\uff0c\u6211\u5c31\u53c2\u8003\u4e86\u4e00\u4e9b\u8d44\u6599\uff0c\u5b89\u88c5\u4e86Cloudreve\u3002\u88c5\u5b8c\u540e\u53d1\u73b0\u901f\u5ea6\u975e\u5e38\u4e0d\u9519\uff0c\u4e5f\u4e0d\u4f1a\u6709\u4e0a\u4f20\u5931\u8d25\u7684\u73b0\u8c61\uff0c\u975e\u5e38\u63a8\u8350\u5927\u5bb6\u5b89\u88c5\u3002VPS\u8fd8\u6709\u5927\u91cf\u5269\u4f59\u5b58\u50a8\u7a7a\u95f4\u7684\uff0c\u53ef\u4ee5\u7528Cloudreve\u628a\u8fd9\u4e9b\u7a7a\u95f4\u5229\u7528\u8d77\u6765\u3002<\/p>\n\n\n\n<p>\u672c\u7ad9\u4f7f\u7528\u7684\u662fLNMP\u73af\u5883\uff0c\u5177\u4f53\u7684\u5404\u9879\u914d\u7f6e\u5982\u4e0b\uff1a<\/p>\n\n\n\n<div class=\"mdui-panel mdui-panel-gapless\" mdui-panel>\n    <div class=\"mdui-panel-item mdui-panel-item-open\">\n      <div class=\"mdui-panel-item-header\">\n        <div class=\"mdui-panel-item-title\"><strong>\u672c\u7ad9\u914d\u7f6e<\/strong><\/div>\n        <i class=\"mdui-panel-item-arrow mdui-icon material-icons\">keyboard_arrow_down<\/i>\n      <\/div>\n      <div class=\"mdui-panel-item-body\">\n        <p>CentOS Linux 7.3.1611 (Core)<\/p>\n\n\n\n<p>\n\nNginx 1.14\n\n<\/p>\n\n\n\n<p>\n\nPure-Ftpd 1.0.47\n\n<\/p>\n\n\n\n<p>phpMyAdmin 4.4<\/p>\n\n\n\n<p>PHP 7.1<\/p>\n      <\/div>\n    <\/div>\n  <\/div>\n\n\n\n<p>\u63a5\u4e0b\u6765\u662f\u6211\u7528\u5b9d\u5854\u9762\u677f\u5b89\u88c5Cloudreve\u7684\u4e3b\u8981\u6b65\u9aa4\uff1a<\/p>\n\n\n\n<ul><li>\u767b\u5f55\u5b9d\u5854\u9762\u677f\uff0c\u65b0\u5efa\u4e00\u4e2a\u7f51\u7ad9\uff0c\u540c\u65f6\u65b0\u5efa\u6570\u636e\u5e93\uff0c\u8d77\u4e00\u4e2a\u597d\u8bb0\u7684\u540d\u5b57\u548c\u5bc6\u7801\u3002<\/li><\/ul>\n\n\n\n<ul><li>\u8fdb\u5165\u7f51\u7ad9\u7684\u76ee\u5f55\uff0c\u5220\u6389\u539f\u6765\u7684\u6587\u4ef6\uff0c\u65b0\u5efa\u8fdc\u7a0b\u4e0b\u8f7d\u4efb\u52a1\uff0c\u4ece<a href=\"https:\/\/cloudreve.org\/download.php\">https:\/\/cloudreve.org\/download.php<\/a>\u627e\u5230\u6700\u65b0\u7248\u672c\u7684\u4e0b\u8f7d\u5730\u5740\u5e76\u590d\u5236\uff0c\u7c98\u8d34\u5230\u4e0b\u8f7d\u4efb\u52a1\u7684\u5730\u5740\u680f\u4e2d\u3002<\/li><\/ul>\n\n\n\n<ul><li>\u4e0b\u8f7d\u5b8c\u6210\u540e\u539f\u5730\u89e3\u538b\uff0c\u8fd9\u65f6\u5019\u53ef\u4ee5\u628a\u538b\u7f29\u5305\u5220\u6389\u4e86\uff0c\u627e\u5230mysql.sql\u5e76\u4e0b\u8f7d\uff0c\u5728\u9762\u677f\u7684\u6570\u636e\u5e93\u754c\u9762\u5c06\u5176\u5bfc\u5165\u5230\u7f51\u7ad9\u7684\u6570\u636e\u5e93\u4e2d<\/li><\/ul>\n\n\n\n<ul><li>\u7f16\u8f91\u7f51\u7ad9\u76ee\u5f55\u4e0bapplication\/database_sample.php\u6587\u4ef6\uff0c\u6839\u636e\u6ce8\u91ca\u7684\u63d0\u793a\u586b\u5199\u521a\u521b\u5efa\u7684\u6570\u636e\u5e93\u7684\u5e93\u540d\u3001\u7528\u6237\u540d\u3001\u5bc6\u7801\uff0c\u5c06\u6587\u4ef6\u4e2dhostname\u540e\u9762\u7684127.0.0.1\u4fee\u6539\u4e3alocalhost\u3002<\/li><\/ul>\n\n\n\n<ul><li>\u8fdb\u5165\u7f51\u7ad9\u8bbe\u7f6e\uff0c\u5c06\u4e0b\u9762\u7684\u4ee3\u7801\u586b\u5165\u4f2a\u9759\u6001\u4e00\u680f\u4e2d\u5e76\u4fdd\u5b58\uff1a<\/li><\/ul>\n\n\n\n\n<div class=\"codecolorer-container php default\" style=\"overflow:auto;white-space:nowrap;width:958px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/><\/div><\/td><td><div class=\"php codecolorer\">location <span class=\"sy0\">\/<\/span> <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp; <span class=\"kw1\">if<\/span> <span class=\"br0\">&#40;<\/span><span class=\"sy0\">!-<\/span>e <span class=\"re0\">$request_filename<\/span><span class=\"br0\">&#41;<\/span> <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp; &nbsp; rewrite ^<span class=\"br0\">&#40;<\/span><span class=\"sy0\">.*<\/span><span class=\"br0\">&#41;<\/span>$ <span class=\"sy0\">\/<\/span>index<span class=\"sy0\">.<\/span>php?s<span class=\"sy0\">=\/<\/span>$<span class=\"nu19\">1<\/span> last<span class=\"sy0\">;<\/span><br \/>\n&nbsp; &nbsp; <span class=\"kw1\">break<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp; <span class=\"br0\">&#125;<\/span><br \/>\n<span class=\"br0\">&#125;<\/span><\/div><\/td><\/tr><\/tbody><\/table><\/div>\n\n\n\n\n<ul><li>\u8fd9\u65f6\u5019\u5e94\u8be5\u53ef\u4ee5\u8fdb\u7f51\u7ad9\u4e86\u3002\u8f93\u5165http:\/\/\u57df\u540d\/Admin\u8fdb\u5165\u7ba1\u7406\u540e\u53f0\u3002<\/li><\/ul>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>\u521d\u59cb\u7528\u6237\u540d\uff1aadmin@cloudreve.org<\/p><p>\u521d\u59cb\u5bc6\u7801\uff1aadmin<\/p><\/blockquote>\n\n\n\n<blockquote class=\"mdx-warning\"><p><i class=\"mdui-icon material-icons\">&#xe002;<\/i> \u6ce8\u610f<br><strong>\u51fa\u4e8e\u5b89\u5168\u8003\u8651\uff0c\u8bf7\u5728\u767b\u5f55\u540e\u7acb\u5373\u5230\u7528\u6237\u754c\u9762\u4fee\u6539\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002\u90ae\u7bb1\u53ef\u5728\u7ba1\u7406\u9762\u677f\u7684\u201c\u7528\u6237\u201d\u6807\u7b7e\u9875\u4e2d\u4fee\u6539\u3002<\/p>\n\n\n\n<p>\u8bf7\u5230\u7ba1\u7406\u540e\u53f0\u7684\u57fa\u7840\u8bbe\u7f6e\u4e2d\u68c0\u67e5\u7ad9\u70b9URL\u662f\u5426\u914d\u7f6e\u6b63\u786e\uff0c\u5426\u5219\u53ef\u80fd\u5bfc\u81f4\u5404\u79cd\u5947\u602a\u7684\u95ee\u9898\u3002<\/strong><\/p><\/blockquote>\n\n\n\n<ul><li>\u68c0\u67e5\u5404\u9879\u914d\u8bbe\u7f6e\u6b63\u786e\u65e0\u8bef\u540e\uff0c\u53ef\u4ee5\u5728\u5b9d\u5854\u9762\u677f\u4e2d\u7ed9\u7ad9\u70b9\u542f\u7528https\uff0c\u5230\u7f51\u7ad9\u8bbe\u7f6e\u4e2d\u7684SSL\u9875\u9762\u4e00\u952e\u7533\u8bf7\u4e00\u4e2a\u514d\u8d39\u7684Let&#8217;s Encrypt\u8bc1\u4e66\u5373\u53ef\u3002\u8bb0\u5f97\u5f00\u542f\u5168\u7ad9https\u3002<br><\/li><\/ul>\n\n\n\n<ul><li>\u5728\u8f6f\u4ef6\u7ba1\u7406\u4e2d\u627e\u5230PHP\u8bbe\u7f6e\uff0c\u5c06\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u8c03\u6574\u5230\u4f60\u8ba4\u4e3a\u5408\u9002\u7684\u503c\u3002<\/li><\/ul>\n\n\n\n<ul><li>\u4e4b\u540e\u5230\u5b9d\u5854\u9762\u677f\u4e2d\u65b0\u5efa\u4e00\u9879\u8ba1\u5212\u4efb\u52a1\uff0c\u8bbe\u5b9a\u4e3a\u6bcf\u5206\u949f\u6267\u884c\u4e00\u6b21\uff0c\u811a\u672c\u5185\u5bb9\u5982\u4e0b\uff1a<\/li><\/ul>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>curl https:\/\/\u57df\u540d\/Cron<\/p><\/blockquote>\n\n\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; \u73b0\u5728\u7f51\u7ad9\u7684\u57fa\u672c\u529f\u80fd\u5df2\u7ecf\u8bbe\u7f6e\u5b8c\u6bd5\u4e86\u3002\u540e\u7eed\u8fd8\u53ef\u4ee5\u8bbe\u7f6e\u90ae\u4ef6\u53d1\u9001\u3001\u4e8c\u6b65\u9a8c\u8bc1\u3001\u79bb\u7ebf\u4e0b\u8f7d\u7b49\u529f\u80fd\uff0c\u8fd9\u4e9b\u529f\u80fd\u6211\u7528\u4e0d\u5230\u5c31\u6ca1\u6709\u8bbe\u7f6e\uff0c\u5927\u5bb6\u53ef\u4ee5\u81ea\u884c\u7814\u7a76\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; &nbsp; &nbsp; \u4e4b\u524d\u672c\u7ad9\u7528\u7684\u662fVultr\u7684VPS\uff0c\u6211\u603b\u6709\u4e00\u4e9b\u6742\u4e03\u6742\u516b\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":300,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,32,8],"tags":[44,16,43],"_links":{"self":[{"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=\/wp\/v2\/posts\/314"}],"collection":[{"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=314"}],"version-history":[{"count":9,"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=\/wp\/v2\/posts\/314\/revisions"}],"predecessor-version":[{"id":333,"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=\/wp\/v2\/posts\/314\/revisions\/333"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=\/wp\/v2\/media\/300"}],"wp:attachment":[{"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.tcreopargh.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}