Difference between revisions of "RuTorrent"

From ArchWiki
Jump to: navigation, search
(Apache)
(Apache)
Line 17: Line 17:
 
Install and configure Apache with PHP according to the [[LAMP]] page.
 
Install and configure Apache with PHP according to the [[LAMP]] page.
  
* Edit the ''open_basedir'' value in php.ini to include:
+
* Edit the ''open_basedir'' value in /etc/php/php.ini to include:
 
  /etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/
 
  /etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/
  

Revision as of 18:29, 23 February 2013

Template:Article summary start Template:Article summary text Template:Article summary end

ruTorrent is a web interface to rtorrent (a console based BitTorrent client). It uses rtorrent's build-in xmlrpc server to communicate with it.

It is lightweight, highly extensible, and is designed to look similar to uTorrent.


Installation

Install rutorrentAUR and optionally rutorrent-pluginsAUR from the AUR.

Web Server Configuration

Apache

Install and configure Apache with PHP according to the LAMP page.

  • Edit the open_basedir value in /etc/php/php.ini to include:
/etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/

Install mod_scgiAUR from the AUR.

  • Load the SCGI module in /etc/httpd/conf/httpd.conf:
LoadModule scgi_module modules/mod_scgi.so
  • Enable SCGI on the port you chose for rTorrent by adding this to /etc/httpd/conf/httpd.conf:
SCGIMount /RPC2 127.0.0.1:5000
  • Lastly, add the ruTorrent folder to /etc/httpd/conf/httpd.conf with something similar to this:
<IfModule alias_module>
  Alias /rutorrent /usr/share/webapps/rutorrent
  <Directory "/usr/share/webapps/rutorrent">
    Order allow,deny
    Allow from all
  </Directory>
</IfModule>
Note: You should enable authentication through Apache if your site is public.

ruTorrent Configuration

See Also

LAMP

rtorrent

External Links