{"id":110093,"date":"2020-06-02T21:30:24","date_gmt":"2020-06-02T13:30:24","guid":{"rendered":"http:\/\/4563.org\/?p=110093"},"modified":"2020-06-02T21:30:24","modified_gmt":"2020-06-02T13:30:24","slug":"%e5%ae%89%e8%a3%85aria2rclone%e7%a6%bb%e7%ba%bf%e4%b8%8b%e8%bd%bd","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=110093","title":{"rendered":"\u5b89\u88c5Aria2+Rclone\u79bb\u7ebf\u4e0b\u8f7d"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u55f7\u55f7<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u5b89\u88c5Aria2+Rclone\u79bb\u7ebf\u4e0b\u8f7d<\/h3>\n<p>  \t\t\u6765\u70b9\u6d41\u91cf\uff01<\/p>\n<p>  \u5b89\u88c5\u548c\u914d\u7f6eRclone<\/p>\n<p>  Rclone\u5b98\u65b9\u5b89\u88c5\u811a\u672c\uff1a<\/p>\n<p>  curl https:\/\/rclone.org\/install.sh | sudo bash<\/p>\n<p>  \u914d\u7f6e\u5c31\u4e0d\u8bf4\u4e86\uff0c\u4f60\u4eec\u5e94\u8be5\u90fd\u4f1a<\/p>\n<p>  \u5b89\u88c5\u548c\u914d\u7f6eAria2<\/p>\n<p>  \u5728Github\u770b\u5230\u7684\u9879\u76ee\uff0c\u5f88\u65b9\u4fbf\uff1ahttps:\/\/github.com\/P3TERX\/aria2.conf<\/p>\n<p>  \u5b89\u88c5\u5fc5\u8981\u8f6f\u4ef6<\/p>\n<p>  #Debian\/Ubuntu<br \/>  apt install -y wget curl ca-certificates<br \/>  #CentOS<br \/>  yum install -y wget curl ca-certificates<\/p>\n<p>  \u4e0b\u8f7d\u811a\u672c<\/p>\n<p>  wget -N git.io\/aria2.sh &amp;&amp; chmod +x aria2.sh<\/p>\n<p>  \u8fd0\u884c\u5b89\u88c5\u811a\u672c<\/p>\n<p>  .\/aria2.sh<\/p>\n<p>  \u5b89\u88c5\u5b8c\u6bd5\u4e4b\u540e\u4fee\u6539\u4e00\u4e0b\u914d\u7f6e<\/p>\n<p>  \u4fee\u6539\u4e0a\u4f20\u811a\u672c\uff0c\u4e0a\u4f20\u811a\u672c\u4f4d\u4e8e \/root\/.aria2c\/autoupload.sh<br \/>  # Rclone \u914d\u7f6e\u65f6\u586b\u5199\u7684\u7f51\u76d8\u540d(name)<br \/>  DRIVE_NAME=&#8217;Onedrive&#8217;<br \/>  # \u7f51\u76d8\u76ee\u5f55\u3002\u5373\u4e0a\u4f20\u76ee\u6807\u8def\u5f84\uff0c\u7559\u7a7a\u4e3a\u7f51\u76d8\u6839\u76ee\u5f55\uff0c\u672b\u5c3e\u4e0d\u8981\u6709\u659c\u6760\u3002<br \/>  DRIVE_PATH=&#8217;\/Download&#8217;<\/p>\n<p>  \u4fee\u6539Aria2\u4e0b\u8f7d\u5b8c\u6210\u4e8b\u4ef6\uff0c\u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e \/root\/.aria2c\/aria2.conf<\/p>\n<p>  \u627e\u5230\u201c\u4e0b\u8f7d\u5b8c\u6210\u540e\u6267\u884c\u7684\u547d\u4ee4\u201d\uff0c\u628adelete.aria2.sh\u66ff\u6362\u4e3aautoupload.sh\u3002<\/p>\n<p>  # \u4e0b\u8f7d\u5b8c\u6210\u540e\u6267\u884c\u7684\u547d\u4ee4<br \/>  on-download-complete=\/root\/.aria2c\/autoupload.sh<\/p>\n<p>  \u4fee\u6539\u4e0a\u4f20\u901f\u7387(\u53ef\u9009)<br \/>  # \u5168\u5c40\u6700\u5927\u4e0a\u4f20\u901f\u5ea6\u9650\u5236, \u8fd0\u884c\u65f6\u53ef\u4fee\u6539, \u9ed8\u8ba4:0<br \/>  max-overall-upload-limit=100K<\/p>\n<p>  \u91cd\u542fAria2<br \/>  service aria2 restart<\/p>\n<p>  \t\t\t\t\t<strong>chxin<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8bf4\u7684\u597d\uff0c\u6211\u9009\u62e9onediveruploader:lol\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>creeper1<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8bf4\u5f97\u597d\uff0c\u6211\u9009\u62e9ccaa\u4e00\u952e\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u55f7\u55f7 \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u5b89\u88c5Aria&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\/110093"}],"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=110093"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/110093\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=110093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=110093"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=110093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}