Rtgui

From ArchWiki

Jump to: navigation, search

Contents

rtGui

rtGui is a web based front end for rTorrent - the Linux command line BitTorrent client. It's written in PHP and uses XML-RPC to communicate with the rTorrent client.

Installing

Installing through the paketmanagement

 $ pacman -S rtorrent apache php 

The Apache modul, mod_scgi is currently only availbe through the AUR / you could build it yourself through PKGBUILD or install it per Yaourt

 $ yaourt -S mod_scgi

Apache configuration

Adding the mod_scgi Modul to httpd.conf

 $ sudo nano /etc/httpd/conf/httpd.conf


Find the LoadModule - Section and add:

  LoadModule scgi_module modules/mod_scgi.so

At the End of the File:

 LoadModule php5_module modules/libphp5.so
 Include conf/extra/php5_module.conf
 SCGIMount /RPC2 127.0.0.1:5000


PHP configuration

PHP adjust per php.ini

 $ sudo nano /etc/php/php.ini

uncomment these extension

 extension=sockets.so
 extension=xmlrpc.so

change Value of these settings from Off to On

 allow_url_fopen = On
 allow_url_include = On


rTorrent configuration

You need to adjust the .rtorrent.rc and add the following line

 scgi_port = localhost:5000


Apache restart

 $ sudo /etc/rc.d/httpd restart


rtGui installation

Download and extract rtgui from source, then copy and edit the config.php

 cd /srv/http/
 tar xvzf rtgui-x.x.x.tgz 
 cp config.php.example config.php 
 nano config.php
Personal tools