<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>おれ最前線ねっと &#187; BitTorrent</title>
	<atom:link href="http://ore.saizensen.net/archives/tag/bittorrent/feed" rel="self" type="application/rss+xml" />
	<link>http://ore.saizensen.net</link>
	<description>イェ〜〜ィ。見てる〜〜〜？？</description>
	<lastBuildDate>Tue, 12 Jul 2011 06:31:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/tag/bittorrent/feed" />
		<item>
		<title>[CentOS]CentOS5.2サーバーにTorrentflux-b4rtをインストールした。[BitTorrent]</title>
		<link>http://ore.saizensen.net/archives/108</link>
		<comments>http://ore.saizensen.net/archives/108#comments</comments>
		<pubDate>Thu, 06 Nov 2008 04:17:57 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[BitTorrent]]></category>
		<category><![CDATA[インストールメモ]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/?p=108</guid>
		<description><![CDATA[家のCentOS5.2サーバーにTorrentflux-b4rtをインストールして、サーバー上にBitTorrentWEBクライアントを設置しました。 動作環境は、 A Unix like OS (Win32 not s [...]]]></description>
			<content:encoded><![CDATA[				<p>家の<strong>CentOS5.2</strong>サーバーに<strong>Torrentflux-b4rt</strong>をインストールして、サーバー上に<strong>BitTorrentWEBクライアント</strong>を設置しました。<br />
				動作環境は、</p>
				<ul>
				<li>A Unix like OS (Win32 not supported) &#8211; current tested OSs include:
				<ul>
				<li>Linux: Debian, Ubuntu, Gentoo, RedHat, Fedora, NSLU2, ClarkConnect &#8211; amongst others!</li>
				<li>BSD: FreeBSD, OpenBSD, NetBSD</li>
				<li>Apple: Mac OS X</li>
				</ul>
				</li>
				<li>A Web Server &#8211; any Unix like webserver that supports PHP should work.  Current supported/tested:
				<ul>
				<li><a href="http://httpd.apache.org" title="Apache HTTP Server" target="_blank">Apache</a></li>
				<li><a href="http://www.lighttpd.net" title="LightTPD" target="_blank">LightTPD</a></li>
				</ul>
				</li>
				<li>An SQL-Database &#8211; current supported db types are:
				<ul>
				<li><a href="http://www.mysql.com" title="MySQL" target="_blank">MySQL</a></li>
				<li><a href="http://www.sqlite.org" title="SQLite" target="_blank">SQLite</a></li>
				<li><a href="http://www.postgresql.org" title="PostgreSQL" target="_blank">PostgreSQL</a></li>
				</ul>
				</li>
				<li><a href="http://www.php.net" title="PHP" target="_blank">PHP</a> 4.3.x or higher.</li>
				<li><a href="http://www.python.org" title="Python" target="_blank">Python</a> 2.2 or higher.</li>
				<li><a href="http://www.perl.org" title="Perl" target="_blank">Perl</a> 5.6 or higher (for the optional fluxd daemon).</li>
				</ul>
				<p>と、なっとります。<br />
				その時のインストールメモ。</p>
				<ol>
				<li>CentOSサーバー上にApache(or Lighttpd)、MySQL(or SQLite or PostgreSQL)、PHPなLAMP環境を整えておきます。今回は既にLAMP環境は構築済ですので省略。PythonもPerlもyumでインストール済。</li>
				<li>
				<ul>
				<li>Torrentflux-b4rtを取って来る。</li>
				<li>展開。</li>
				<li>webrootディレクトリへ移動。</li>
				<li>所有者変更。Apacheユーザーへ</li>
				<li>ダウンロードディレクトリ作成し、Apacheユーザーが書き込めるようにPermission変更。今回はSambaの共有ディレクトリ内へ作りました。</li>
				</ul>
				<pre>
[root@centos ~]# cd /usr/local/src
[root@centos ~]# wget http://download.berlios.de/tf-b4rt/torrentflux-b4rt_1.0-beta2.tar.bz2
[root@centos ~]# tar xjvf torrentflux-b4rt_1.0-beta2.tar.bz2
[root@centos ~]# mv torrentflux-b4rt_1.0-beta2 /var/www/html/torrrentflux
[root@centos ~]# chown -R apache.apache /var/www/html/torrentflux
[root@centos ~]# mkdir /storage_1/downloads
[root@centos ~]# chown -R nobody.nobody /storage_1/downloads
[root@centos ~]# chmod -R 777 /storage_1/downloads
[root@centos ~]# cd
</pre>
				</li>
				<li>ブラウザでsetup.phpへアクセスして指示通りにTorrentfluxのインストール。<br />この時、私の場合だとcksfv、vlc、uudeviewが無いと表示されていたのでyumでインストール。<br />あと、本体のBitTorrentクライアントをインストール。デフォルトのBitTornadoと無いよと表示されていたTransmission。<br />TransmissionはTorrentflux-b4rtのアーカイブ内にTransmission-1.06のパッチファイルが収録されているので、それを使用してインストール。
				<pre>
[root@centos ~]# yum --enablerepo=rpmforge install cksfv
[root@centos ~]# yum --enablerepo=rpmforge install vlc
[root@centos ~]# yum --enablerepo=rpmforge install uudeview
[root@centos ~]# cd /usr/local/src
[root@centos ~]# wget http://download.m0k.org/transmission/files/transmission-1.06.tar.bz2
[root@centos ~]# tar jxvf transmission-1.06.tar.bz2
[root@centos ~]# cd transmission-1.06
[root@centos ~]# tar jxvf /var/www/html/torrentflux/clients/transmission/Transmission-1.06_tfCLI-svn3356.tar.bz2
[root@centos ~]# cp -R /var/www/html/torrentflux/clients/transmission/Transmission-1.06_tfCLI-svn3356/cli ./
[root@centos ~]# ./configure
[root@centos ~]# make
[root@centos ~]# make install
[root@centos ~]# cd /usr/local/src
[root@centos ~]# wget http://download2.bittornado.com/download/BitTornado-0.3.18.tar.gz
[root@centos ~]# tar zxvf BitTornado-0.3.18.tar.gz
[root@centos ~]# cd BitTornado-CVS
[root@centos ~]# python setup.py install
[root@centos ~]# cd
</pre>
				</li>
				<li>iptablesのTCP49160:49300ポートを開ける。</li>
				<li>torrentfluxディレクトリに.htaccessを設置してアクセス制限を掛ける。</li>
				</ol>
				<p>以上です。これでいつでもブラウザ上からtorrentを使ってダウンロード出来るようになりました。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/108/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/108" />
	</item>
	</channel>
</rss>

