UPDATE JUNE 2,2010 : I changed this tutorial from rutorrent 3.0 beta to rutorrent 3.1 as it is now stable. If u already have rutorrent 3.0 beta installed from the old tutorial then try updating it first, and all plugins, to 3.1 with the command '# svn up'. If that doesnt work then just delete the old rutorrent dir in your web-server root dir and then follow this tutorial.
This tutorial is gonna show u how to install the new ruTorrent 3.1, which by far is the best rutorrent yet and i highly recommend it for all rtorrent users. New improvements include a "Fast Resume" for cross seeding, progress bar for active torrents, search function to search all torrents u have downloaded, plugins tab for all plugins u have installed and some other good stuff. More can be found at there site & forum here: http://www.rutorrent.org/
- NOTE : This is going off the basis u already logged in as root through ssh, have a working webserver and a functional rtorrent with xmlrpc-c support. rtorrent 0.8.5 or 0.8.6 recommended, so lets get started:
PART 1 : Downloading rutorrent 3.1
A : First u need to change directories to your webserver root directory. Mine, which is Lighttpd, is located at '/var/www/' so this is what im gonna use in this tutorial.
- # cd /var/www
B : Now download rutorrent 3.1. U need subversion (svn) to do this, but u should more then likely already have it installed. If not then install it with this command "# apt-get install subversion"
- # svn co http://rutorrent.googlecode.com/svn/trunk/rutorrent
- # chown www-data:www-data rutorrent -R
C : U need to give read/write access for your webserver for rutorrent to work correctly.
- # chmod 755 rutorrent -R
D : When u want to update this in the future:
- # cd /var/www/rutorrent
- # svn up
PART 2 : Installing Plugins
A : cd to your plugin directory
- # cd /var/www/rutorrent/plugins
B : Now download plugins
NOTE : Do this each time for each plugin, but substitute plugin-name with the actual plugin name. For example:
- # svn co http://rutorrent.googlecode.com/svn/trunk/plugins/rpc
- # chown www-data:www-data rpc -R
Thats it and now point your browser at: hxxp://serverip/rutorrent and u will have the newly updated rutorrent.
PART 3: HTTP direct access for downloading
This is just extra i decided to do. Did u ever get tired of FTP speeds and u want a change? Well why not download straight from HTTP instead? This is how:
A : U need to create a soft symlink from your webserver dir to your rtorrent downloads dir that contains all your downloads. Do this in terminal:
- # ln -s /path/to/your/rtorrent/downloads /var/www
This will create a folder called downloads in dir /var/www/ and u will now be able to reach it in your browser if done correctly: hxxp://serverip/downloads
Thtas it for this tutorial and i hope it helps. Thanks and this is solely written by me, but credit goes to the author of rutorrent & website for making such a great webui.