|Summary help replacing me|
|This article covers the installation of the wTorrent program as well as its potential configuration with Lighttpd and Apache.|
wTorrent is a web interface to rTorrent, a high performance console based BitTorrent client. It uses rTorrent's build-in XMLRPC server to communicate with it.
wTorrent with Apache
Install AUR and its the dependencies: , , , , , , AUR.
After you install the packages you need to install the mod_scgi module for Apache:
$ tar xf scgi-1.13.tar.gz $ cd scgi-1.13/apache2 $ sudo apxs -i -c mod_scgi.c
Adding mod_scgi to httpd.conf
LoadModule lines and add:
LoadModule scgi_module modules/mod_scgi.so
Add to the end of the file:
SCGIMount /RPC2 127.0.0.1:5000
Save the file and quit.
Enabling SQLite in php.ini
Locate and uncomment the following:
extension=pdo.so extension=pdo_sqlite.so extension=curl.so extension=xmlrpc.so extension=sqlite.so extension=sqlite3.so
PHP is practically available out of the box now.
- Add these lines in
LoadModule php5_module modules/libphp5.so Include conf/extra/php5_module.conf
- Restart the Apache service to make changes take effect.
Add the following to your
scgi_port = localhost:5000
Get the latest version of wTorrent and install to your web directory:
# cd /srv/http # svn co http://svn.wtorrent-project.org/wtorrent/trunk/wtorrent/ # chmod -R 777 wtorrent
Start rTorrent (most common to open a screen and type
Point your browser to http://localhost/wtorrent/install.php and add a username & password. After you click the "Try configuration" and it gives you no errors click the "Save configuration"
wTorrent with lighttpd
Install, , , .