Torrentflux-b4rt on CentOS5.5

Transmissionのインストールがよくわからなかったので、TorrentfluxをインストールしようということでTorrentflux-b4rtのインストールメモ。

公式:http://tf-b4rt.berlios.de/

インスコ

[root@localhost ~]# cd /tmp/install/
[root@localhost install]# wget http://prdownload.berlios.de/tf-b4rt/torrentflux-b4rt_1.0-beta2.tar.bz2
--2010-08-22 12:30:12--  http://prdownload.berlios.de/tf-b4rt/torrentflux-b4rt_1.0-beta2.tar.bz2
prdownload.berlios.de をDNSに問いあわせています... 195.37.77.141
prdownload.berlios.de|195.37.77.141|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 3839 (3.7K) [text/html]
`torrentflux-b4rt_1.0-beta2.tar.bz2' に保存中
100%[=================================================>] 3,839       --.-K/s 時間 0s
2010-08-22 12:30:13 (136 MB/s) - `torrentflux-b4rt_1.0-beta2.tar.bz2' へ保存完了 [3839/3839]
[root@localhost install]# tar jxvf torrentflux-b4rt_1.0-beta2.tar.bz2
torrentflux-b4rt_1.0-beta2/
torrentflux-b4rt_1.0-beta2/FEATURES
torrentflux-b4rt_1.0-beta2/clients/
torrentflux-b4rt_1.0-beta2/clients/transmission/
torrentflux-b4rt_1.0-beta2/clients/transmission/INSTALL
torrentflux-b4rt_1.0-beta2/clients/transmission/Transmission-1.06_tfCLI-svn3356.tar.bz2
torrentflux-b4rt_1.0-beta2/clients/transmission/Transmission-0.96_tfCLI-svn3355.tar.bz2
torrentflux-b4rt_1.0-beta2/clients/transmission/Transmission-0.72_tfCLI-svn3318.tar.bz2
torrentflux-b4rt_1.0-beta2/clients/tornado/
torrentflux-b4rt_1.0-beta2/clients/tornado/BitTornado-0.3.15.tar.bz2
torrentflux-b4rt_1.0-beta2/clients/tornado/BitTornado-0.3.17.tar.bz2
torrentflux-b4rt_1.0-beta2/clients/tornado/BitTornado-0.3.18.tar.bz2
・
・
[root@localhost install]# mv torrentflux-b4rt_1.0-beta2 /var/www/torrentflux
[root@localhost install]# cd /var/www/torrentflux/
[root@localhost torrentflux]# yum -y --enablerepo=rpmforge install uudeview cksfv unrar
Loaded plugins: fastestmirror
Determining fastest mirrors
* addons: www.ftp.ne.jp
* base: www.ftp.ne.jp
* extras: www.ftp.ne.jp
* rpmforge: apt.sw.be
* updates: www.ftp.ne.jp
addons                                                              |  951 B     00:00
base                                                                | 2.1 kB     00:00
extras                                                              | 2.1 kB     00:00
rpmforge                                                            | 1.1 kB     00:00
rpmforge/primary                                                    | 2.1 MB     00:04
rpmforge                                                                       10201/10201
updates                                                             | 1.9 kB     00:00
updates/primary_db                                                  | 560 kB     00:00
Setting up Install Process
・
・
・
[root@localhost torrentflux2]# ll
合計 124
-rw-r--r--  1 1000 1000   588  6月 27  2007 AUTHORS
-rw-r--r--  1 1000 1000 14753  3月 23  2008 CHANGES
-rw-r--r--  1 1000 1000 15237  7月 16  2006 COPYING
-rw-r--r--  1 1000 1000  5395  4月 19  2007 FAQ
-rw-r--r--  1 1000 1000  5438  4月 12  2007 FEATURES
-rw-r--r--  1 1000 1000 16566  3月 22  2008 INSTALL
-rw-r--r--  1 1000 1000 15120 10月 19  2007 README
-rw-r--r--  1 1000 1000  3477  4月 12  2007 SUPPORT
-rw-r--r--  1 1000 1000   205  3月 22  2008 TODO
drwxr-xr-x  3 1000 1000  4096  3月 23  2008 addons
drwxr-xr-x  4 1000 1000  4096  3月 23  2008 clients
drwxr-xr-x  2 1000 1000  4096  3月 23  2008 doc
drwxr-xr-x  7 1000 1000  4096  3月 23  2008 html
drwxr-xr-x  3 1000 1000  4096  3月 23  2008 misc
drwxr-xr-x  5 1000 1000  4096  3月 23  2008 sql
drwxr-xr-x 10 1000 1000  4096  3月 23  2008 upgrade
[root@localhost torrentflux2]# cd clients/transmission/
[root@localhost transmission]# ll
合計 136
-rwxr--r-- 1 1000 1000   1261  3月 23  2008 INSTALL
-rwxr--r-- 1 1000 1000 100092  3月 22  2008 Transmission-0.72_tfCLI-svn3318.tar.bz2
-rwxr--r-- 1 1000 1000  12932  3月 22  2008 Transmission-0.96_tfCLI-svn3355.tar.bz2
-rwxr--r-- 1 1000 1000  13537  3月 22  2008 Transmission-1.06_tfCLI-svn3356.tar.bz2
[root@localhost transmission]# tar jxvf Transmission-0.72_tfCLI-svn3318.tar.bz2
Transmission-0.72_tfCLI-svn3318/
Transmission-0.72_tfCLI-svn3318/README
Transmission-0.72_tfCLI-svn3318/configure
Transmission-0.72_tfCLI-svn3318/transmission.revision
Transmission-0.72_tfCLI-svn3318/version.sh
Transmission-0.72_tfCLI-svn3318/Makefile
Transmission-0.72_tfCLI-svn3318/AUTHORS
Transmission-0.72_tfCLI-svn3318/libtransmission/
Transmission-0.72_tfCLI-svn3318/libtransmission/peer.c
・
・
・
[root@localhost transmission]# cd Transmission-0.72_tfCLI-svn3318
[root@localhost Transmission-0.72_tfCLI-svn3318]# ll
合計 60
-rw-r--r-- 1 1000 1000 1924  3月 22  2008 AUTHORS
-rw-r--r-- 1 1000 1000   62  3月 22  2008 BSDmakefile
-rw-r--r-- 1 1000 1000 1117  3月 22  2008 LICENSE
-rw-r--r-- 1 1000 1000  790  3月 22  2008 Makefile
-rw-r--r-- 1 1000 1000 4663  3月 22  2008 NEWS
-rw-r--r-- 1 1000 1000  464  3月 22  2008 README
drwxr-xr-x 2 1000 1000 4096  3月 22  2008 cli
-rwxr-xr-x 1 1000 1000 6734  3月 22  2008 configure
drwxr-xr-x 2 1000 1000 4096  3月 22  2008 libtransmission
drwxr-xr-x 2 1000 1000 4096  3月 22  2008 misc
drwxr-xr-x 2 1000 1000 4096  3月 22  2008 mk
-rw-r--r-- 1 1000 1000    4  3月 22  2008 transmission.revision
-rwxr-xr-x 1 1000 1000 1692  3月 22  2008 version.sh
[root@localhost Transmission-0.72_tfCLI-svn3318]# ./configure
System:  Linux
OpenSSL: yes
GTK+:    yes
Now use GNU make to build Transmission.
It may be called 'make' or 'gmake' depending on your system.
[root@localhost Transmission-0.72_tfCLI-svn3318]# make
Checking SVN revision...
Transmission : 1814
CLI : 3318
* Building libtransmission
Checking dependencies...
Cc transmission.o
Cc bencode.o
・
・
・
[root@localhost Transmission-0.72_tfCLI-svn3318]# make install

次にダウンロード用のディレクトリを作成

[root@localhost Transmission-0.72_tfCLI-svn3318]# mkdir /var/www/torrent
[root@localhost Transmission-0.72_tfCLI-svn3318]# chown apache:apache /var/www/torrent

最後にapacheでエイリアスを貼って終了

[root@localhost Transmission-0.72_tfCLI-svn3318]# cd /etc/httpd/conf.d
[root@localhost conf.d]# vi torrentflux.conf
Alias /torrent /var/www/torrentflux/html
[root@localhost conf.d]# /etc/init.d/httpd reload

これでブラウザから「http://localhost/torrent」でアクセスし設定して終了。