{"id":464,"date":"2021-08-17T11:22:00","date_gmt":"2021-08-17T03:22:00","guid":{"rendered":"https:\/\/dasmz.com\/?p=464"},"modified":"2025-05-01T15:34:48","modified_gmt":"2025-05-01T07:34:48","slug":"debian-10%e7%8e%af%e5%a2%83%e4%b8%8a%ef%bc%8c%e9%83%a8%e7%bd%b2%e5%ae%89%e8%a3%85transmission-2021-8-17","status":"publish","type":"post","link":"https:\/\/dasmz.com\/?p=464","title":{"rendered":"Debian\/Ubuntu\u73af\u5883\u4e0a\uff0c\u90e8\u7f72\u5b89\u88c5Transmission\uff0c\u53ef\u4f9bBT\u4e0b\u8f7d"},"content":{"rendered":"\n<p><strong>\u524d\u7f00\u3001\u6587\u6863\u4fee\u6539\u8bb0\u5f55<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">20250428 \u521d\u59cb\u5316\u7f16\u8f91\u6b64\u6587\u7ae0\uff0c\u5b8c\u7a3f\u3002\u57fa\u4e8eDebian 12.9\u7cfb\u7edf\u73af\u5883\u7248\u672c\n20250501 \u56e0\u4e3aDebian\u7248\u672c\u91cc\u7684Transmission \u7248\u672c\u6709\u70b9\u95ee\u9898\uff0c\u66f4\u6362\uff0c\u7cfb\u7edf\u73af\u5883\u66f4\u6362\u4e3aUbuntu 24.04\uff0cTransmission\u7248\u672c\u4e3atransmission-daemon amd64 4.0.5-1build5<\/pre>\n\n\n\n<p><strong>\u7ae0\u82821\u3001\u9700\u6c42\u63cf\u8ff0<\/strong><\/p>\n\n\n\n<p>\u5b69\u5b50\u9700\u8981\u770b\u5965\u7279\u66fc\uff0c\u7236\u6bcd\u8981\u770b\u5f71\u89c6\u5267\uff0c\u8981\u770b\u51f9\u51f8\u66fc\uff0c\u56fd\u5185\u5267\u53ef\u4ee5\u901a\u8fc7\u54ce\u5466\u75bc\uff08\u7231\u5947\u827a\u89c6\u9891\uff0c\u4f18\u9177\u89c6\u9891\uff0c\u817e\u8baf\u89c6\u9891\uff09\u5728\u7ebf\u89c2\u770b\uff0c\u4f46\u662f\u4e00\u822c\u7684\u6d77\u5916\u7684\u5f71\u89c6\u5267\u96c6\uff0c\u7531\u4e8e\u7248\u6743\u548c\u5176\u4ed6\u539f\u56e0\uff0c\u5c31\u5f88\u96be\u6709\u6b63\u89c4\u7684\u89c2\u770b\u9014\u5f84\u4e86\uff0c\u4e8e\u662f\u53c8\u4e0d\u5f97\u4e0d\u56de\u5f52\u4ee5\u524d\u7684BT\u4e0b\u8f7d\u7684\u8def\u5b50\u3002<\/p>\n\n\n\n<p>\u8fd9\u91cc\uff0c\u4ecb\u7ecd\u7684\u662f\uff0c\u5728Linux\u73af\u5883\u4e0a\uff0c\u90e8\u7f72\u5e76\u5b89\u88c5BT\u4e0b\u8f7d\u7684\u5ba2\u6237\u7aefTransmission\uff0c\u6ee1\u8db3\u65e5\u5e38\u7684BT\u4e0b\u8f7d\u7684\u9700\u6c42\u3002<\/p>\n\n\n\n<p>2025-5-1\u66f4\u6362\u4e3aUbuntu 24.04\u7cfb\u7edf\uff0c\u91cc\u9762\u7684Transmission\u7248\u672c\u66f4\u65b0\u4e00\u4e9b \uff0c\u5b89\u88c5\u547d\u4ee4\u662f\u4e00\u6837\u7684\uff0c\u914d\u7f6e\u53c2\u6570\u4e5f\u6ca1\u5565\u53d8\u5316\uff0c\u633a\u597d\u3002<\/p>\n\n\n\n<p>\u7ae0\u82822\u3001\u73af\u5883\u63cf\u8ff0<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Ubuntu 24.04\u7cfb\u7edf\uff0c\u89c4\u683c8vCPU 8GB-Mem 12GB-Sys-SSD 300GB-Data-SSD \uff0c\u6211\u8fd9\u53f0\u4e3b\u673a\u7684\u89c4\u683c\u7528\u6765\u8dd1Transmission\uff0c\u6027\u80fd\u662f\u8db3\u8db3\u7684\u4e86<\/pre>\n\n\n\n<p>\u7ae0\u82823\u3001\u64cd\u4f5c\u6b65\u9aa4<\/p>\n\n\n\n<p>3.1\u3001\u66f4\u65b0\u7cfb\u7edf\uff0c\u66f4\u65b0\u4f60\u7684\u7cfb\u7edf\u5305\u5217\u8868<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@server:~# apt update<\/pre>\n\n\n\n<p>3.2\u3001\u5b89\u88c5 Transmission<\/p>\n\n\n\n<p>Debian 12 \/Ubuntu 24.04\u7684\u5b98\u65b9\u4ed3\u5e93\u5df2\u7ecf\u5305\u542b\u4e86 Transmission\uff0c\u53ef\u4ee5\u76f4\u63a5\u5b98\u65b9\u6e90\u5b89\u88c5<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@server:~# apt install transmission-daemon<\/pre>\n\n\n\n<p>\u5b89\u88c5\u540e\uff0c\u8f6f\u4ef6\u5c31\u81ea\u52a8\u5f00\u59cb\u8fd0\u884c<\/p>\n\n\n\n<p>\u672c\u6b21\u5b89\u88c5\u5230\u7684\u7248\u672c\u662ftransmission-common all 3.00-2.1+deb12u1 Tag-202504282201\uff0c4.0.5-1build5 Tag-20250501\u9ed8\u8ba4\u589e\u52a0\u7684\u7528\u6237 debian-transmission<\/p>\n\n\n\n<p>3.3\u3001\u505c\u6b62 Transmission\u670d\u52a1<\/p>\n\n\n\n<p>\u81ea\u5b9a\u4e49\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\u524d\uff0c\u5148\u505c\u6b62transmission-daemon\u670d\u52a1<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@server:~# systemctl stop transmission-daemon<\/pre>\n\n\n\n<p>3.4\u3001\u81ea\u5b9a\u4e49\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<p>\u914d\u7f6e\u6587\u4ef6\u8def\u5f84 \/etc\/transmission-daemon\/settings.json<\/p>\n\n\n\n<p>\u6709\u51e0\u4e2a\u81ea\u5b9a\u4e49\u7684\u53c2\u6570<\/p>\n\n\n\n<p>BT\u4e0b\u8f7d\u7684\u76d8\uff0c\u6211\u6311\u4e86\u4e00\u5757\u65e7250G\u7684SSD\uff0c\u8fd9\u6837\u574f\u4e86\u4e5f\u4e0d\u5f71\u54cd\u7cfb\u7edf\uff0c\u574f\u4e86\u4e5f\u4e0d\u5fc3\u75bc\uff0c\u6302\u8f7d\u8def\u5f84\u6cbf\u88ad\u65e7\u4f8b\u5230 \/media\/HDD1TB<\/p>\n\n\n\n<p>\u67e5\u770b\/dev\/sdb1 250G\u7684\u76d8\u7684UUID\uff0c\u5e76\u6302\u8f7d\u5230\u6240\u9700\u7684\u76ee\u5f55\uff0c\u6302\u8f7d\u6210\u529f\u540e\uff0c\u8d4b\u4e88\u5b83\u76ee\u5f55\u7684\u6743\u9650\u3002<\/p>\n\n\n\n<p>\u81ea\u5b9a\u4e49 \/media\/HDD1TB\/cache \u4e0b\u8f7d\u672a\u5b8c\u6210\u7684\u65f6\u5019\uff0c\u6587\u4ef6\u6240\u5904\u7684\u76ee\u5f55<br>\u81ea\u5b9a\u4e49 \/media\/HDD1TB\/downs \u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u6587\u4ef6\u6240\u5904\u7684\u76ee\u5f55<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@server:~# mkdir \/media\/HDD1TB\nroot@server:~# mkdir -p \/media\/HDD1TB\/cache \/media\/HDD1TB\/downs\n\nroot@server:~# blkid\n\/dev\/sdb1: LABEL=\"data\" UUID=\"33dd02ef-da0c-409b-a5cd-859a0197a5dc\" BLOCK_SIZE=\"4096\" TYPE=\"ext4\" PARTUUID=\"35c5fec6-01\"\n\nroot@server:~# tail -1 \/etc\/fstab\nUUID=\"33dd02ef-da0c-409b-a5cd-859a0197a5dc\" \/media\/HDD1TB ext4 defaults 0 0\n\nroot@server:~# mount -a\n\nroot@Trans:~# df -h | grep HDD\n\/dev\/sdb1                   218G   28K  207G   1% \/media\/HDD1TB\n<\/pre>\n\n\n\n<p>\u5c06 debian-transmission\u52a0\u5165\u5230\u7ba1\u7406\u5458UID-1000\u7684\u7528\u6237admin\u7ec4\uff0c\u65b9\u4fbf\u540e\u7eed\u7684\u6587\u4ef6\u7ba1\u7406\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@server:~# cd \/media\n\nroot@server:~# chown -R debian-transmission:admin .\/HDD1TB\n\nroot@server:~# chmod -R 775 .\/HDD1TB\n\nroot@server:~# usermod -aG admin debian-transmission    <\/pre>\n\n\n\n<p>\u914d\u7f6e\u6587\u4ef6\u8981\u4fee\u6539\u7684\u4e0d\u591a\uff0c\u4e3b\u8981\u662f\u4e0b\u8f7d\u76ee\u5f55\u3001\u7f13\u5b58\u76ee\u5f55\u3001\u4e0b\u8f7d\u9650\u901f\u3001\u4e0a\u4f20\u9650\u901f\u3001\u8d26\u53f7\u3001\u5bc6\u7801\u7b49\u5e38\u7528\u7684\u5c31\u591f\u4e86\uff0c\u522b\u7684\u53c2\u6570\u4e0d\u5fc5\u4fee\u6539<\/p>\n\n\n\n<p>\u9ed8\u8ba4\u7684\u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">{\n    \"alt-speed-down\": 50,\n    \"alt-speed-enabled\": false,\n    \"alt-speed-time-begin\": 540,\n    \"alt-speed-time-day\": 127,\n    \"alt-speed-time-enabled\": false,\n    \"alt-speed-time-end\": 1020,\n    \"alt-speed-up\": 50,\n    \"bind-address-ipv4\": \"0.0.0.0\",\n    \"bind-address-ipv6\": \"::\",\n    \"blocklist-enabled\": false,\n    \"blocklist-url\": \"http:\/\/www.example.com\/blocklist\",\n    \"cache-size-mb\": 4,\n    \"dht-enabled\": true,\n    \"download-dir\": \"\/var\/lib\/transmission-daemon\/downloads\",\n    \"download-limit\": 100,\n    \"download-limit-enabled\": 0,\n    \"download-queue-enabled\": true,\n    \"download-queue-size\": 5,\n    \"encryption\": 1,\n    \"idle-seeding-limit\": 30,\n    \"idle-seeding-limit-enabled\": false,\n    \"incomplete-dir\": \"\/var\/lib\/transmission-daemon\/Downloads\",\n    \"incomplete-dir-enabled\": false,\n    \"lpd-enabled\": false,\n    \"max-peers-global\": 200,\n    \"message-level\": 1,\n    \"peer-congestion-algorithm\": \"\",\n    \"peer-id-ttl-hours\": 6,\n    \"peer-limit-global\": 200,\n    \"peer-limit-per-torrent\": 50,\n    \"peer-port\": 51413,\n    \"peer-port-random-high\": 65535,\n    \"peer-port-random-low\": 49152,\n    \"peer-port-random-on-start\": false,\n    \"peer-socket-tos\": \"default\",\n    \"pex-enabled\": true,\n    \"port-forwarding-enabled\": false,\n    \"preallocation\": 1,\n    \"prefetch-enabled\": true,\n    \"queue-stalled-enabled\": true,\n    \"queue-stalled-minutes\": 30,\n    \"ratio-limit\": 2,\n    \"ratio-limit-enabled\": false,\n    \"rename-partial-files\": true,\n    \"rpc-authentication-required\": true,\n    \"rpc-bind-address\": \"0.0.0.0\",\n    \"rpc-enabled\": true,\n    \"rpc-host-whitelist\": \"\",\n    \"rpc-host-whitelist-enabled\": true,\n    \"rpc-password\": \"{cc8f2aede4fcaeb6a855b210b6af775e80ecf0f1pWs.JEN9\",\n    \"rpc-port\": 9091,\n    \"rpc-url\": \"\/transmission\/\",\n    \"rpc-username\": \"transmission\",\n    \"rpc-whitelist\": \"127.0.0.1\",\n    \"rpc-whitelist-enabled\": true,\n    \"scrape-paused-torrents-enabled\": true,\n    \"script-torrent-done-enabled\": false,\n    \"script-torrent-done-filename\": \"\",\n    \"seed-queue-enabled\": false,\n    \"seed-queue-size\": 10,\n    \"speed-limit-down\": 100,\n    \"speed-limit-down-enabled\": false,\n    \"speed-limit-up\": 100,\n    \"speed-limit-up-enabled\": false,\n    \"start-added-torrents\": true,\n    \"trash-original-torrent-files\": false,\n    \"umask\": 18,\n    \"upload-limit\": 100,\n    \"upload-limit-enabled\": 0,\n    \"upload-slots-per-torrent\": 14,\n    \"utp-enabled\": true\n}<\/pre>\n\n\n\n<p>\u4fee\u6539\u540e\u7684\u914d\u7f6e\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">{\n    \"alt-speed-down\": 50,\n    \"alt-speed-enabled\": false,\n    \"alt-speed-time-begin\": 540,\n    \"alt-speed-time-day\": 127,\n    \"alt-speed-time-enabled\": false,\n    \"alt-speed-time-end\": 1020,\n    \"alt-speed-up\": 50,\n    \"bind-address-ipv4\": \"0.0.0.0\",\n    \"bind-address-ipv6\": \"::1\",\n    \"blocklist-enabled\": false,\n    \"blocklist-url\": \"http:\/\/www.example.com\/blocklist\",\n    \"cache-size-mb\": 20,\n    \"dht-enabled\": true,\n    \"download-dir\": \"\/media\/HDD1TB\/downs\",\n    \"download-limit\": 100,\n    \"download-limit-enabled\": 0,\n    \"download-queue-enabled\": true,\n    \"download-queue-size\": 2,\n    \"encryption\": 1,\n    \"idle-seeding-limit\": 10,\n    \"idle-seeding-limit-enabled\": true,\n    \"incomplete-dir\": \"\/media\/HDD1TB\/cache\",\n    \"incomplete-dir-enabled\": true,\n    \"lpd-enabled\": false,\n    \"max-peers-global\": 300,\n    \"message-level\": 1,\n    \"peer-congestion-algorithm\": \"\",\n    \"peer-id-ttl-hours\": 6,\n    \"peer-limit-global\": 200,\n    \"peer-limit-per-torrent\": 50,\n    \"peer-port\": 51413,\n    \"peer-port-random-high\": 65535,\n    \"peer-port-random-low\": 49152,\n    \"peer-port-random-on-start\": false,\n    \"peer-socket-tos\": \"default\",\n    \"pex-enabled\": true,\n    \"port-forwarding-enabled\": false,\n    \"preallocation\": 1,\n    \"prefetch-enabled\": true,\n    \"queue-stalled-enabled\": true,\n    \"queue-stalled-minutes\": 30,\n    \"ratio-limit\": 1,\n    \"ratio-limit-enabled\": true,\n    \"rename-partial-files\": true,\n    \"rpc-authentication-required\": true,\n    \"rpc-bind-address\": \"0.0.0.0\",\n    \"rpc-enabled\": true,\n    \"rpc-host-whitelist\": \"\",\n    \"rpc-host-whitelist-enabled\": false,\n    \"rpc-password\": \"{abd1f2c8078fe339474767bcc972996397c27becDd5Zmgj2\",\n    \"rpc-port\": 9999,\n    \"rpc-url\": \"\/transmission\/\",\n    \"rpc-username\": \"trans\",\n    \"rpc-whitelist\": \"\",\n    \"rpc-whitelist-enabled\": false,\n    \"scrape-paused-torrents-enabled\": true,\n    \"script-torrent-done-enabled\": false,\n    \"script-torrent-done-filename\": \"\",\n    \"seed-queue-enabled\": true,\n    \"seed-queue-size\": 10,\n    \"speed-limit-down\": 4096,\n    \"speed-limit-down-enabled\": true,\n    \"speed-limit-up\": 512,\n    \"speed-limit-up-enabled\": true,\n    \"start-added-torrents\": true,\n    \"trash-original-torrent-files\": false,\n    \"umask\": 2,\n    \"upload-limit\": 100,\n    \"upload-limit-enabled\": 0,\n    \"upload-slots-per-torrent\": 14,\n    \"utp-enabled\": true\n}\n<\/pre>\n\n\n\n<p>\u7ae0\u82824\u3001\u542f\u52a8transmission-daemon\u670d\u52a1<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@server:~# systemctl start transmission-daemon<\/pre>\n\n\n\n<p>\u7ae0\u82825\u3001\u8bbf\u95eetransmission<\/p>\n\n\n\n<p>\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\u63a7\u5236\u9875\u9762 http:\/\/\u670d\u52a1\u5668\u7684IP:9999\/transmission \uff0c\u6dfb\u52a0\u78c1\u529b\u94fe\u63a5\u6216\u8005BT\u79cd\u5b50\uff0c\u5373\u53ef\u6162\u6162\u4e0b\u8f7d\u4e86\u3002<\/p>\n\n\n\n<p>\u7ae0\u82826\u3001\u4f18\u5316\u53c2\u6570<\/p>\n\n\n\n<p>\u5e94\u5bf9\u9ad8\u5e76\u53d1\u79cd\u5b50\u3001\u9ad8\u901f\u7f51\u7edc\uff08\u5982 100M \u2013 1G \u5e26\u5bbd\uff09\u3001\u5927\u91cf UDP tracker \u901a\u4fe1\u548c peer \u8fde\u63a5\uff0c\u5185\u6838\u53c2\u6570\u8bbe\u7f6e<\/p>\n\n\n\n<p>net.core.rmem_max \u51b3\u5b9a\u4e86\u8fd9\u4e2a\u7f13\u51b2\u533a\u7684\u6700\u5927\u503c\u3002<br>net.core.wmem_max \u51b3\u5b9a\u4e86\u5355\u4e2asocket\u7684\u53d1\u9001\u7f13\u51b2\u533a\u7684\u6700\u5927\u4e0a\u9650<br>\u5bf9\u4e8e Transmission\uff08BT \u4e0b\u8f7d\u5de5\u5177\uff09\uff0c\u8ffd\u6c42\u9ad8\u901f\u4e0a\u4f20\/\u4e0b\u8f7d\u3001\u5927\u91cf\u8fde\u63a5\u3001\u4f4e\u5ef6\u8fdf\u7684\u7a33\u5b9a\u4f20\u8f93\uff0c\u9002\u5f53\u8c03\u9ad8 rmem_max \u548c wmem_max \u662f\u5f88\u6709\u4ef7\u503c\u7684\u3002<\/p>\n\n\n\n<p>\u7f16\u8f91&nbsp;<code>\/etc\/sysctl.conf<\/code><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">net.core.rmem_max = 4194304   # 4 MB\nnet.core.wmem_max = 1048576   # 1 MB<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">root@server:~# sysctl -p<\/pre>\n\n\n\n<p>\u7ae0\u82827\u3001\u4f18\u5316\u53c2\u6570\u6587\u4ef6\u53e5\u67c4<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u7cfb\u7edf\u8d44\u6e90\u9650\u5236\uff08\u9632\u6b62fd\u6cc4\u9732\u5bfc\u81f4Web\u5361\u6b7b\uff09<\/p>\n\n\n\n<p>\u4fee\u6539\u6587\u4ef6 \/etc\/systemd\/system\/multi-user.target.wants\/transmission-daemon.service<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u4fee\u6539\n\/usr\/bin\/transmission-daemon -f --log-info\n# \u8ffd\u52a0\nLimitNOFILE=8192\nRestart=on-failure\nRestartSec=15\nStandardOutput=append:\/var\/log\/transmission.log\nStandardError=append:\/var\/log\/transmission-error.log\n<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img decoding=\"async\" loading=\"lazy\" width=\"882\" height=\"343\" src=\"https:\/\/dasmz.com\/wp-content\/uploads\/2025\/04\/Screenshot-from-2025-04-29-08-46-45.png\" alt=\"\" class=\"wp-image-4543\" srcset=\"https:\/\/dasmz.com\/wp-content\/uploads\/2025\/04\/Screenshot-from-2025-04-29-08-46-45.png 882w, https:\/\/dasmz.com\/wp-content\/uploads\/2025\/04\/Screenshot-from-2025-04-29-08-46-45-768x299.png 768w, https:\/\/dasmz.com\/wp-content\/uploads\/2025\/04\/Screenshot-from-2025-04-29-08-46-45-624x243.png 624w\" sizes=\"(max-width: 882px) 100vw, 882px\" \/><\/figure>\n\n\n\n<p><strong>\u9644\u5f551\u3001\u89c6\u9891\u64cd\u4f5c\u6f14\u793a<\/strong><\/p>\n\n\n\n<p><strong>\u9644\u5f552\u3001@Dasmz<\/strong><\/p>\n\n\n\n<p>\u535a\u5ba2\u5185\uff0c\u6240\u6709\u6559\u7a0b\u4e3a\u624b\u6253\u539f\u521b\u6559\u7a0b\uff0c\u5982\u679c\u6280\u672f\u6559\u7a0b\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\uff0c\u6b22\u8fce\u6253\u8d4f\u4f5c\u8005\u3002\u6280\u672f\u5c42\u9762\uff0c\u95fb\u9053\u6709\u5148\u540e\uff0c\u5982\u6709\u758f\u6f0f\u3001\u9519\u8bef\uff0c\u6b22\u8fce\u6307\u6b63\u3002\u6280\u672f\u535a\u5ba2\u7684\u5185\u5bb9\uff0c\u4e00\u822c\u5177\u6709\u4e00\u5b9a\u7684\u73af\u5883\u4f9d\u8d56\uff0c\u5177\u6709\u4e00\u5b9a\u7684\u5e74\u4ee3\u4f9d\u8d56\uff0c\u914c\u60c5\u53c2\u8003\u5176\u4e2d\u7684\u5185\u5bb9\uff0c\u8bf7\u52ff\u5b8c\u5168\u7167\u642c\u7167\u6284\u3002<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u535a\u5ba2\u5185\u5df2\u63d0\u53ca\u7684\u4e13\u4e1a\u77e5\u8bc6\uff0c\u5982\u679c\u9700\u8981\u6280\u672f\u6307\u5bfc\uff0c\u6b22\u8fce\u8054\u7cfb\u6211\uff0c\u4ec5\u9700\u652f\u4ed8\u5de5\u65f6\u8d39<\/p>\n\n\n\n<p>Twitter: <a href=\"https:\/\/x.com\/fdmove\">Dasmz<\/a><\/p>\n\n\n\n<p>Youtube: <a href=\"https:\/\/www.youtube.com\/@DasmzStudio\" data-type=\"URL\" data-id=\"https:\/\/www.youtube.com\/@DasmzStudio\">@DasmzStudio<\/a><\/p>\n\n\n\n<p>Telegram: <a href=\"https:\/\/t.me\/fdmove\" data-type=\"URL\" data-id=\"https:\/\/t.me\/fdmove\">@Dasmz<\/a><\/p>\n\n\n<div class=\"wp-block-image is-style-default\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"574\" height=\"446\" src=\"https:\/\/dasmz.com\/wp-content\/uploads\/2020\/12\/DONATE.jpg\" alt=\"Donate\" class=\"wp-image-18\"\/><figcaption class=\"wp-element-caption\">\u4e91\u4e5e\u8ba8<\/figcaption><\/figure><\/div>\n\n<pre class=\"wp-block-preformatted\">\u9644\u5f552\uff0c\u8fdb\u9636\u7684\u914d\u7f6e\uff0c\u8ba9Transmission\u7684\u6240\u6709\u6d41\u91cf\u5168\u90e8\u8d70socks5\u4ee3\u7406\n\n\u914d\u7f6e\u5230\u542f\u52a8\u670d\u52a1\u4e2d\uff0c\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\n...\n[Service]\nUser=debian-transmission\nEnvironment=\"HTTP_PROXY=http:\/\/127.0.0.1:7890\" \"HTTPS_PROXY=http:\/\/127.0.0.1:7890\" \"ALL_PROXY=socks5:\/\/127.0.0.1:7891\"\nType=notify\n...\n\n\u5b98\u65b9\u8bf4\u660e\nTransmission uses the libcurl library for http- and https-based tracker announces and scrapes. \nTransmission doesn't support proxies, but libcurl itself honors a handful of environment variables to customize its proxy behavior.<\/pre>\n<p><!-- \/wp:preformatted --><\/p>\n<p><!-- wp:preformatted --><\/p>\n<pre class=\"wp-block-preformatted\">-- -- -- -- \u5206\u5272\u7ebf-- -- -- -- <\/pre>\n<p><!-- \/wp:preformatted --><\/p>\n<p><!-- wp:preformatted --><\/p>\n<pre class=\"wp-block-preformatted\">\u9644\u5f551, \u4e00\u4e9b\u5176\u4ed6\u53c2\u6570\u7684\u542b\u4e49\u4e2d\u6587\u8bf4\u660e\u5982\u4e0b\uff0c\u6839\u636e\u81ea\u8eab\u9700\u8981\u8fdb\u884c\u8865\u5145\u7684\u914d\u7f6e\u8bbe\u7f6e\n\n\"alt-speed-up\": 500, # \u9650\u901f\u65f6\u6bb5\u4e0a\u4f20\u9650\u901f\u503c\n\"alt-speed-down\": 500, # \u9650\u901f\u65f6\u6bb5\u4e0b\u8f7d\u9650\u901f\u503c\n\"alt-speed-enabled\": false,\n\"alt-speed-time-begin\": 540,\n\"alt-speed-time-day\": 127, # \u65f6\u6bb5\u9650\u901f\u65e5\u671f\uff08\u661f\u671f\u51e0\uff09\uff0c127 \u8868\u793a\u6bcf\u5929\uff0c\u66f4\u590d\u6742\u914d\u7f6e\u53c2\u8003\u5b98\u7f51\u3002\u7528 7 \u4f4d\u4e8c\u8fdb\u5236\u6570\u8868\u793a\uff0c\u7136\u540e\u8f6c\u6362\u6210\u5341\u8fdb\u5236\u6570\uff0c0000001 \u8868\u793a\u5468\u65e5\uff0c1000000 \u8868\u793a\u5468\u516d\uff0c0000010 \u8868\u793a\u5468\u4e00\uff0c0000100 \u8868\u793a\u5468\u4e8c\u3002\u5982\u679c\u4f60\u53ea\u8981\u5728\u5468\u672b\u9650\u901f\uff0c\u8be5\u6570\u5e94\u8be5 1000001\uff0c\u8f6c\u6362\u4e3a\u5341\u8fdb\u5236\u5c31\u662f 65\n\"alt-speed-time-enabled\": true, # \u542f\u7528\u9650\u901f\uff0c\u4e3a false \u65f6\uff0c\u4ee5\u4e0a\u8ba1\u5212\u914d\u7f6e\u5219\u4e0d\u751f\u6548\uff0c\u751f\u6548\u65f6\u4f1a\u81ea\u52a8\u7981\u7528 alt-speed-enabled \u914d\u7f6e\uff0c\u4e8c\u8005\u53ea\u80fd\u9009\u4e00\u4e2a\n\"alt-speed-time-end\": 420, # \u9650\u901f\u65f6\u6bb5\u7ed3\u675f\u65f6\u95f4\uff0c\u8fd9\u4e2a\u914d\u7f6e\u8868\u793a\u7684\u662f\u51cc\u6668\u96f6\u70b9\u5230\u5f00\u59cb\u65f6\u95f4\u7684\u5206\u949f\u6570\uff0c\u6bd4\u5982 7:00 \u5c31\u662f 7*60=420\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u8be5\u65f6\u95f4\u662f\u7528\u7684 GMT \u65f6\u95f4\uff0c\u5373\u5317\u4eac\u65f6\u95f4 -8 \u5c0f\u65f6\u3002\u6bd4\u5982\u4f60\u8ba1\u5212\u5317\u4eac\u65f6\u95f4 7 \u70b9 30 \u5206\u5f00\u59cb\uff0c\u8fd9\u4e2a\u6570\u5b57\u5e94\u8be5\u662f\uff087-8+24\uff09*60+30=1410\n\"bind-address-ipv4\": \"0.0.0.0\", # IPv4 \u5730\u5740\u7ed1\u5b9a\uff0c\u4e00\u822c\u4e0d\u8981\u6539\u52a8\n\"bind-address-ipv6\": \"::\", #IPv6 \u5730\u5740\u7ed1\u5b9a\uff0c\u4e00\u822c\u4e0d\u8981\u6539\u52a8\n\"blocklist-enabled\": true, # \u542f\u52a8\u767d\u540d\u5355\uff0c\u9ed8\u8ba4\u4e0d\u542f\u52a8\uff0c\u9700\u8981\u542f\u52a8\u6539\u4e3a true\n\"blocklist-updates-enabled\": false,\n\"blocklist-url\": \"http:\/\/www.example.com\/blocklist\",\n\"cache-size-mb\": 4, #\u7f13\u5b58\u5927\u5c0f\uff0c\u4ee5 MB \u4e3a\u5355\u4f4d\uff0c\u5efa\u8bae\u8bbe\u5927\u4e00\u4e9b\uff0c\u907f\u514d\u9891\u7e41\u8bfb\u5199\u786c\u76d8\u800c\u4f24\u786c\u76d8\uff0c\u5efa\u8bae\u8bbe\u4e3a\u5185\u5b58\u5927\u5c0f\u7684 1\/6\uff5e1\/4\n\"compact-view\": false,\n\"dht-enabled\": false, #\u5173\u95ed DHT\uff08\u4e0d\u901a\u8fc7 tracker \u5bfb\u627e\u8282\u70b9\uff09\u529f\u80fd\uff0c\u4e0d\u5c11 PT \u7ad9\u7684\u8981\u6c42\uff0c\u4f46 BT \u4e0b\u8f7d\u8bbe\u7f6e\u4e3a true \u4f1a\u4f7f\u5f97\u4e0b\u8f7d\u66f4\u597d\n\"download-dir\": \"\/share\/Downloads\", #\u4e0b\u8f7d\u7684\u5185\u5bb9\u5b58\u653e\u7684\u76ee\u5f55\n\"download-queue-enabled\": true,  # \u4e0b\u8f7d\u961f\u5217\u5f00\u5173\n\"download-queue-size\": 5, # \u4e0b\u8f7d\u961f\u5217\u6570\u91cf\n\"encryption\": 1, # \u52a0\u5bc6\u3002\u6307\u5b9a\u8282\u70b9\u7684\u52a0\u5bc6\u6a21\u5f0f\uff0c\u9ed8\u8ba4 1\u30020 \u8868\u793a\u5173\u95ed , 0= \u4e0d\u52a0\u5bc6\uff0c1= \u4f18\u5148\u52a0\u5bc6\uff0c2= \u5fc5\u987b\u52a0\u5bc6\n\"lazy-bitfield-enabled\": true, # \u9ed8\u8ba4\u4e3a true\uff0c\u8bbe\u7f6e\u4e3a true \u65f6\u53ef\u4ee5\u907f\u514d\u67d0\u4e9b ISP \u901a\u8fc7\u67e5\u8be2\u5b8c\u6574\u4f4d\u6bb5\u6765\u5c4f\u853d BT\uff0c\u4ece\u800c\u7834\u89e3\u90e8\u5206 ISP \u5bf9 BT \u7684\u5c01\u6740\uff0c\u5f53\u7136\u4e0d\u4e00\u5b9a\u5b8c\u5168\u6709\u6548\n\"idle-seeding-limit\": 30,\n\"idle-seeding-limit-enabled\": false,\n\"incomplete-dir\": \"\/share\/Downloads\",  # \u4e34\u65f6\u6587\u4ef6\u8def\u5f84\n\"incomplete-dir-enabled\": false,\n\"inhibit-desktop-hibernation\": true,\n\"lpd-enabled\": false, #\u7981\u7528 LDP\uff08\u672c\u5730\u8282\u70b9\u53d1\u73b0\uff0c\u7528\u4e8e\u5728\u672c\u5730\u7f51\u7edc\u5bfb\u627e\u8282\u70b9\uff09, \u4e0d\u5c11 PT \u7ad9\u7684\u8981\u6c42\n\"main-window-height\": 500,\n\"main-window-is-maximized\": 0,\n\"main-window-width\": 615,\n\"main-window-x\": 337,\n\"main-window-y\": 211,\n\"message-level\": 2,\n\"open-dialog-dir\": \"\/share\/Download\",  # \u7f51\u9875\u5bf9\u8bdd\u6846\u6253\u5f00\u7684\u6839\u76ee\u5f55\n\"peer-congestion-algorithm\": \"\",\n\"peer-limit-global\": 240, # \u5168\u5c40\u8fde\u63a5\u6570\n\"peer-limit-per-torrent\": 60, # \u6bcf\u4e2a\u79cd\u5b50\u6700\u591a\u7684\u8fde\u63a5\u6570\n\"peer-port\": 51413, # \u4f20\u5165\u7aef\u53e3\uff0c\u9884\u8bbe\u7684 port \u53e3\n\"peer-port-random-high\": 65535, # \u4f20\u5165\u7aef\u53e3\u968f\u673a\u503c\u8303\u56f4\u4e0a\u9650\n\"peer-port-random-low\": 49152, # \u4f20\u5165\u7aef\u53e3\u968f\u673a\u503c\u8303\u56f4\u4e0b\u9650\n\"peer-port-random-on-start\": false, # \u542f\u7528\u968f\u673a\u7aef\u53e3\uff0c\u9ed8\u8ba4\u5173\u95ed\uff0c\u4e0d\u5efa\u8bae\u6539\u4e3a true\n\"peer-socket-tos\": \"default\",\n\"pex-enabled\": false, # \u662f\u5426\u542f\u7528\u7528\u6237\u4ea4\u6362\uff0c\u9ed8\u8ba4\u4e3a true\uff0c\u5173\u4e8e PEX\uff0c\u6709\u5174\u8da3\u7684\u670b\u53cb\u53ef\u53c2\u8003 http:\/\/en.wikipedia.org\/wiki\/Peer_exchange\uff0c\u5bf9\u4e8e\u53ea\u7528 PT \u7684\u670b\u53cb\uff0c\u53ef\u4ee5\u8bbe\u4e3a false, \u7981\u7528 PEX\uff08\u8282\u70b9\u4ea4\u6362\uff0c\u7528\u4e8e\u540c\u5df2\u4e0e\u60a8\u76f8\u8fde\u63a5\u7684\u8282\u70b9\u4ea4\u6362\u8282\u70b9\u540d\u5355\uff09, \u4e0d\u5c11 PT \u7ad9\u7684\u8981\u6c42\n\"port-forwarding-enabled\": true, # \u542f\u7528\u7aef\u53e3\u8f6c\u53d1\uff08uPnP\uff09\uff0c\u5982\u679c\u8def\u7531\u652f\u6301\u5e76\u4e14\u4e5f\u5f00\u542f\u4e86 uPnP\uff0c\u5219\u8def\u7531\u4f1a\u81ea\u52a8\u505a\u7aef\u53e3\u6620\u5c04\uff0c\u4f46\u662f\u9700\u8981\u6ce8\u610f\u7684\u662f\u5982\u679c\u5185\u7f51\u6709\u51e0\u53f0\u673a\u5668\u540c\u65f6\u4f7f\u7528 transmission\uff0c\u5c31\u5fc5\u987b\u66f4\u6539 peer-port \u503c\u4e3a\u4e0d\u4e00\u6837\n\"preallocation\": 1, # \u9884\u5206\u914d\u6587\u4ef6\u78c1\u76d8\u7a7a\u95f4\uff0c0= \u5173\u95ed\uff0c1= \u5feb\u901f\uff0c2= \u5b8c\u5168\u3002\u5efa\u8bae\u53d6 1 \u5f00\u542f\u8be5\u529f\u80fd\uff0c\u9632\u6b62\u4e0b\u8f7d\u5927\u534a\u4e86\u624d\u53d1\u73b0\u78c1\u76d8\u4e0d\u591f\u3002\u53d6 2 \u65f6\uff0c\u53ef\u4ee5\u51cf\u5c11\u78c1\u76d8\u788e\u7247\uff0c\u4f46\u901f\u5ea6\u8f83\u6162\u3002\n\"prefetch-enabled\": 1,\n\"queue-stalled-enabled\": true,\n\"queue-stalled-minutes\": 30,\n\"ratio-limit\": 2, # \u5206\u4eab\u7387\u9650\u5236\n\"ratio-limit-enabled\": false, # \u542f\u7528\u5206\u4eab\u7387\u9650\u5236\uff0c\u9ed8\u8ba4\u4e0d\u542f\u7528\n\"rename-partial-files\": true, #\u5728\u672a\u5b8c\u6210\u7684\u6587\u4ef6\u540d\u540e\u6dfb\u52a0\u540e\u7f00.part,false= \u7981\u7528\n\"rpc-authentication-required\": true, # \u8fdc\u7a0b\u63a7\u5236\u9700\u8981\u9a8c\u8bc1\uff0c\u9ed8\u8ba4\u4e3a\u9700\u8981\n\"rpc-bind-address\": \"0.0.0.0\", # \u8fdc\u7a0b\u63a7\u5236\u5730\u5740\u7ed1\u5b9a\uff0c\u5141\u8bb8 IP \u901a\u8fc7 RPC \u8bbf\u95ee\uff0c\u9ed8\u8ba4\u503c\u8868\u793a\u4efb\u4f55\u5730\u5740\u90fd\u53ef\u4ee5\u8bbf\u95ee\n\"rpc-enabled\": true, # \u542f\u7528\u8fdc\u7a0b\u63a7\u5236\uff0c\u9ed8\u8ba4\u542f\u7528\n\"rpc-host-whitelist-enabled\": true, # \u662f\u5426\u5f00\u542f\u4e3b\u673a\u767d\u540d\u5355\n\"rpc-host-whitelist\": \"\", # \u767d\u540d\u5355\uff0c\u5982\u679c\u9700\u8981\u8fdc\u7a0b\u8bbf\u95ee\uff0c\u6700\u597d\u914d\u7f6e\n\"rpc-password\": \"{cxxxxxxxxxxaE\", #web-ui \u7684\u5bc6\u7801\uff0c\u53ef\u76f4\u63a5\u4fee\u6539\uff0c\u91cd\u65b0\u8fd0\u884c\u6216\u8005 reload \u670d\u52a1\u7684\u65f6\u5019\u5bc6\u7801\u4f1a\u81ea\u52a8 HASH \u589e\u52a0\u5b89\u5168\u6027\n\"rpc-port\": 9091, # \u9ed8\u8ba4 web-ui \u7684 port \u53e3\uff0c\u4e5f\u662f\u8fdc\u7a0b\u63a7\u5236\u7aef\u53e3\uff0c\u53ef\u81ea\u884c\u66f4\u6539\n\"rpc-url\": \"\/transmission\/\",\n\"rpc-username\": \"transmission\", #\u9ed8\u8ba4\u767b\u5165\u540d\u79f0\uff0c\u4e5f\u662f\u8fdc\u7a0b\u63a7\u5236\u7528\u6237\u540d\n\"rpc-whitelist\": \"127.0.0.1\", # \u8fdc\u7a0b\u63a7\u5236\u767d\u540d\u5355\uff0c\u9ed8\u8ba4\u503c\u4e3a\u6240\u6709\u5730\u5740\uff0c\u652f\u6301\u901a\u914d\u7b26*\uff0c\u5982 192.168.2.*\n\"rpc-whitelist-enabled\": true, # \u542f\u7528\u8fdc\u7a0b\u63a7\u5236\u767d\u540d\u5355\uff0c\u5982\u679c\u542f\u7528\uff0c\u5219\u4ec5\u4ec5\u4e0a\u9762\u5217\u51fa\u7684\u5730\u5740\u53ef\u4ee5\u8fdc\u7a0b\u8fde\u63a5\n\"scrape-paused-torrents-enabled\": true,\n\"script-torrent-done-enabled\": false,\n\"script-torrent-done-filename\": \"\/home\/\",\n\"seed-queue-enabled\": false,\n\"seed-queue-size\": 10,\n\"show-backup-trackers\": true,\n\"show-extra-peer-details\": false,\n\"show-filterbar\": true,\n\"show-notification-area-icon\": false,\n\"show-options-window\": true,\n\"show-statusbar\": true,\n\"show-toolbar\": true,\n\"show-tracker-scrapes\": true,\n\"sort-mode\": \"sort-by-age\",\n\"sort-reversed\": false,\n\"speed-limit-down\": 300, #\u5e73\u65f6\u7684\u4e0b\u8f7d\u9650\u901f\n\"speed-limit-down-enabled\": true, #\u542f\u7528\u5e73\u65f6\u4e0b\u8f7d\u9650\u901f\n\"speed-limit-up\": 30, #\u5e73\u65f6\u4e0a\u4f20\u9650\u901f\n\"speed-limit-up-enabled\": true, #\u542f\u7528\u5e73\u65f6\u4e0a\u4f20\u9650\u901f\n\"start-added-torrents\": false,\n\"statusbar-stats\": \"total-ratio\",\n\"torrent-added-notification-enabled\": true,\n\"torrent-complete-notification-enabled\": true,\n\"torrent-complete-sound-enabled\": true,\n\"trash-can-enabled\": true,\n\"trash-original-torrent-files\": false,\n\"umask\": 18,\n\"upload-slots-per-torrent\": 14\n\"utp-enabled\": true, #\u542f\u7528\u03bcTP \u534f\u8bae\n\"watch-dir\": \"\/share\/bt\",  # \u76d1\u542c\u6587\u4ef6\u5939\u76ee\u5f55\n\"watch-dir-enabled\": false # \u662f\u5426\u76d1\u542c\u6587\u4ef6\u5939<\/pre>\n<p><!-- \/wp:preformatted --><\/p>","protected":false},"excerpt":{"rendered":"<p>\u524d\u7f00\u3001\u6587\u6863\u4fee\u6539\u8bb0\u5f55 20250428 \u521d\u59cb\u5316\u7f16\u8f91\u6b64\u6587\u7ae0\uff0c\u5b8c\u7a3f\u3002\u57fa\u4e8eDebian 12.9\u7cfb\u7edf\u73af\u5883\u7248\u672c 2025 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[34,171],"_links":{"self":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/464"}],"collection":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=464"}],"version-history":[{"count":60,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/464\/revisions"}],"predecessor-version":[{"id":4553,"href":"https:\/\/dasmz.com\/index.php?rest_route=\/wp\/v2\/posts\/464\/revisions\/4553"}],"wp:attachment":[{"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dasmz.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}