<?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/"
	>

<channel>
	<title>DIY Seedbox</title>
	<atom:link href="http://www.diyseedbox.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.diyseedbox.com</link>
	<description>Learn how to setup your own seedbox server in minutes!</description>
	<lastBuildDate>Tue, 13 Sep 2011 03:12:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Tutorial: Start Your Own Headless Torrent Seedbox Server For Less Than $9 Per Month!</title>
		<link>http://www.diyseedbox.com/tutorial-dedicated-torrent-seedbox-server/</link>
		<comments>http://www.diyseedbox.com/tutorial-dedicated-torrent-seedbox-server/#comments</comments>
		<pubDate>Mon, 31 May 2010 18:52:56 +0000</pubDate>
		<dc:creator>moltar</dc:creator>
				<category><![CDATA[Seedbox]]></category>
		<category><![CDATA[best seedbox]]></category>
		<category><![CDATA[cheap seedbox]]></category>
		<category><![CDATA[dedicated seedbox]]></category>
		<category><![CDATA[fast seedbox]]></category>
		<category><![CDATA[seedbox]]></category>
		<category><![CDATA[seedbox hosting]]></category>

		<guid isPermaLink="false">http://www.diyseedbox.com/?p=4</guid>
		<description><![CDATA[NOTICE: RapidSpeeds Review: They have taken over Knowin Servers without any warning, and closed my affiliate account, and are not talking. I&#8217;d stay far far away from them until further notice. I have no way of verifying why the tutorial does not work, as I have no access. Stay tuned. Why do I need a [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: red; font-weight: bold; font-size: 120%;"><br />
NOTICE: RapidSpeeds Review: They have taken over Knowin Servers without any warning, and closed my affiliate account, and are not talking. I&#8217;d stay far far away from them until further notice. I have no way of verifying why the tutorial does not work, as I have no access. Stay tuned.<br />
</span></p>
<h2>Why do I need a seedbox?</h2>
<ul>
<li>Your ISP is blocking or throttling BitTorrent traffic.</li>
<li>The IT department at your work is blocking or throttling BitTorrent traffic.</li>
<li>You have a laptop and it is not practical to keep it running all the time.</li>
<li>You travel a lot and rarely stay online for a significant period of time to download a full torrent.</li>
<li>You are a member of a private torrent site and would like to maintain a good standing aka ratio.</li>
<li>You are tired of overpaying for seedbox hosting at other places.</li>
<li>And last, but not least, you&#8217;d like to maintain privacy!</li>
</ul>
<h2>What will I accomplish at the end of this howto?</h2>
<p><a href="http://www.diyseedbox.com/wp-content/uploads/transmission-iphone-web-interface.jpg"><img class="alignright size-full wp-image-15" style="border: 1px solid black;" title="Transmission Web Interface optimized for Apple iPhone" src="http://www.diyseedbox.com/wp-content/uploads/transmission-iphone-web-interface.jpg" alt="Transmission Web Interface" width="192" height="288" /></a></p>
<ul>
<li>A Linux box running Transmission BitTorrent client with web based access. Web based access is also optimized for iPhone.</li>
<li>A cross-platform desktop Transmission Remote GUI front end.</li>
<li>FTP access to download completed downloads.</li>
</ul>
<h2>What do I need to begin this guide?</h2>
<ul>
<li>Average computer skills.</li>
<li>Minimal Linux knowledge (basic shell commands).</li>
<li>A dedicated or VPS (Virtual Private Server) running CentOS 5.5 and above. Other similar distros might also work, but haven&#8217;t been tested yet. Your Linux distro needs to have a yum package manager.</li>
<li>SSH client (e.g. <a href="http://putty.very.rulez.org/download.html">PuTTY</a> on a Windows machine; <a href="http://en.wikipedia.org/wiki/Apple_Terminal">Terminal</a> on a Mac machine)</li>
<li>Ten minutes of your time. I was actually able to set this one up in under 4 minutes during one of the tests.</li>
</ul>
<p>If you don&#8217;t have a server yet, don&#8217;t worry. Unless you are a very heavy-duty user, you probably won&#8217;t need a dedicated server. If you are unsure, go with a VPS.</p>
<h2>Installation</h2>
<p>I assume that you have obtained your server credentials (username and password) by now. Login to your server using the SSH client.</p>
<h3>Installing prerequisites</h3>
<p>First we are going to install a bunch of prerequisite software packages that we will need during the course of this tutorial. Issue the following command:</p>
<pre><code>yum -y install gcc gcc-c++ make openssl-devel pkgconfig curl-devel perl-XML-Parser perl-libwww-perl gettext yum -y upgrade</code></pre>
<p>This installation might take a minute or two, depending on your server specs and connection speed.</p>
<h3>Installing <code>intltool</code></h3>
<p>CentOS intltool package is out of date and a recent version is not available through the package manager. We must compile it from source. Don&#8217;t quit now. This isn&#8217;t as scary as it sounds. <img src='http://www.diyseedbox.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre><code>cd /usr/local/src wget -q http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.tar.gz tar zxf intltool-*.tar.gz cd intltool-* ./configure --prefix=/usr make -s make -s install</code></pre>
<h3>Installing <code>libevent</code></h3>
<p>CentOS libevent package is out of date, just like <code>intltool</code>, so we resort to installing the latest version by hand.</p>
<pre><code>cd /usr/local/src wget -q http://monkey.org/~provos/libevent-2.0.10-stable.tar.gz tar zxf libevent-*.tar.gz cd libevent-* ./configure --prefix=/usr make -s make -s install</code></pre>
<h3>Installing Transmission</h3>
<p>Transmission is the actual torrent application that you will be using. Again, just copy paste the commands into the SSH client window.</p>
<pre><code>cd /usr/local/src wget -q http://download.m0k.org/transmission/files/transmission-2.22.tar.bz2 tar xjf transmission-*.tar.bz2 cd transmission-* ./configure --prefix=/usr --disable-gtk --disable-libappindicator --disable-libcanberra --disable-gconf2 LIBEVENT_CFLAGS=-I/usr/include LIBEVENT_LIBS="-L/usr/lib -levent" make -s make -s install</code></pre>
<p>Add a user account for running the Transmission daemon application. You will be prompted to create a password. You will use that password to login and obtain the files that have been downloaded. Try to remember the password or write it down.</p>
<pre><code>useradd -m transmission passwd transmission</code></pre>
<p>Create init script for starting the daemon. Adapted from <a href="http://blog.friedland.id.au/2009/07/init-script-for-transmission-daemon-on.html">Jason Friedland&#8217;s implementation</a>.</p>
<pre><code>wget -O /etc/init.d/transmissiond <a href="http://pastie.org/962731">http://pastie.org/pastes/962731/download</a> chmod 755 /etc/init.d/transmissiond</code></pre>
<p>Set the Transmission daemon to start automatically when the server is restarted:</p>
<pre><code>chkconfig --add transmissiond chkconfig --level 345 transmissiond on</code></pre>
<p>Start and stop the Transmission daemon. You must do this before proceeding to the next step. This ensures that everything up to now has been installed properly. Most important, this creates a default configuration file that we will be editing later on. You should see two green <strong>[<span style="color: #008000;">OK</span>]</strong> outputs after the completion.</p>
<pre><code>service transmissiond start service transmissiond stop</code></pre>
<p>Now we need to modify the Transmission configuration file. <strong>Replace the bold</strong>/<span style="text-decoration: underline;">underlined</span> portion of the last two commands with your own username and password combination. You&#8217;ll use this to login to Transmission application.</p>
<pre><code>cd /home/transmission/.config/transmission/ sed -i 's/^.*rpc-whitelist-enabled.*/"rpc-whitelist-enabled": false,/' settings.json sed -i 's/^.*rpc-authentication-required.*/"rpc-authentication-required": true,/' settings.json sed -i 's/^.*rpc-username.*/"rpc-username": "<span style="color: #ff0000;"><strong><span style="text-decoration: underline;">username</span></strong></span>",/' settings.json sed -i 's/^.*rpc-password.*/"rpc-password": "<span style="color: #ff0000;"><strong><span style="text-decoration: underline;">password</span></strong></span>",/' settings.json</code></pre>
<p>Create a directory for storing downloads:</p>
<pre><code>mkdir -p /home/transmission/Downloads/ chown -R transmission.transmission /home/transmission/Downloads/ chmod g+w /home/transmission/Downloads/</code></pre>
<p>Finally start the Transmission daemon for good:</p>
<pre><code>service transmissiond start</code></pre>
<h3>Installing ConfigServer Security &amp; Firewall application</h3>
<p>We are also going to install a <a href="http://configserver.com/cp/csf.html">ConfigServer Security &amp; Firewall</a> application. This application will help your server to stay secure and also ensure that the necessary ports are open for Transmission to function properly. This is an important step, please do not skip it. Hosting providers have different configurations of the default CentOS install and may block certain ports. This installation will ensure that the necessary ports are open and unnecessary ones remain closed.</p>
<pre><code>cd /usr/local/src wget http://www.configserver.com/free/csf.tgz tar zxf csf.tgz rm -f csf.tgz cd csf ./install.generic.sh</code></pre>
<p>Now that we have CSF installed, we&#8217;ll issue a few commands to &#8220;doctor&#8221; the configuration file and open/close some ports.</p>
<pre><code>cd /etc/csf sed -i 's/^TESTING =.*/TESTING = "0"/' csf.conf sed -i 's/^TCP_IN =.*/TCP_IN = "21,22,9091,51413,30000:35000"/' csf.conf sed -i 's/^TCP_OUT =.*/TCP_OUT = "1:65535"/' csf.conf sed -i 's/^UDP_IN =.*/UDP_IN = "20,21,51413"/' csf.conf sed -i 's/^UDP_OUT =.*/UDP_OUT = "1:65535"/' csf.conf service csf restart</code></pre>
<h2>Testing your installation</h2>
<p>By now you should have the Transmission daemon running and FTP server setup. Let&#8217;s go play! <img src='http://www.diyseedbox.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Testing Transmission</h3>
<p>Open the following URL in a new browser tab/window:</p>
<pre><code>http://<span style="color: #ff0000; text-decoration: underline;">[YOUR_SERVER_IP]</span>:9091/transmission/web/</code></pre>
<p>You will be prompted to enter a username and password. Use the same username and password you have created during the Transmission installation (the second one). Once logged in, you should see a Transmission web interface. Click &#8220;Open&#8221; and copy-paste the following URL to test the download functionality and speed:</p>
<pre><code><a href="http://ftp.osuosl.org/pub/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-LiveCD.torrent">http://ftp.osuosl.org/pub/centos/5.5/isos/x86_64/CentOS-5.5-x86_64-LiveCD.torrent</a></code></pre>
<p>You should now see the download status bar increasing.</p>
<h3>Testing SFTP Connection</h3>
<p><a href="http://filezilla-project.org/download.php">Download</a>, install and open FileZilla. Go to <span style="text-decoration: underline;">File</span> -&gt; <span style="text-decoration: underline;">Site Manager</span>. Click &#8220;<span style="text-decoration: underline;">New Site</span>&#8220;. Give it a good name. Under &#8220;<span style="text-decoration: underline;">Host</span>&#8221; field put the server name (if you have one), or simply the IP of the server. Choose SFTP under &#8220;<span style="text-decoration: underline;">Server Type</span>&#8220;. &#8220;<span style="text-decoration: underline;">Logon Type</span>&#8221; set to &#8220;Normal&#8221;. Set the user to &#8220;transmission&#8221; and the password you have created during Transmission installation (the first one). Now click &#8220;<span style="text-decoration: underline;">Connect</span>&#8220;, you should see FileZilla establishing the connection and then finally listing remote directories in the right hand side part of the window. You should see &#8220;Downloads&#8221; directory, this is where all of the download files will be stored.</p>
<h2>Setting up Transmission Remote GUI</h2>
<p>This is my favourite part about this whole setup. Not only you get a nice and fast web based client, but you can also set this up to be used with the desktop application! If you are migrating from µTorrent, then you&#8217;ll love this!</p>
<p>Head over to the <a href="http://code.google.com/p/transmisson-remote-gui/">Transmission Remote GUI project page</a> and <a href="http://code.google.com/p/transmisson-remote-gui/downloads/list">download</a> a copy of the client. Install the software.</p>
<p>Once you have it open:</p>
<ul>
<li>Go to menu <span style="text-decoration: underline;">Torrents</span> and select &#8220;<span style="text-decoration: underline;">Connect to daemon</span>&#8220;.</li>
<li>Enter the server IP into the &#8220;<span style="text-decoration: underline;">Remote host</span>&#8221; field. Make sure <strong>not</strong> to put the whole URL (http://&#8230;.), just put the IP part (e.g. &#8220;123.45.67.89&#8243;).</li>
<li>Enter 9091 into the &#8220;<span style="text-decoration: underline;">Port</span>&#8221; field.</li>
<li>Enter your username and password you have set during the Transmission installation (the second one).</li>
<li>Click &#8220;OK&#8221;.</li>
</ul>
<p>Your desktop software should now be &#8220;talking&#8221; to your server. Note that this software only shows the status of the downloads, but you can&#8217;t actually access files through that UI. You still need to use the FTP client to download the completed torrents.</p>
<h2>Updates</h2>
<ul>
<li><strong>April 20, 2011</strong>: Trimmed yum package list, added <code>libevent</code> instructions, updated to Transmission 2.22.</li>
<li><strong>November 2, 2010</strong>: Updated to Transmission 2.11.</li>
<li><strong>October 4, 2010</strong>: Added <code>which</code> to the list packages to install. Some people reported that missing on their systems.</li>
<li><strong>September 29, 2010</strong>: Modified the tutorial to save source code to <code>/usr/local/src</code>, rather than <code>/tmp</code> to avoid configurations with <code>noexec</code> on <code>/tmp</code>. Got rid of vsftpd FTP server all together in favour of SCP/SFTP approach (thanks to <a href="http://www.diyseedbox.com/tutorial-dedicated-torrent-seedbox-server/comment-page-1/#comment-68">P. Callisto&#8217;s suggestion</a>). Disabled the verbose mode on <code>tar</code> and silented the <code>make</code>.</li>
<li><strong>August 30, 2010</strong>: Added <code>libidn-devel</code> and <code>zlib-devel</code> packages per <a href="http://www.diyseedbox.com/tutorial-dedicated-torrent-seedbox-server/comment-page-1/#comment-38">Kristen&#8217;s suggestion</a>.</li>
<li><strong>August 10, 2010</strong>: Updated to Transmission 2.04.</li>
<li><strong>July 7, 2010</strong>: Updated tutorial to Transmission 2.01. Added libevent-devel and libevent to yum command.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.diyseedbox.com/tutorial-dedicated-torrent-seedbox-server/feed/</wfw:commentRss>
		<slash:comments>173</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
