ubuntu Transmission 설치 및 설정
1. apt-get install transmission-daemon
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libminiupnpc8 libnatpmp1 transmission-cli transmission-common Suggested packages: minissdpd natpmp-utils transmission-gtk The following NEW packages will be installed: libminiupnpc8 libnatpmp1 transmission-cli transmission-common transmission-daemon 0 upgraded, 5 newly installed, 0 to remove and 88 not upgraded. Need to get 846 kB of archives. After this operation, 4,149 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.daum.net/ubuntu/ trusty-security/main libminiupnpc8 amd64 1.6-3ubuntu2.14.04.1 [20.2 kB] Get:2 http://ftp.daum.net/ubuntu/ trusty/main libnatpmp1 amd64 20110808-3ubuntu2 [8,460 B] Get:3 http://ftp.daum.net/ubuntu/ trusty-security/main transmission-common all 2.82-1.1ubuntu3.1 [225 kB] Get:4 http://ftp.daum.net/ubuntu/ trusty-security/main transmission-daemon amd64 2.82-1.1ubuntu3.1 [207 kB] Get:5 http://ftp.daum.net/ubuntu/ trusty-security/main transmission-cli amd64 2.82-1.1ubuntu3.1 [386 kB] Fetched 846 kB in 1s (812 kB/s) Selecting previously unselected package libminiupnpc8. (Reading database ... 59217 files and directories currently installed.) Preparing to unpack .../libminiupnpc8_1.6-3ubuntu2.14.04.1_amd64.deb ... Unpacking libminiupnpc8 (1.6-3ubuntu2.14.04.1) ... Selecting previously unselected package libnatpmp1. Preparing to unpack .../libnatpmp1_20110808-3ubuntu2_amd64.deb ... Unpacking libnatpmp1 (20110808-3ubuntu2) ... Selecting previously unselected package transmission-common. Preparing to unpack .../transmission-common_2.82-1.1ubuntu3.1_all.deb ... Unpacking transmission-common (2.82-1.1ubuntu3.1) ... Selecting previously unselected package transmission-daemon. Preparing to unpack .../transmission-daemon_2.82-1.1ubuntu3.1_amd64.deb ... Unpacking transmission-daemon (2.82-1.1ubuntu3.1) ... Selecting previously unselected package transmission-cli. Preparing to unpack .../transmission-cli_2.82-1.1ubuntu3.1_amd64.deb ... Unpacking transmission-cli (2.82-1.1ubuntu3.1) ... Processing triggers for man-db (2.6.7.1-1) ... Processing triggers for ureadahead (0.100.0-16) ... ureadahead will be reprofiled on next reboot Setting up libminiupnpc8 (1.6-3ubuntu2.14.04.1) ... Setting up libnatpmp1 (20110808-3ubuntu2) ... Setting up transmission-common (2.82-1.1ubuntu3.1) ... Setting up transmission-daemon (2.82-1.1ubuntu3.1) ... id: debian-transmission: no such user transmission-daemon start/running, process 1600 Setting up transmission-cli (2.82-1.1ubuntu3.1) ... Processing triggers for libc-bin (2.19-0ubuntu6) ... Processing triggers for ureadahead (0.100.0-16) ...
2. transmission-daemon 설정
cd /etc/transmission-daemon/ root@192:/etc/transmission-daemon# ll total 16 drwxrwsr-x 2 root debian-transmission 4096 Feb 11 13:40 ./ drwxr-xr-x 94 root root 4096 Feb 11 13:40 ../ -rw-r--r-- 1 root root 303 Jul 28 2013 README.json -rw------- 1 debian-transmission debian-transmission 2381 Feb 11 13:40 settings.json
3.nano settings.json
다운로드 경로를 수정하실려면
mkdir 폴더명 명령어로 폴더을 생성해주시면 됩니다.
mkdir -p /transmission/downloads mkdir -p /transmission/incomplete chown -R debian-transmission:debian-transmission /transmission
{ "alt-speed-down": 50, "alt-speed-enabled": false, "alt-speed-time-begin": 540, "alt-speed-time-day": 127, "alt-speed-time-enabled": false, "alt-speed-time-end": 1020, "alt-speed-up": 50, "bind-address-ipv4": "0.0.0.0", "bind-address-ipv6": "::", "blocklist-enabled": false, "blocklist-url": "http://www.example.com/blocklist", "cache-size-mb": 4, "dht-enabled": true, "download-dir": "/transmission/downloads", #다운로드 완료후 경로 "download-limit": 100, "download-limit-enabled": 0, "download-queue-enabled": true, "download-queue-size": 5, #동시 다운로드수 "encryption": 1, "idle-seeding-limit": 30, "idle-seeding-limit-enabled": false, "incomplete-dir": "/transmission/incomplete", #다운로드중 경로 "incomplete-dir-enabled": false, "lpd-enabled": false, "max-peers-global": 200, "message-level": 2, "peer-congestion-algorithm": "", "peer-id-ttl-hours": 6, "peer-limit-global": 200, "peer-limit-per-torrent": 50, "peer-port": 51413, "peer-port-random-high": 65535, "peer-port-random-low": 49152, "peer-port-random-on-start": false, "peer-socket-tos": "default", "pex-enabled": true, "port-forwarding-enabled": false, "preallocation": 1, "prefetch-enabled": 1, "queue-stalled-enabled": true, "queue-stalled-minutes": 30, "ratio-limit": 2, "ratio-limit-enabled": false, "rename-partial-files": true, "rpc-authentication-required": true, "rpc-bind-address": "0.0.0.0", "rpc-enabled": true, "rpc-password": "transmissionpassword", #암호 "rpc-port": 9091,#접속포트 "rpc-url": "/transmission/", "rpc-username": "transmission",#접속아이디 "rpc-whitelist": "127.0.0.1", "rpc-whitelist-enabled": false, #false "scrape-paused-torrents-enabled": true, "script-torrent-done-enabled": false, "script-torrent-done-filename": "", "seed-queue-enabled": false, "seed-queue-size": 10, "speed-limit-down": 100, "speed-limit-down-enabled": false, "speed-limit-up": 100, "speed-limit-up-enabled": false, "start-added-torrents": true, "trash-original-torrent-files": false, "umask": 0, #파일권한 "upload-limit": 100, "upload-limit-enabled": 0, "upload-slots-per-torrent": 14, "utp-enabled": true }
4. transmission-daemon restart
service transmission-daemon restart
5.transmission-daemon GUI 접속
http://192.168.56.100:9091/
6. android app -> Remote Transmission
6. 서버 정보를 입력합니다.
host 입력란에 ddns 주소 및 IP를 입력합니다.
port 립력란에 9091을 입력합니다.
username 입력란에 rpc-username에 입력하셨던 id를 입력합니다.
password 입력란에 rpc-password에 입력하셨던 password를 입력합니다.
8.좌측상단의 메뉴를 누르시고 아래의 그림과 같은 메뉴가 보이시면 Add torrent를 클릭합니다.
9. torrent file를 찾아서 선택하시면 아래와 같은 메뉴선택화면이 보이실겁니다.
Delete .torrent file after adding 를 선택하시면 add 버튼클릭시 폰에 있던 .torrent file을 삭제합니다.