Инструменты пользователя

Инструменты сайта


doc:os:freebsd:applied_software:rtorrent

Это старая версия документа!


rTorrent.Заметки

Подробнее

1. Итак, rtorrent и rtgui установлены. Сверяем httpd.conf (обратите внимание на первые две опции):

LoadModule scgi_module        libexec/apache22/mod_scgi.so

Listen *:80

SCGIMount /RPC2 127.0.0.1:5000

<VirtualHost *:80>

    Alias /torrents "/usr/local/www/rtgui/"

    <Directory "/usr/local/www/rtgui/">
        Options none
        DirectoryIndex index.php
        AllowOverride Limit
        Order Deny,Allow
        Allow from all
    </Directory>
    
    DirectoryIndex index.php index.html index.htm index.shtml index.php3
    AddType application/x-httpd-php .php .php3
    Action  application/x-httpd-php /cgi-bin/php-cgi
</VirtualHost>

2. Выполняем:

mv /usr/local/www/rtgui/config.php.example /usr/local/www/rtgui/config.php

Обращаем внимание на $downloaddir.

3. Копируем стандартный конфиг rtorrent в ~/.rtorrent.rc:

min_peers = 40
max_peers = 100

min_peers_seed = 10
max_peers_seed = 50

max_uploads = 20

# Global upload and download rate in KiB. "0" for unlimited.
download_rate = 9600
upload_rate = 0

# Default directory to save the downloaded torrents.
directory = /var/download/Complete

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = /var/download/sessions/

# Watch a directory for new torrents, and stop those that have been
# deleted.
# check every 5 sec folder
schedule = watch_directory,5,5,load_start=/var/download/Auto/*.torrent
schedule = untied_directory,5,5,stop_untied=

# Port range to use for listening.
port_range = 6890-6891

check_hash = yes

use_udp_trackers = yes

encryption = allow_incoming,try_outgoing,enable_retry,prefer_plaintext

dht = auto

dht_port = 6881

peer_exchange = yes

scgi_port = 127.0.0.1:5000

log.execute = /var/log/rtorrent.log

session_save = yes

4. Запускаем:

# rtorrent 

Обсуждение

Ваш комментарий. Вики-синтаксис разрешён:
 
/var/www/wiki.itcall.ru/data/attic/doc/os/freebsd/applied_software/rtorrent.1300585208.txt.gz · Последнее изменение: d.m.Y H:i (внешнее изменение)