Title: [2012.05.14] How To Install Transmissin BT Client [Print this page] author: 夢 time: 2011-12-15 01:22 Title: [2012.05.14] How To Install Transmissin BT Client
If we want to use the transmission, we must pre install some software.Like below command.
I suggest the people can install the rtorrent+rutorrent first, if the transmission can't work fine, there are no cross-reference to let reader debug issue.
(The command can check the packet of intltool packet : sudo apt-cache show intltool)
Copy the Code
Then, we can complete to install transmission
./configure -q && make -s
sudo make install
Copy the Code
After we install the transmission, we need to create the environment to let transmission work fine.
mkdir tm tm-temp tm-torrents
sudo ldconfig
transmission-daemon -f
ctrl^c
Copy the Code
People can refer the rtorrent installing tutorial to know why we create the folders - tm & tm-temp & tm-torrents.
Then we need write the script to control transmission state when we execute the transmission and restart the system.
First, we write the initial script can let transmission auto execute when we start the ubuntu system.
sudo vi /etc/init.d/transmission-daemon
Copy the Code
#! /bin/sh
### BEGIN INIT INFO
# Provides: transmission-daemon
# Required-Start: networking
# Required-Stop: networking
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Start the transmission BitTorrent daemon client.
### END INIT INFO
# Original Author: Lennart A. JÃŒtte, based on Rob Howell's script
# Modified by Maarten Van Coile & others (on IRC)
# Do NOT "set -e"
#
# ----- CONFIGURATION -----
#
# For the default location Transmission uses, visit:
People must pay attenttion that the content of the script is different with the official provide, please use the script I provide.
And, people need change the content of * in line 31 to your real username, you can refer the home directory.
About the above script, search *** and change the content to fit your environment or your like.
People can refer the official website to get explaination of the parameter.
BTW, when people change password can reload the setting by this caomand.
pkill -HUP transmission-da
Copy the Code
Then, we execute the command and we can use thetransmission
transmission-daemon
Copy the Code
or
sudo /etc/init.d/transmission-daemon restart
Copy the Code
if you want to see the web ui, put the internet site in your web browser and enter.
See your script setting to get informationrpc-bind-address、rpc-port and rpc-url.
http://rpc-bind-address:rpc-port/rpc-url
Copy the Code
Final, if you want to upgrade the transmission, I suggest you remove the old transmission and install new version source code again.
For example, I remove the 2.42 version and install the 2.5 version
So, after you install the software finished, remember don't remove the complier source code.
When you wnat to upgrade the transmission and you want make uninstall, you need to use the source code.
Welcome to BDMV.INFO (http://www.ghostisland.org/snow/)