rTorrent


[ Пред. ] [ Содержание ] [ След. ]

rTorrent


Создан Пятница 07 февраля 2020
Установка и настройка rTorrent
https://forum.keenetic.net/topic/4056-rtorrent-bittorrent-%D0%BA%D0%BB%D0%B8%D0%B5%D0%BD%D1%82/
opkg install
rtorrent-easy-install_0.2-3a_mipsel-3.4.ipk
rtorrent-rpc_0.9.7-1_mipsel-3.4.ipk
rtorrent_0.9.7-1_mipsel-3.4.ipk
rutorrent-plugin-rss
rutorrent-plugin-rssurlrewrite
rutorrent-plugin-theme
rutorrent-plugin-trafic

Настройка в момент установки:
#### Welcome to rtorrent easy installation script!
We assuming no lighttpd/rtorrent/rutorrent was installed before!
Please, answer a few question to configure torrent client.
Default aswers given in [brackets], just hit Enter to accept it.
Type "username:password" if you want to protect Web UI or hit Enter to leave password protection disabled []: test:test
Which port should be used by web interface? [81]:
Enter (maximal) download speed in KB/s [2048]:
Enter (maximal) upload speed in KB/s [2048]:
Enter folder name on USB drive where torrent content should be stored [/opt/torrents]:
Done! You may open 51411-51412 TCP/UDP ports on your router to
facilitate uploading/donwloading. It's not necessary but recommended.
rutorrent web UI will be available at following URL:
http://<ip_address_of_router>:<port>/rutorrent
Do you wish to start torrent client? [y]:
Starting lighttpd... done.
Starting rtorrent... done.
Type "username:password" if you want to protect Web UI or hit Enter to leave password protection disabled []: test:test - логин и пароль указываем через двоеточие.
Which port should be used by web interface? [81]: - выставляем порт, через который пойдет соединение. по умолчанию 81 порт.
Enter (maximal) download speed in KB/s [2048]: - выставляем скорость загрузки. по умолчанию 2048.
Enter (maximal) upload speed in KB/s [2048]: - выставляем скорость отдачи. по умолчанию 2048.
Enter folder name on USB drive where torrent content should be stored [/opt/torrents]: - указываем директорию, путь, куда будут скачиваться торрент-файлы. по умолчанию /opt/torrents.
Do you wish to start torrent client? [y]: - после настройки, можно сразу запустить графическую оболочку и сам клиент. по умолчанию стоит [y] - yes.

Редактируем файл конфигурации rtorrent.conf, в котором удаляем старую конфигурацию:
# nano /opt/etc/rtorrent/rtorrent.conf
throttle.max_uploads.set = 8
session.path.set = /opt/etc/rtorrent/session
schedule2 = watch_directory,5,5,load_start=/opt/etc/rtorrent/watchdir/*.torrent
schedule2 = untied_directory,5,5,stop_untied=
schedule2 = low_diskspace,5,60,close_low_diskspace=100M
network.bind_address.set = 0.0.0.0
network.port_range.set = 51411-51411
pieces.hash.on_completion.set = yes
trackers.use_udp.set = yes
protocol.encryption.set = allow_incoming,enable_retry,prefer_plaintext
dht.mode.set = auto
dht.port.set = 51412
protocol.pex.set = yes
network.scgi.open_local = /opt/var/rpc.socket
encoding.add = UTF-8
throttle.max_uploads.global.set = 32
throttle.max_downloads.global.set = 64
throttle.global_down.max_rate.set_kb = 0
throttle.global_up.max_rate.set_kb = 0
directory.default.set = /opt/torrents
Запускаем rtorrent:
# /opt/etc/init.d/S85rtorrent start
Starting rtorrent... done.
Запускаем lighttpd
# /opt/etc/init.d/S80lighttpd start

Изменить логин и пароль входа в графическую оболочку:
Логин и пароль меняется в файле <rutorrent_passwd>
Путь где находится файл - /opt/etc/lighttpd
Не забываем, что логин и пароль указываются - login:password = mylogin:12345
Изменить порт, через которое идет обращение:
Порт, он же сервер порт, меняется в файле конфигурации <99-rtorrent-fastcgi-scgi-auth.conf>, строчка server.port = 81
Путь где находится файл - /opt/etc/lighttpd/conf.d


















Содержание