[TUT]How to install rtorrent & rutorrent.

Status
Not open for further replies.

Dom

Active Member
608
2010
53
0
Hey Guys ,

I was doing some research on rutorrent and rtorrent and it looks like most people would find it hard to install so I'm im here to help. Lets get started :

Step 1 : Lets Update our Centos ,
Code:
yum update
Step 2 : Ok , So lets add some RPM from rpmforge.

Code:
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Step 3 : Another Repo :
Code:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Step 4 : Lets install php + Apahce :
Code:
yum install php httpd subversion libsigc++20 mod_scgi screen -y for i in xmlrpc-c-c++-1.22.01-1 xmlrpc-c-1.22.01-1 xmlrpc-c-apps-1.22.01-1 libtorrent-0.12.6-1 rtorrent-0.8.6-5 xmlrpc-c-client++-1.22.01-1 xmlrpc-c-client-1.22.01-1 do  wget http://www.fateyev.com/RPMS/RHEL5/i386/$i.el5.denf.i386.rpm    done rpm -Uvh libtorrent-0.12.6-1.el5.denf.i386.rpm xmlrpc-c-1.22.01-1.el5.denf.i386.rpm xmlrpc-c-client-1.22.01-1.el5.denf.i386.rpm xmlrpc-c-apps-1.22.01-1.el5.denf.i386.rpm \ xmlrpc-c-c++-1.22.01-1.el5.denf.i386.rpm xmlrpc-c-client++-1.22.01-1.el5.denf.i386.rpm rtorrent-0.8.6-5.el5.denf.i386.rpm
Step 5 : Copy rutorrent from a source :
Code:
cd /var/www/ svn co http://rutorrent.googlecode.com/svn/trunk/rutorrent/ chkconfig httpd on
Step 6 : Edit /etc/httpd/conf.d/scgi.conf :

Code:
nano /etc/httpd/conf.d/scgi.conf
, Replace everything with this :

Code:
LoadModule scgi_module modules/mod_scgi.so SCGIMount /RPC2 127.0.0.1:5000 servername localhost  Alias /r/ /var/www/rutorrent/ <Directory /var/www/rutorrent/>   Options All   AllowOverride All AuthName "Private" AuthType Basic AuthUserFile /etc/httpd/conf/htpasswd Require valid-user Order allow,deny Allow from my.ip.org </Directory>
Where I have put "my.ip.org" is where you enter your ip.

Step 7 : Create a htaccess :

Code:
htpasswd -c /etc/httpd/conf/htpasswd your.username
Step 8 : Nano Open /var/www/rutorrent/conf/config.php and make sure you see these line uncommented:
Code:
 $scgi_port = 5000;         $scgi_host = "127.0.0.1";
Step 9 : create a .rtorrent.rc config by doing this:

Code:
nano .rtorrent.rc  

Then enter and file out this 

directory = /your.torrent.path/torrents/ session = /home/account/.rtorrent/ port_range = your.port.range  check_hash = no bind = your.ip.address scgi_port = localhost:5000 enable_trackers = yes
Step 10 : Restart apache :
Code:
/sbin/service httpd reload


Step 11 : start rtorrent :
Code:
[FONT=Arial] screen  rtorrent ctrl a-d
[/FONT]
 
3 comments
Hey mate, thanks for the tut...but i understand that the webui is accessed via ip.

cant it be made to access like ip : port?
 
Status
Not open for further replies.
Back
Top