daily pastebin goal
66%
SHARE
TWEET

transmission on ubuntu cincai guide

ak47suk1 May 23rd, 2011 555 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # update n upgrade in one go
  2.  
  3. sudo apt-get update && sudo apt-get upgrade -y
  4.  
  5. # install add-apt-repository
  6.  
  7. sudo apt-get install python-software-properties
  8.  
  9. # add transmission ppa
  10.  
  11. sudo add-apt-repository ppa:transmissionbt/ppa
  12.  
  13. # update
  14.  
  15. sudo apt-get update
  16.  
  17. # install transmission and nano
  18.  
  19. sudo apt-get install transmission-daemon nano
  20.  
  21. # edit /var/lib/transmission-daemon/info/settings.json
  22.  
  23. sudo nano /var/lib/transmission-daemon/info/settings.json
  24.  
  25. /****
  26.  
  27. Example config
  28.  
  29. {
  30.     "alt-speed-down": 50,
  31.     "alt-speed-enabled": false,
  32.     "alt-speed-time-begin": 540,
  33.     "alt-speed-time-day": 127,
  34.     "alt-speed-time-enabled": false,
  35.     "alt-speed-time-end": 1020,
  36.     "alt-speed-up": 50,
  37.     "bind-address-ipv4": "0.0.0.0",
  38.     "bind-address-ipv6": "::",
  39.     "blocklist-enabled": true,
  40.     "blocklist-url": "http://tbg.iblocklist.com/Lists/ipfilter.dat.gz",
  41.     "cache-size-mb": 4,
  42.     "dht-enabled": true,
  43.     "download-dir": "/var/www/any-folder-name-that-u-want",
  44.     "download-limit": 100,
  45.     "download-limit-enabled": 0,
  46.     "encryption": 1,
  47.     "idle-seeding-limit": 30,
  48.     "idle-seeding-limit-enabled": false,
  49.     "incomplete-dir": "/root/Downloads",
  50.     "incomplete-dir-enabled": false,
  51.     "lazy-bitfield-enabled": true,
  52.     "lpd-enabled": false,
  53.     "max-peers-global": 200,
  54.     "message-level": 2,
  55.     "open-file-limit": 32,
  56.     "peer-congestion-algorithm": "",
  57.     "peer-limit-global": 240,
  58.     "peer-limit-per-torrent": 60,
  59.     "peer-port": 51413,
  60.     "peer-port-random-high": 65535,
  61.     "peer-port-random-low": 49152,
  62.     "peer-port-random-on-start": false,
  63.     "peer-socket-tos": "default",
  64.     "pex-enabled": true,
  65.     "port-forwarding-enabled": false,
  66.     "preallocation": 1,
  67.     "prefetch-enabled": 1,
  68.     "proxy": "",
  69.     "proxy-auth-enabled": false,
  70.     "proxy-auth-password": "",
  71.     "proxy-auth-username": "",
  72.     "proxy-enabled": false,
  73.     "proxy-port": 80,
  74.     "proxy-type": 0,
  75.     "ratio-limit": 2,
  76.     "ratio-limit-enabled": false,
  77.     "rename-partial-files": true,
  78.     "rpc-authentication-required": true,
  79.     "rpc-bind-address": "0.0.0.0",
  80.     "rpc-enabled": true,
  81.     "rpc-password": "replace rpc-password to your chosen password. It will be rehashed later",
  82. # any port can be chosen. I chose 8080 for mine.
  83.     "rpc-port": 8080,
  84.     "rpc-url": "/transmission/",
  85.     "rpc-username": "transmission",
  86.     "rpc-whitelist": "*",
  87.     "rpc-whitelist-enabled": true,
  88.  
  89.  
  90. *****/
  91.  
  92.  
  93. #restart daemon + update config
  94.  
  95. service transmission-daemon reload
  96.  
  97. # try to access your web interface from your ip:port
  98.  
  99. # Example:
  100.  
  101. http://1.2.3.4:8080
RAW Paste Data
Top