setrnames.blogg.se

Electorrent rtorrent
Electorrent rtorrent













electorrent rtorrent
  1. #ELECTORRENT RTORRENT HOW TO#
  2. #ELECTORRENT RTORRENT INSTALL#

We need to tell lighttpd how to treat files like css, images (jpg etc.), js. Fast cgi is needed for rutorrent itself, and scgi for rutorrent to communicate with rtorrent. The following lines tell lighttpd to load the fastcgi and simple-cgi modules.

#ELECTORRENT RTORRENT INSTALL#

Install Lighttpd and PHP: lighttpd php php-cgi fcgi.Īfter starting lighttpd as per the wiki, you should be able to access the test page at By default the pages are served from /srv/http, this is where we will be putting rutorrent.Įdit lighttpd's configuration file, /etc/lighttpd/nf. You can choose a port other than 5050 if you like. Instead of using a tcp port, it may also be possible to use a socket using the scgi_local option instead, however lighttpd may complain about permissions regardless of permissions / location of socket file. Rtorrent should be compiled with XML-RPC support.Īdd the following line to your rtorrent configuration file, usually ~/.rtorrent.rc. usr/share/webapps/rutorrent/conf/users/anotheruser/config.php usr/share/webapps/rutorrent/conf/users/rtorrentuser/config.php Create a folder with the user's name, then create a config.php, for example: Note: A multi-user setup will need user specific configuration files under /usr/share/webapps/rutorrent/conf/users for each user's socket location. $scgi_host = "unix:///home/rtorrentuser/rpc.socket" Edit the following location to your rutorrent configuration at /etc/webapps/rutorrent/conf/config.php where rtorrentuser is the user running rutorrent:.Enable the rTorrent XMLRPC interface: rTorrent#XMLRPC interface.Ln -s /usr/share/webapps/rutorrent/ /usr/share/nginx/html/rutorrent Create a link from your web root to rutorrent.Note: You should enable authentication through Apache if your site is public. Lastly, add the ruTorrent folder to /etc/httpd/conf/nfĪlias /rutorrent /usr/share/webapps/rutorrentĭocumentRoot /usr/share/webapps/rutorrent.ProxyPass /RPC2 scgi:///path/to/rpc.socket Enable SCGI on the socket you chose for rTorrent by adding this to /etc/httpd/conf/nf:.Enable the rTorrent XMLRPC interface on UNIX socket : rTorrent#XMLRPC interface.etc/webapps/rutorrent/conf/:/usr/share/webapps/rutorrent/php/:/usr/share/webapps/rutorrent/ Edit the open_basedir value in /etc/php/php.ini to include:.If you are, for example, using Virtual Hosts, you should adapt those accordingly. Note: The configuration examples below do not take your current Apache hosts into account.















Electorrent rtorrent