{"id":362,"date":"2021-09-25T15:46:37","date_gmt":"2021-09-25T07:46:37","guid":{"rendered":"https:\/\/830519.xyz\/?p=362"},"modified":"2023-03-23T14:40:25","modified_gmt":"2023-03-23T06:40:25","slug":"transmission","status":"publish","type":"post","link":"https:\/\/830519.xyz\/?p=362","title":{"rendered":"BT"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code><strong>\u4e0b\u8f7d\u6587\u4ef6\u5927\u5c0f\u8fc7\u6ee4<\/strong>\n\\&#91;\\d\\d\\..*MB\\]|\\&#91;\\d\\..*MB\\]\n\\&#91;&#91;1-3]\\..*GB\\]<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>CentOS\u5b89\u88c5Transmission<\/strong>\nyum -y install epel-release\nyum -y update\nyum install transmission-daemon\n\nsystemctl start transmission-daemon.service\nsystemctl stop transmission-daemon.service\nsystemctl enable transmission-daemon\n\nvi \/var\/lib\/transmission\/.config\/transmission-daemon\/settings.json\n\"encryption\": 2,\/\/\u7b49\u4e8e0\u65f6\u4e0d\u52a0\u5bc6\uff0c1\u662f\u4f18\u5148\u52a0\u5bc6\uff0c2\u662f\u5fc5\u987b\u52a0\u5bc6\n\u201cdht-enabled\u201d: false, \/\/\u542f\u7528DHT\u7f51\u7edc\uff08\u901a\u8fc7tracker\u5bfb\u627e\u8282\u70b9\uff09\uff0c\u9ed8\u8ba4\u542f\u7528\n\"rpc-authentication-required\": true,\/\/\u662f\u5426\u542f\u7528\u5b89\u5168\u7b56\u7565 \n\"rpc-enabled\": true,\/\/\u662f\u5426\u5f00\u542f\u7f51\u9875 \n\"rpc-password\": \"\u8f93\u5165\u4f60\u7684\u7ba1\u7406\u5bc6\u7801\", \n\"rpc-username\": \"\u7ba1\u7406\u4f60\u7684\u7528\u6237\u540d\", \n\"rpc-whitelist-enabled\": false,\/\/\u662f\u5426\u9650\u5236IP \n\"download-dir\": \"\/var\/lib\/transmission\/Downloads\", \/\/\u4e0b\u8f7d\u5b8c\u6210\u7684\u4fdd\u5b58\u8def\u5f84\n\"incomplete-dir\": \"\/var\/lib\/transmission\/Downloads\", \/\/\u672a\u4e0b\u8f7d\u5b8c\u6210\u7684\u4fdd\u5b58\u8def\u5f84\n\nchown -R transmission \u65b0\u4e0b\u8f7d\u6587\u4ef6\u8def\u5f84 chgrp -R transmission \u65b0\u4e0b\u8f7d\u6587\u4ef6\u8def\u5f84\n\nwget https:\/\/github.com\/ronggang\/transmission-web-control\/raw\/master\/release\/install-tr-control.sh --no-check-certificate\nbash install-tr-control.sh<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>Debian\u5b89\u88c5Transmission<\/strong>\napt-get install transmission-daemon\nservice transmission-daemon stop\nvi \/var\/lib\/transmission-daemon\/info\/settings.json\n\ndownload-dir\u201d: \u201c\/down\u201d, #\u4e0b\u8f7d\u76ee\u5f55\u7684\u7edd\u5bf9\u8def\u5f84\uff0c\u6839\u636e\u81ea\u5df1\u7684\u786c\u76d8\u60c5\u51b5\u6765\u8bbe\u5b9a\n\u201cincomplete-dir\u201d: \u201c\/down\/temp\u201d, #\u4e34\u65f6\u6587\u4ef6\u8def\u5f84\n\u201crpc-authentication-required\u201d: true, #\u542f\u7528\u9a8c\u8bc1\n\u201crpc-bind-address\u201d: \u201c0.0.0.0\u201d, #\u5141\u8bb8\u4efb\u4f55IP\u901a\u8fc7RPC\u534f\u8bae\u8bbf\u95ee\n\u201crpc-enabled\u201d: true, #\u5141\u8bb8\u901a\u8fc7RPC\u8bbf\u95ee\n\u201crpc-password\u201d: \u201c123456\u201d, #RPC\u9a8c\u8bc1\u5bc6\u7801\uff08\u4fdd\u5b58\u5e76\u542f\u52a8\u540edaemon\u4f1a\u8ba1\u7b97\u5e76\u66ff\u6362\u4e3aHASH\u503c\u4ee5\u589e\u52a0\u5b89\u5168\u6027\uff09\n\u201crpc-port\u201d: 9091, #RPC\u7aef\u53e3\n\u201crpc-username\u201d: \u201ctransmission\u201d, #RPC\u9a8c\u8bc1\u7528\u6237\u540d\n\u201crpc-whitelist\u201d: \u201c*\u201d, #RPC\u8bbf\u95ee\u767d\u540d\u5355\n\u201crpc-whitelist-enabled\u201d: false, #\u5173\u95ed\u767d\u540d\u5355\u529f\u80fd\u4ee5\u4fbf\u516c\u7f51\u8bbf\u95ee\n\nservice transmission-daemon start\n\nwget https:\/\/github.com\/ronggang\/transmission-web-control\/raw\/master\/release\/install-tr-control-cn.sh\nchmod +x install-tr-control-cn.sh\n.\/install-tr-control-cn.sh<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>Debian\u5b89\u88c5qBittorrent<\/strong>\nwget https:\/\/github.com\/userdocs\/qbittorrent-nox-static\/releases\/download\/release-4.4.2_v2.0.5\/x86_64-qbittorrent-nox\nchmod +x x86_64-qbittorrent-nox\n.\/x86_64-qbittorrent-nox -d --webui-port=38080\n\n<strong>\u5f00\u673a\u81ea\u542f<\/strong>\nnano \/etc\/rc.local\n\n\u6dfb\u52a0\u81ea\u542f\u4ee3\u7801\uff1a\n#!\/bin\/sh -e\n#\n# rc.local\n#\n# This script is executed at the end of each multiuser runlevel.\n# Make sure that the script will \"exit 0\" on success or any other\n# value on error.\n#\n# In order to enable or disable this script just change the execution\n# bits.\n#\n# By default this script does nothing.\n\/root\/x86_64-qbittorrent-nox -d --webui-port=38080\nexit 0\n\nchmod +x \/etc\/rc.local<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>Debian\u5b89\u88c5qBittorrent<\/strong>\napt update -y &amp;&amp; apt upgrade -y\napt install qbittorrent-nox -y\nnano \/etc\/systemd\/system\/qbittorrent-nox.service\n\n&#91;Unit]\nDescription=qBittorrent Command Line Client\nAfter=network.target\n\n&#91;Service]\nType=forking\nUser=root\nGroup=root\nUMask=007\nExecStart=\/usr\/bin\/qbittorrent-nox -d --webui-port=8080\nRestart=on-failure\n\n&#91;Install]\nWantedBy=multi-user.target\n\nsystemctl daemon-reload &amp;&amp; systemctl enable qbittorrent-nox\nsystemctl start qbittorrent-nox\nsystemctl status qbittorrent-nox\n---------------------------------------\nadduser --system --group qbittorrent-nox\nadduser your-username qbittorrent-nox\nUser=qbittorrent-nox\nGroup=qbittorrent-nox<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>#Dedicated-Seedbox<\/strong>\n<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/jerry048\/Dedicated-Seedbox\" data-type=\"URL\" data-id=\"https:\/\/github.com\/jerry048\/Dedicated-Seedbox\" target=\"_blank\">https:\/\/github.com\/jerry048\/Dedicated-Seedbox<\/a>\nbash &lt;(wget -qO- https:\/\/raw.githubusercontent.com\/jerry048\/Dedicated-Seedbox\/main\/Install.sh) &lt;username&gt; &lt;password&gt; &lt;Cache Size(unit:GiB)&gt;<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<pre class=\"wp-block-code\"><code>\n<strong>#IYUUAutoReseed<\/strong> - IYUU\u81ea\u52a8\u8f85\u79cd\u5de5\u5177\n<a href=\"https:\/\/github.com\/ledccn\/IYUUAutoReseed\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/ledccn\/IYUUAutoReseed<\/a><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-362","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/posts\/362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/830519.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=362"}],"version-history":[{"count":5,"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/posts\/362\/revisions"}],"predecessor-version":[{"id":731,"href":"https:\/\/830519.xyz\/index.php?rest_route=\/wp\/v2\/posts\/362\/revisions\/731"}],"wp:attachment":[{"href":"https:\/\/830519.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/830519.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/830519.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}