ruTorrent¶
Installation¶
Serveur Web¶
aptitude install apache2 libapache2-mod-scgi php5
a2enmod scgi
Créer un fichier /etc/apache2/sites-available/rutorrent-scgi
SCGIMount /rutorrent/RPC2 127.0.0.1:5000
Activation
a2ensite rutorrent-scgi
ruTorrent¶
cd /var/www
Téléchargement
wget http://rutorrent.googlecode.com/files/rutorrent-3.2.tar.gz
tar -xzf rutorrent-3.2.tar.gz
chown -R www-data:www-data rutorrent
Configuration¶
http://code.google.com/p/rutorrent/wiki/Config
VHost rutorrent¶
Editer /etc/apache2/sites-available/rutorrent
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/rutorrent
<Directory /var/www/rutorrent/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/rutorrent-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/rutorrent-access.log combined
</VirtualHost>
a2ensite rutorrent
/etc/init.d/apache2 restart
Autre¶
Si en se connectant au serveur vous tombez sur la page par defaut de apache "It work !" :
Désactiver le VirualHost par defaut
a2dissite default /etc/init.d/apache2 reload