티스토리 뷰

OS/Linux

Transmission 설치

파란크리스마스 2019. 7. 7. 10:20
728x90

출처

다운로드 디렉토리 생성

$ mkdir -p /home/bluesanta/torrent/torrent.temp
$ mkdir -p /home/bluesanta/torrent/torrent.auto
$ sudo chown -R debian-transmission:debian-transmission /home/bluesanta/torrent
$ mkdir -p /bluesanta/torrent/torrent.incoming
$ sudo chown -R debian-transmission:debian-transmission /bluesanta/torrent/torrent.incoming

Transmission 설치

$ sudo apt-get install transmission-daemon

환경 설정 (/etc/transmission-daemon/settings.json)

$ sudo vi /etc/transmission-daemon/settings.json

서비스가 종료된 경우만 수정 가능

IP filter 설정

    "blocklist-enabled": true,
    "blocklist-url": "http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz",

외부 웹 접속 설정

    "rpc-authentication-required": true, 
    "rpc-password": "asdf1234",
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "trans",
    "rpc-whitelist": "127.0.0.1,192.168.0.1,192.168.0.1",
    "rpc-whitelist-enabled": true,

최대 다운로드, 최대 업로드 관련 설정

"speed-limit-down-enabled": true 일 경우에만 speed-limit-down 가 적용
"speed-limit-up-enabled": true 일 경우에만 speed-limit-up 가 적용

    "speed-limit-down": 0,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 100,
    "speed-limit-up-enabled": true,

다운로드 경로 설정

    "download-dir": "/bluesanta/torrent/torrent.incoming",
    "incomplete-dir": "/home/bluesanta/torrent/torrent.temp",
    "incomplete-dir-enabled": true,
    "watch-dir": "/home/bluesanta/torrent/torrent.auto",
    "watch-dir-enabled": true,
    "trash-original-torrent-files": true,

서비스 시작

$ sudo service transmission-daemon start

서비스 종료

$ sudo service transmission-daemon stop

서비스 상태 확인

$ sudo service transmission-daemon status
● transmission-daemon.service - Transmission BitTorrent Daemon
   Loaded: loaded (/lib/systemd/system/transmission-daemon.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2019-07-07 11:25:31 KST; 1h 25min ago
  Process: 3902 ExecStop=/bin/kill -s STOP $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 3919 (transmission-da)
   Status: "Uploading 327.56 KBps, Downloading 3761.33 KBps."
    Tasks: 4 (limit: 4915)
   CGroup: /system.slice/transmission-daemon.service
           └─3919 /usr/bin/transmission-daemon -f --log-error
 
 7월 07 11:25:30 bluesanta-ubuntu systemd[1]: Starting Transmission BitTorrent Daemon...
 7월 07 11:25:31 bluesanta-ubuntu systemd[1]: Started Transmission BitTorrent Daemon.
 7월 07 11:25:32 bluesanta-ubuntu transmission-daemon[3919]: [2019-07-07 11:25:32.024] UDP Failed to set receive buffer:
 7월 07 11:25:32 bluesanta-ubuntu transmission-daemon[3919]: [2019-07-07 11:25:32.024] UDP Failed to set send buffer: re

웹 접속

transmisson-remote-gui

https://code.google.com/p/transmisson-remote-gui/

댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함