Instalando o daemon do transmission pra uso via web para servidor


Instalar

apt install transmission-daemon -y

Configurar

nano /etc/transmission-daemon/settings.json


{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "blocklist-url": "http://www.example.com/blocklist",
    "cache-size-mb": 4,
    "dht-enabled": true,
    "download-dir": "/home/Midia/", <<<  Vai ficar arquivos baixados.
    "download-limit": 100,
    "download-limit-enabled": 0,
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 2, <<< Altere para 2
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/var/lib/transmission-daemon/Downloads",
    "incomplete-dir-enabled": false,
    "lpd-enabled": false,
    "max-peers-global": 200,
    "message-level": 1,
    "peer-congestion-algorithm": "",
    "peer-id-ttl-hours": 6,
    "peer-limit-global": 200,
    "peer-limit-per-torrent": 50,
    "peer-port": 51413,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": "lowcost", <<< Altere para lowcost
    "pex-enabled": true,
    "port-forwarding-enabled": true, <<< Altere para true
    "preallocation": 1,
    "prefetch-enabled": true,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 2,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-host-whitelist": "",
    "rpc-host-whitelist-enabled": false,
    "rpc-password": "SENHA", <<<Coloque um senha ao fazer reload no transmission ele criptografa a senha.
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "USUÁRIO", <<<< Usuário para login
    "rpc-whitelist": "127.0.0.1",
    "rpc-whitelist-enabled": false, <<<Padrão ligada=true. desligue com false assim acessa de qualquer lugar.
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "speed-limit-down": 4000, <<< Informa os valores limites de download
    "speed-limit-down-enabled": true, <<<ligar=true
    "speed-limit-up": 1000, <<< Informa os valores limites de upload
    "speed-limit-up-enabled": true,<<<ligar=true
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 18,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 14,
    "utp-enabled": true
}

Colocar configuração em vigor.

invoke-rc.d transmission-daemon reload && service transmission-daemon status

opcional

echo "net.core.rmem_max = 4194304
net.core.wmem_max = 1048576" >> /etc/sysctl.conf

 sysctl -p

##################################################################

Fonte :: https://wiki.debian.org/BitTorrent/Transmission

Comentários

Postagens mais visitadas deste blog

Roteador Modelo HGW-2501GNP-RC da Vivo

Login automático LXDE

wicd perfil otimizado