Ir ao conteúdo

Cliente torrent em Servidor linux com acesso via WEB

Olá,

Por que criar um servidor com um cliente torrent com acess web? Como eu moro com outras pessoas, que também utilizam torrent e tinha um computador rodando direto com outros serviços, decidi adicionar um cliente torrent (transmission) com acesso via web, assim não precisando deixar os computadores ligados baixando. Cada um possui acesso e pode deixar o seu.

Mas qual cliente utilizar? Verifiquei a existência desse tipo de clientes e verifiquei que existem dois bastante famosos, o w3btorrent e o torrentflux, li que ambos exercem muito bem sua função, porém o que eu não gostei é que eles precisam de servidor WEB como o Apache, o segundo se não estou enganado também precisa de PHP e por ai vai. Mas, será que não tem um que não precise disso? Claro que existe o próprio transmission, cliente nativo do Ubuntu.

Bom, chega de dar outras opções pra você e vamos a instalação do Transmission. Inicialmente acesse seu servidor via ssh e instale o transmission-daemon com o seguinte comando:

$ sudo apt-get install transmission-daemon

Agora você deve configurar o mesmo, para configurar o mesmo, acessei /home/usuario/.config/transmission-daemon/settings.json

O arquivo é extenso e possui diversas configurações mas todas praticamente intuitivas.

“download-dir”: – É o diretório onde os downloads terminados irão ficar
“incomplete-dir”: – É o diretório onde os downloads incompletos irão ficar
“incomplete-dir-enabled”: – Se irá usar o diretório incompleto ou não
“rpc-enabled”: – Se o acesso via web estará ligado ou não
“rpc-port”: – Porta do serviço
“rpc-whitelist-enabled”: – Se permitirá o acesso somente a certos IPs
“rpc-whitelist”: – Lista dos ips permitidos

Existem diversas outras configurações que podem ser feitas, mas essas são as básicas que utilizei para fazer ele funcionar, tive alguns problemas com a White-list então desabilitei a mesma, habilitei o rpc e pronto.

Este é o meu
Arquivo de configuração do transmission-daemon no mesmo a senha é “teste” e o usuário é “admin”

Para iniciar o transmission-daemon com um arquivo de configuração diferente, utilize –config-dir DIR/PARA/O/ARQUIVO

(Lembrando que não é necessário colocar o caminho até o settings.json e sim somente o caminho onde está o mesmo)

Adicionei no /etc/rc.local

transmission-daemon –config-dir /home/usuario/.config/transmission-daemon/

Removi o transmission-daemon do /etc/init.d/ reinicie e pronto.

Qualquer dúvida ou problema entre em contato, ficarei feliz em ajudar,
Matheus

Publicado emLinuxUbuntu

1.808 Comentários

  1. Вот такая история — близкий подсел на иглу, а что делать — непонятно . Я через это прошел несколько лет назад. Многие думают, что само пройдет , но нет . Нужна профессиональная медицина. Обзвонил десяток контор — одни обещания . А потом наткнулся на один действительно рабочий вариант. Если ищешь где получить круглосуточная наркологическая помощь — не рискуй здоровьем близкого. В Воронеже , если честно, тоже полно шарлатанов . Вся проверенная информация ниже по ссылке: наркологическая помощь в воронеже https://narkologicheskaya-pomoshh-voronezh-11.ru Откровенно говоря, после того как ознакомился, многое прояснилось . Там и про вывод из запоя , и про реабилитацию . Плюс работают круглосуточно — это важно . Рекомендую не тянуть .

  2. Вот такая беда приключилась — человек в запое , а тащить в больницу просто нереально . Моя семья такое пережила совсем недавно. Руки опускаются, а время идет. Хватаешься за телефон , а в ответ тишина . Пока кто-то не посоветовал один реально работающий вариант. Если нужна срочная помощь — а ехать куда-то просто физически не можете, то нужно вызывать врача на дом. Я про срочную наркологическую помощь на дому . У нас в столице, если честно, тоже полно левых контор без лицензии. Вся проверенная информация вот тут : вызов на дом частного нарколога вызов на дом частного нарколога Откровенно говоря, после того как ознакомился с условиями, многое стало на свои места . И про снятие запоя на дому, и про последующее кодирование. И цены адекватные, без разводов на месте. Рекомендую не тянуть резину .

  3. Mobil uygulama arayışım epey zaman aldı valla. Güncel apk’yı nereden indireceğimi bilemedim açıkçası. Adımları doğru sırayla uyguladıktan sonra erişim sorunsuz açıldı. En sonunda güvendiğim bir kaynağa ulaştım ve size de tüm detayları aktarmak istedim, güncel bilgilere buradan bakabilirsiniz: 1xbet nouvelle version à télécharger 1xbet nouvelle version à télécharger. Valla bak net söyleyeyim — telefonuma indirdikten sonra çok memnun kaldım.

    güncellemeleri de otomatik geliyor. Birçok platform denedim ama en iyisi bu çıktı — kesinlikle pişman olmazsınız deneyin derim. Şimdiden iyi şanslar ve bol kazançlar…

  4. Trust me, I’ve learned everything the hard way so you don’t have to. Then you actually show up to the local office to grab the keys. Completely different car sitting there — dents everywhere, smells like cheap air freshener covering something worse, and that “dream price”? Doesn’t include the mandatory $50 daily insurance or the $300 “administrative fee” they invent at checkout. Eleven years in South Florida and these clowns still almost get me. If you are trying to find a legitimate luxury fleet without getting ripped off, avoid the airport like the plague. Miami without proper wheels is basically a disaster, whether you are doing Key Biscayne sunset, Design District shopping, or a spontaneous drive down to the Everglades.

    I’ve tested maybe 60 rental companies across Dade, Broward, and Collier, but I eventually found a service with no games, no switch, and no hidden BS in paragraph 12 of the contract. If you are looking for the only honest source for premium rides across South Florida, check the current details here: luxury car hire luxury car hire. Also, definitely bring polarized shades unless you enjoy driving into the sun like a blind bat every single evening. Anyway, glad there’s at least one straight operator left in this rental jungle, let me know if you guys have any other clean spots.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *