Skip to content

Torrent Client in linux server with web access

Hello

Why to create a server with a torrent client with web access? I live with other people that uses torrent too. I had a computer running a server with other services, so I decided to add this client (transmission-daemon) with web access, in this way we don't need to let computers on. Just this one. Everybody have web access to it and it is so simple to use.

But wich client to use? I searched a little bit and found that exists some famous ones as w3btorrent and torrentflux. but they need a web-server running like apache. And I don't want to setup it too, because I don't need it. So I choosed transmission the native torrent client in Ubuntu.

So, to install it in Ubuntu server you use:

$ sudo apt-get install transmission-daemon

Now you need to setup it, my configuration file was in /home/user/.config/transmission-daemon/settings.json

The options are a lot but it is easy to understand them.

"download-dir": - Finished path downloads
"incomplete-dir": - Incomplete path downloads
"incomplete-dir-enabled": - If it will use Incomplete dir or not
"rpc-enabled": - Web access enabled or not
"rpc-port": - Web access port
"rpc-whitelist-enabled": - If it will let just a few ip address
"rpc-whitelist": - List of the ip address

There is a lot of other configs but this ones are the basic that I used to have it working. I had some problems with white-list so I disabled it.

This is my
file of config of transmission-daemon in this config the user is "admin" and the password is "teste"

If you want to strat transmission-daemon with a different config file use --config-dir /PATH/TO/SETTING/

(Remember that you must not put the settings.json in the path, just the path to the place that the file is.)

I add in /etc/rc.local

transmission-daemon --config-dir /home/user/.config/transmission-daemon/

Remove the transmission-daemon from /etc/init.d/ and reboot your system

Any doubth or problem, feel free to contact me,
Matheus

Published inLinuxUbuntu

5 Comments

  1. darkstar darkstar

    Excelente!!!!

  2. Eduardo Eduardo

    Há outra solução parecida com o Transmission, o deluge

    Estou utilizando-o no meu servidor de arquivos.

  3. darkstar, obrigado!

    Eduardo, desconheço o mesmo, vou dar uma olhada sobre o mesmo e testar e ver o que eu acho. Obrigado pela dica!

  4. Mário Sérgio Mário Sérgio

    Matheus,
    estou com um problema e como vc disse que ficaria feliz em ajudar lá vou eu te pertubar um pouquinho,
    estou tentando instalar o transmission em um servidor vps e estou tendo um problema logo depois de instalar o transmission eu não consigo configurar o mesmo pois não encontro o arquivo de configuração. se vc quiser até lhe passo o login e senha do server para vc dar uma olhada.

    abraços

  5. Olá,

    Para localizar o arquivo tente executar
    "sudo find / | grep settings.json" vai dizer onde o arquivo esta, no meu servidor o padrão está em "
    /etc/transmission-daemon/settings.json" mas utilizo um diretorio meu passando a opção "transmission-daemon --config-dir /home/x-warrior/.config/transmission-daemon/" na inicialização

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.