Difference between revisions of "RTorrent/Rtgui"

From ArchWiki
Jump to: navigation, search
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Internet Applications]]
rtGui is a web based front end for rTorrent - the Linux command line BitTorrent client. It is written in PHP and uses XML-RPC to communicate with the rTorrent client.
== Installing ==
#redirect [[ArchWiki:Archive]]
'''Installing via pacman'''
  $ pacman -S rtorrent apache php php-apache
The Apache module mod_scgi is currently only available through the AUR. You could build it yourself or install it with a AUR helper such as yaourt.
  $ yaourt -S mod_scgi
== Apache configuration ==
'''Adding the mod_scgi module 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
== PHP configuration ==
'''PHP adjust per php.ini'''
  $ sudo nano /etc/php/php.ini
uncomment these extensions
change the 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
== Restart Apache ==
  $ 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
  cd rtgui/
  cp config.php.example config.php
  nano config.php

Latest revision as of 12:50, 23 August 2017

Redirect to: