Setting Up Transmission-Daemon To Use With Remote GUI In Ubuntu And Debian
来源:互联网 发布:吃鸡优化差 编辑:程序博客网 时间:2024/05/30 23:52
http://www.webupd8.org/2009/12/setting-up-transmission-remote-gui-in.html
Platform : LW3xx running Debian
I've used rTorrent and wTorrent (which I've already posted how to set up) and also ruTorrent and various Web UIs for rTorrent but I've came to the conclusion that the best way (for me at least) for remote Bittorrent download is Transmission Remote GUI - I've been using it for a few days now and love it. Please note that I've only tested it on a remote Debian server but I've adapted everything for Ubuntu so it should work for it too.
In this article, I will cover installing and configuring transmission-daemon in a headless (but should work on a normal Debian / Ubuntu install too) Debian or Ubuntu machine.
In this article, I will cover installing and configuring transmission-daemon in a headless (but should work on a normal Debian / Ubuntu install too) Debian or Ubuntu machine.
transmisson-remote-gui is feature rich cross platform (works on Windows, Linux and Mac OSX) front-end to remotely control Transmission daemon via its RPC protocol. It is faster and has more functionality than build-in Transmission web interface.
Transmission Remote GUI features:
* Native application for Windows and Linux (GTK2)
* uTorrent-like interface
* Select files to download
* Choose files priority
* View details about connected peers
* Full information about each torrent
* Per torrent options
Install Transmission
To run transmission-daemon, you need to install transmission-cli, transmission-common and transmission-daemon. Please note that I have tested this on the latest transmission-cli (1.76).
Installing Transmission Daemon in Ubuntu
This is optional - if you want to install the latest Transmission, use the following PPA:
sudo add-apt-repository ppa:transmissionbt/ppasudo apt-get update
Then install the required packages:
sudo apt-get install transmission-cli transmission-common transmission-daemon
Installing Transmission Daemon in Debian
Debian Sid and Squeeze come with the latest Transmission version, however, Debian Lenny does not. We could compile it of curse but I was too lazy this time so I used the packages from Sid and installed them in Lenny.
-For Debian Sid, Squeeze or newer:
apt-get install transmission-cli transmission-common transmission-daemon
-For Debian Lenny:
Libevent is needed so we are going to install this too.
-i386:
wget http://ftp.de.debian.org/debian/pool/main/t/transmission/transmission-daemon_1.76-1_i386.debwget http://ftp.us.debian.org/debian/pool/main/t/transmission/transmission-cli_1.76-1_i386.debwget http://http.us.debian.org/debian/pool/main/libe/libevent/libevent-1.4-2_1.4.13-stable-1_i386.debwget http://ftp.us.debian.org/debian/pool/main/t/transmission/transmission-common_1.76-1_all.deb
-amd64:
wget http://ftp.de.debian.org/debian/pool/main/t/transmission/transmission-daemon_1.76-1_amd64.debwget http://ftp.us.debian.org/debian/pool/main/t/transmission/transmission-cli_1.76-1_amd64.debwget http://http.us.debian.org/debian/pool/main/libe/libevent/libevent-1.4-2_1.4.13-stable-1_amd64.debwget http://ftp.us.debian.org/debian/pool/main/t/transmission/transmission-common_1.76-1_all.deb
-for both:
Then, install these packages:
dpkg -i *.deb
Configure transmission-daemon
If you are reading this how-to, you must be wanting to run transmission-daemon remotely, through transmisson-remote-gui so we must make the necessary adjustments:
transmission-daemon -f -t -u your_username -v your_password -w /path/to/downloaded/torrents -g /etc/transmission-daemon/
(For Ubuntu, add "sudo" in front of the command)Now you can click Ctrl + C to cancel (close transmission-daemon)
And make the torrents download dir writable:
chmod -R 777 /path/to/downloaded/torrents
Explanations:
Replace the text in bold with your values (it's self explanatory).
The -f option sets transmission-daemon to run in the foreground (not as a daemon) for this session so we can easily close it usingCtrl + C.
"-t" sets the authentication to true.
"-g" sets the Transmission Daemon config folder. Without setting it, ~/.config/transmission-daemon will be used.
Further configuring (required for remote usage!)
Setting the allowed hosts to "*" does not work through thetransmission-daemon -a option for some reason, so we must edit the newly created config file. You can, of course, set the allowed hosts to just your IP, but I for instance have a dynamic IP address so I have to set it to "*". Let's proceed:
Firstly, make sure transmission-daemon is not running, or else, the changes to it's settings file will not be saved (it's a known bug):
/etc/init.d/transmission-daemon stop
(if using Ubuntu, simply put sudo in front of the above command)
Now let's edit the settings file:
-For Ubuntu:
sudo nano /etc/transmission-daemon/settings.json
-For Debian:
nano /etc/transmission-daemon/settings.json
-Both:
Look for this line:
"rpc-whitelist":
and set it to your remote IP or to "*".
Then press Ctrl + O and then Ctrl + X (save and exit).
Run transmission-daemon
Now let's start transmission-daemon. Simply type:
/etc/init.d/transmission-daemon start
or:
transmission-daemon
(for Ubuntu, use sudo)
It should use all the configuration we used earlier. If for some reason you cannot connect using the Transmission Remote GUI, stop transmission-daemon and check the configuration file.
To stop it:
/etc/init.d/transmission-daemon stop
Start it again with:
/etc/init.d/transmission-daemon start
The transmission-daemon init.d script should already be created, but in case it's not (for older versions), seeTHIS PAGE.
Download and configure transmisson-remote-gui
Download Transmission Remote GUI.
This is actually pretty easy, there are binary files for Windows, Linux (all) and Mac, so download the desired format for your OS and run it.
In Linux, all you have to do is make the file called "transgui" executable (chmod +x transgui) and then double click it.
To set it to connect to your newly set up Ubuntu / Debian machine, simply go to Tools > Options, enter the remote host IP (leave the port as is - it should be ok), and also the username and password you've set like I have explained in the transmission-daemon configuration above:
(the info in the screenshot was removed for obvious reasons =) ).
Note: you can also use Transmission Remote Java, an alternative to Transmission Remote GUI, but I don't really like Java so I choose Transmission Remote GUI.
- Setting Up Transmission-Daemon To Use With Remote GUI In Ubuntu And Debian
- Setting Up OpenERP (Odoo) 9 with Nginx on RHEL/CentOS and Debian/Ubuntu
- Setting up OpenCV with Qt Creator in Ubuntu 13.10
- Setting up Minicom in Ubuntu
- Setting up your Windows computer to run JPetStore 3.x with MySQL and Tomcat
- How-To: Set up SVN with Apache2 in Linux (Ubuntu)
- Setting up Qt Development in Ubuntu 9.04
- Setting Up a Telnet Server in Ubuntu
- setting up central mercurial server in ubuntu
- How to setting up ADSL under Ubuntu
- Setting up Systemd on Debian in 10 minutes
- How to use Comparator and Comparable in Java? With example
- Setting up tinyproxy under Linux/Debian/Ubuntu/etc
- Setting up Hadoop/Hive to use MySQL as metastore
- How to Setup and Use Github in Ubuntu
- Linux Bible: Boot Up to Fedora, KNOPPIX, Debian, SUSE, Ubuntu , and 7 Other Distributions
- Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distri
- Setting Up and Working with Self-Service Transactions
- Oralce学习笔记
- 毙掉UITableView的重用
- How Do I Enable Remote Access To MySQL Database Server?
- c++快速排序实例
- 解决Solaris桌面启动问题
- Setting Up Transmission-Daemon To Use With Remote GUI In Ubuntu And Debian
- 最短路径
- 很同意一句话:CMMI成功的最重要的一条原因是“企业文化和领导的重视”!
- JS总结
- sysbench scripts (2)
- 菜鸟JS笔记1
- 资源信息
- new与delete必须成对使用
- C#操作语音控制程序