Friday, August 16, 2013

Install Transmission Daemon on CentOS / Fedora / Ubuntu



Transmission is Torrent / Magnet link client vastly used on Linux, its available for almost all distros.
If you are willing to use it as headless / VM to download torrents with minimal installationon your CentOS / Fedora / RHEL distro following is the packages needs to be installed & configuration required to access transmission as web service.

here 192.168.1.1 is machine transmission daemon
192.168.1.0/24 is lan

CentOS
Install epel repo

rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
yum -y install transmission-daemon transmission-cli


Fedora

yum -y install transmission-daemon transmission-cli


Ubuntu

apt-get install transmission-daemon transmission-cli


Configure your machine ip / network to allow access to transmission daemon.

Make sure daemon is already stopped, otherwise changes may not work on start / restart.
CentOS

/etc/init.d/transmission-daemon stop
vi /var/lib/transmission/.config/transmission/settings.json
#from
"rpc-whitelist": "127.0.0.1",
#to
"rpc-whitelist": "192.168.1.*",

/etc/init.d/transmission-daemon start


Fedora 16
Fedora does not install transmission-daemon as a service.

killall transmission-daemon
vi ~/.config/transmission-daemon/settings.json
#from
"rpc-whitelist": "127.0.0.1",
#to
"rpc-whitelist": "192.168.1.*",
transmission-daemon


Ubuntu 11.10

/etc/init.d/transmission-daemon stop
vi /etc/transmission-daemon/settings.json
#from
"rpc-whitelist": "127.0.0.1",
#to
"rpc-whitelist": "192.168.1.*",

/etc/init.d/transmission-daemon start


Now you can access transmission using http://192.168.1.1:9091/
Ubuntu may ask for username & password. which is transmission. Thats because of following entry in settings.json
"rpc-authentication-required": false,

No comments:

Post a Comment