티스토리 뷰

OS/Linux

[CentOS7] torrent deamon 설치

파란크리스마스 2015. 2. 11. 21:32
728x90

출처 : Centos 토렌트 머신 만들기 ,Transmission 사용하기
Centos 6.5 - Transmission 설치 (torrent)

EPEL 설치

EPEL 설치 없이 설치 했더니 설치가 완벽하게 되지 않았습니다. EPEL 먼저 실치 해주세요.

# rpm -ivh http://mirror.us.leaseweb.net/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
yum -y upgrade

transmission 리스트 확인

# yum list | grep transmission
transmission.x86_64                      2.84-1.el7                   epel      
transmission-cli.x86_64                  2.84-1.el7                   epel      
transmission-common.x86_64               2.84-1.el7                   epel      
transmission-daemon.x86_64               2.84-1.el7                   epel      
transmission-gtk.x86_64                  2.84-1.el7                   epel      
transmission-qt.x86_64                   2.84-1.el7                   epel      

transmission 설치

설치 중간에 transmission-gtk-2.84-1.el7.x8 FAILED가 있습니다.
EPEL 설치가 먼저 선행되지 않아서 발생한 오류 입니다.
EPEL 설치 후 reinstall 한 로그까지 올립니다.

# yum install transmission transmission-daemon

출처 사이트에서 copy 했더니 No package transmission-deamon available.
daemon 철자도 잘 못 적었네요

# yum install transmission transmission-deamon
Loaded plugins: fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
 * base: ftp.neowiz.com
 * epel: mirror.premi.st
 * extras: ftp.neowiz.com
 * nux-dextop: mirror.li.nux.ro
 * rpmforge: ftp.neowiz.com
 * updates: ftp.daum.net
No package transmission-deamon available.
Resolving Dependencies
--> Running transaction check
---> Package transmission.x86_64 0:2.84-1.el7 will be installed
--> Processing Dependency: transmission-gtk for package: transmission-2.84-1.el7.x86_64
--> Processing Dependency: transmission-cli for package: transmission-2.84-1.el7.x86_64
--> Running transaction check
---> Package transmission-cli.x86_64 0:2.84-1.el7 will be installed
--> Processing Dependency: transmission-common for package: transmission-cli-2.84-1.el7.x86_64
---> Package transmission-gtk.x86_64 0:2.84-1.el7 will be installed
--> Running transaction check
---> Package transmission-common.x86_64 0:2.84-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================
 Package                   Arch         Version           Repository  Size
===========================================================================
Installing:
 transmission              x86_64       2.84-1.el7        epel        18 k
Installing for dependencies:
 transmission-cli          x86_64       2.84-1.el7        epel       259 k
 transmission-common       x86_64       2.84-1.el7        epel       730 k
 transmission-gtk          x86_64       2.84-1.el7        epel       819 k

Transaction Summary
===========================================================================
Install  1 Package (+3 Dependent packages)

Total download size: 1.8 M
Installed size: 6.5 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): transmission-2.84-1.el7.x86_64.rpm             |  18 kB   00:02     
transmission-gtk-2.84-1.el7.x8 FAILED                                          
http://mirror01.idc.hinet.net/EPEL/7/x86_64/t/transmission-gtk-2.84-1.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror01.idc.hinet.net; Name or service not known"
Trying other mirror.
(2/4): transmission-common-2.84-1.el7.x86_64.rpm      | 730 kB   00:01     
(3/4): transmission-cli-2.84-1.el7.x86_64.rpm         | 259 kB   00:02     
(4/4): transmission-gtk-2.84-1.el7.x86_64.rpm         | 819 kB   00:07     
---------------------------------------------------------------------------
Total                                         167 kB/s | 1.8 MB  00:10     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : transmission-common-2.84-1.el7.x86_64                   1/4 
  Installing : transmission-cli-2.84-1.el7.x86_64                      2/4 
  Installing : transmission-gtk-2.84-1.el7.x86_64                      3/4 
  Installing : transmission-2.84-1.el7.x86_64                          4/4 
  Verifying  : transmission-cli-2.84-1.el7.x86_64                      1/4 
  Verifying  : transmission-common-2.84-1.el7.x86_64                   2/4 
  Verifying  : transmission-gtk-2.84-1.el7.x86_64                      3/4 
  Verifying  : transmission-2.84-1.el7.x86_64                          4/4 

Installed:
  transmission.x86_64 0:2.84-1.el7                                         

Dependency Installed:
  transmission-cli.x86_64 0:2.84-1.el7                                     
  transmission-common.x86_64 0:2.84-1.el7                                  
  transmission-gtk.x86_64 0:2.84-1.el7                                     

Complete!
# rpm -ivh http://mirror.us.leaseweb.net/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
http://mirror.us.leaseweb.net/epel/7/x86_64/e/epel-release-7-5.noarch.rpm(을)를 복구합니다
준비 중...                         ################################# [100%]
        epel-release-7-5.noarch 패키지는 이미 설치되어 있습니다
# yum reinstall transmission transmission-daemon
Loaded plugins: fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
 * base: ftp.neowiz.com
 * epel: mirror.premi.st
 * extras: ftp.neowiz.com
 * nux-dextop: mirror.li.nux.ro
 * rpmforge: ftp.neowiz.com
 * updates: ftp.daum.net
Resolving Dependencies
--> Running transaction check
---> Package transmission.x86_64 0:2.84-1.el7 will be reinstalled
---> Package transmission-daemon.x86_64 0:2.84-1.el7 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================
 Package                   Arch         Version           Repository  Size
===========================================================================
Reinstalling:
 transmission              x86_64       2.84-1.el7        epel        18 k
 transmission-daemon       x86_64       2.84-1.el7        epel       263 k

Transaction Summary
===========================================================================
Reinstall  2 Packages

Total size: 281 k
Total download size: 263 k
Installed size: 545 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for epel
transmission-daemon-2.84-1.el7.x86_64.rpm             | 263 kB   00:04     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : transmission-2.84-1.el7.x86_64                          1/2 
  Installing : transmission-daemon-2.84-1.el7.x86_64                   2/2 
  Verifying  : transmission-daemon-2.84-1.el7.x86_64                   1/2 
  Verifying  : transmission-2.84-1.el7.x86_64                          2/2 

Installed:
  transmission.x86_64 0:2.84-1.el7 transmission-daemon.x86_64 0:2.84-1.el7

Complete!
# 

환경 설정 (/var/lib/transmission/.config/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-url": "/transmission/", 
"rpc-username": "admin",
"rpc-enabled": true, 
"rpc-password": "admin12", 
"rpc-port": 9091, 
"rpc-whitelist": "127.0.0.1", 
"rpc-whitelist-enabled": false, 

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

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

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

다운로드 경로 설정

"download-dir": "/bluesanta/torrent/torrent.temp", 
"incomplete-dir": "/bluesanta/torrent/torrent.incoming", 
"incomplete-dir-enabled": true, 

서비스 등록

# chkconfig --level=2345 transmission-daemon on

서비스 시작

# service transmission-daemon start
Redirecting to /bin/systemctl start  transmission-daemon.service

서비스 종료

# service transmission-daemon stop
Redirecting to /bin/systemctl stop  transmission-daemon.service

웹 접속

transmisson-remote-gui

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


댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/12   »
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 31
글 보관함