RTorrent - установка и настройка

Материал из AlexNook
Перейти к навигацииПерейти к поиску

rTorrent - консолный торрент клиент - программа работающая с сетями p2p. Очень удобно иметь запущенную программу в screen, особенно в круглосуточно работающем компьютере.

Установка

В Gentoo для установки программы достаточно выполнить:

emerge rtorrent

Настройка

Приведу банально пример своей настройки программы.

Сперва создаём следующую структуру каталогов.

Code: Структура каталогов
/torrents - папка, куда будут сохранятся скаченные файлы
/torrents/openSUSE-11.0-DVD-i386-iso - пример файла
/torrents/sessions - служебная папка для программы (необходимо создать)
/torrents/torrentfiles - папка с файлами вида *.torrent

Далее приведу свой конфигурационный файл. При этом кстати полезно почитать и дефолтный файл, т.к. там всё подробно прокоментированно.

File: ~/.rtorrent.rc
# if rTorrent should use UDP; Set whatever the client should try to connect to UDP trackers.
use_udp_trackers = yes

# Max. number of upload slots per torrent;
max_uploads = 200

# Min. and max. connections to one torrent;
min_peers=10
max_peers=400

# min and max number for seeding completed torrents (-1 = same as downloading)
min_peers_seed = 10
max_peers_seed = 50

# Default upload speed (0 means No Limit);
upload_rate = 0

# Default download speed (0 means No Limit);
download_rate = 0

# where the downloaded files will be saved;
directory = /home/alex/download/torrents

# The settings of torrents will be saved in this directory;
# and a file, which will prevent rTorrent running more than once;
session = /home/alex/download/torrents/sessions

# Watch a directory for new torrents, and stop those that have been
# deleted.
schedule = watch_directory,5,5,load_start=/home/alex/download/torrents/torrentfiles/*.torrent

# Port range from where rTorrent will try to connect;
port_range = 6880-6992

# Start opening ports at a random position within the port range.
port_random = yes


# Close torrents when diskspace is low.
schedule = low_diskspace,5,60,close_low_diskspace=100M

# Encryption options, set to none (default) or any combination of the following:
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
#
# The example value allows incoming encrypted connections, starts unencrypted
# outgoing connections but retries with encryption if they fail, preferring
# plaintext to RC4 encryption after the encrypted handshake
#
 encryption = allow_incoming,enable_retry,prefer_plaintext

# Enable peer exchange (for torrents not marked private)
#
 peer_exchange = yes

Горячие клавиши и основное меню программы

Описывать не стану, т.к. есть отличный мануал.

Меню закачки
Основное меню

Ссылки

  1. Оффициальный сайт
  2. WikiPedia
  3. WikiBooks