Установка и настройка OPKG-пакета rTorrent


rTorrent - BitTorrent клиент, написанный на языке C++ для операционных систем Linux, на основе библиотек libTorrent. Легкий и нетребовательный к системным ресурсам BitTorrent-клиент.

Рассмотрим вариант установки версии rTorrent 0.9.6 из репозитория Entware.

1. Подготавливаем разделы жесткого диска:

для установки OPKG, как описано в статье: Использование файловой системы EXT4 на USB-накопителях.

для скачивания торрент-файлов, как описано в статье (за место файловой системы EXT4, выбираем NTFS): Использование файловой системы EXT4 на USB-накопителях.

2. Установите компоненты OPKG.

opkg1.png

Данный способ возможен на моделях с USB-портами: Keenetic II, Keenetic III, Extra, Extra II, Giga II, Giga III, Omni, Omni II, Viva, Ultra, Ultra II, Giga (KN-1010).

3. После установки компонентов потребуется установить репозиторий пакетов Entware.

Архив установки для Keenetic II, Keenetic III, Extra, Extra II, Giga II, Giga III, Omni, Omni II, Viva, Ultra, Ultra II, Giga (KN-1010) (mipsel) - mipsel-installer.tar.gz

Архив установки для Keenetic DSL, LTE, VOX (mips) - mips-installer.tar.gz

4. В нашем примере рассмотрим установку архива mipsel.

Скачайте файл mipsel-installer.tar.gz. Данный файл добавьте в заранее созданную директорию install в разделе жесткого диска с файловой системой EXT4.

opkg2.png

5. После перейдите в Менеджер пакетов OPKG по адресу http://192.168.1.1/#usb.opkg и выполните настройки:

  • Включите менеджер пакетов OPKG
  • Использовать накопитель: OPKG (метка EXT4-раздела)
  • Сценарий initrc: /opt/etc/init.d/rc.unslung

Нажмите Применить.

opkg3.png

6. Перейдите в Системный журнал. В нем должны быть следующие записи:

[I] Mar 28 19:10:34 ndm: Opkg::Manager: /tmp/mnt/OPKG mounted to /tmp/mnt/OPKG.
[I] Mar 28 19:10:34 ndm: Opkg::Manager: /tmp/mnt/OPKG mounted to /opt/.
[I] Mar 28 19:10:34 npkg: inflating "mipsel-installer.tar.gz".
[I] Mar 28 19:10:35 ndm: Opkg::Manager: /tmp/mnt/OPKG initialized.
[I] Mar 28 19:10:35 ndm: Opkg::Manager: configured init script: "/opt/etc/init.d/rc.unslung".
[E] Mar 28 19:10:35 ndm: Opkg::Manager: invalid initrc "/opt/etc/init.d/rc.unslung": no such file or directory, trying /opt/etc/init.d/.
[I] Mar 28 19:10:35 installer: Info: Раздел пригоден для установки.
[I] Mar 28 19:10:35 ndm: Core::ConfigurationSaver: saving configuration...
[I] Mar 28 19:10:35 installer: [1/5] Начало развёртывания системы Entware...
[I] Mar 28 19:10:35 installer: Info: Создание папок...
[I] Mar 28 19:10:35 installer: [2/5] Загрузка и установка базовых пакетов...
[I] Mar 28 19:10:36 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/Packages.gz.
[I] Mar 28 19:10:36 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Updated list of available packages in /opt/var/opkg-lists/entware.
[I] Mar 28 19:10:36 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz.
[I] Mar 28 19:10:36 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Updated list of available packages in /opt/var/opkg-lists/keendev.
[I] Mar 28 19:10:36 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing opt-ndmsv2 (1.0-10a) to root...
[I] Mar 28 19:10:36 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/opt-ndmsv2_1.0-10a_mipsel-3.4_kn.ipk.
[I] Mar 28 19:10:37 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libc (2.27-8) to root...
[I] Mar 28 19:10:37 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libc_2.27-8_mipsel-3.4.ipk.
[I] Mar 28 19:10:40 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libgcc (7.3.0-8) to root...
[I] Mar 28 19:10:40 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libgcc_7.3.0-8_mipsel-3.4.ipk.
[I] Mar 28 19:10:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libssp (7.3.0-8) to root...
[I] Mar 28 19:10:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libssp_7.3.0-8_mipsel-3.4.ipk.
[I] Mar 28 19:10:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing librt (2.27-8) to root...
[I] Mar 28 19:10:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/librt_2.27-8_mipsel-3.4.ipk.
[I] Mar 28 19:10:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libpthread (2.27-8) to root...
[I] Mar 28 19:10:41 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libpthread_2.27-8_mipsel-3.4.ipk.
[I] Mar 28 19:10:42 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libstdcpp (7.3.0-8) to root...
[I] Mar 28 19:10:42 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libstdcpp_7.3.0-8_mipsel-3.4.ipk.
[I] Mar 28 19:10:43 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing ldconfig (2.27-8) to root...
[I] Mar 28 19:10:43 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/ldconfig_2.27-8_mipsel-3.4.ipk.
[I] Mar 28 19:10:44 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing findutils (4.6.0-1) to root...
[I] Mar 28 19:10:44 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/findutils_4.6.0-1_mipsel-3.4.ipk.
[I] Mar 28 19:10:44 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing terminfo (6.1-1) to root...
[I] Mar 28 19:10:44 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/terminfo_6.1-1_mipsel-3.4.ipk.
[I] Mar 28 19:10:44 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing ndmq (1.0.2-3) to root...
[I] Mar 28 19:10:44 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/ndmq_1.0.2-3_mipsel-3.4_kn.ipk.
[I] Mar 28 19:10:45 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libndm (1.8.0-1) to root...
[I] Mar 28 19:10:45 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/libndm_1.8.0-1_mipsel-3.4_kn.ipk.
[I] Mar 28 19:10:45 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing locales (2.27-8) to root...
[I] Mar 28 19:10:45 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/locales_2.27-8_mipsel-3.4.ipk.
[I] Mar 28 19:10:47 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing grep (2.26-1) to root...
[I] Mar 28 19:10:47 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/grep_2.26-1_mipsel-3.4.ipk.
[I] Mar 28 19:10:47 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing libpcre (8.41-2) to root...
[I] Mar 28 19:10:47 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/libpcre_8.41-2_mipsel-3.4.ipk.
[I] Mar 28 19:10:48 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing zoneinfo-asia (2018c-1) to root...
[I] Mar 28 19:10:48 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/zoneinfo-asia_2018c-1_mipsel-3.4.ipk.
[I] Mar 28 19:10:48 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing zoneinfo-europe (2018c-1) to root...
[I] Mar 28 19:10:48 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/zoneinfo-europe_2018c-1_mipsel-3.4.ipk.
[I] Mar 28 19:10:48 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing entware-release (1.0-2) to root...
[I] Mar 28 19:10:48 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/entware-release_1.0-2_all.ipk.
[I] Mar 28 19:10:48 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing opkg (2011-04-08-9c97d5ec-17b) to root...
[I] Mar 28 19:10:48 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/opkg_2011-04-08-9c97d5ec-17b_mipsel-3.4.ipk.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Installing dropbear (2017.75-5) to root...
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Downloading http://bin.entware.net/mipselsf-k3.4/dropbear_2017.75-5_mipsel-3.4.ipk.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Entware uses separate locale-archive file independent from main system.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: You can download locale sources from http://pkg.entware.net/sources/i18n_glib227.tar.gz.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: You can add new locales to Entware using /opt/bin/localedef.new.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Updating /opt/etc/ld.so.cache... done.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Package ndmq (1.0.2-3) installed in root is up to date.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libgcc.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libc.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libssp.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libpthread.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring librt.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring terminfo.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring ldconfig.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libpcre.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring grep.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring locales.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring opkg.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring zoneinfo-europe.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring zoneinfo-asia.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libndm.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring ndmq.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring dropbear.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring libstdcpp.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring findutils.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring entware-release.
[I] Mar 28 19:10:49 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Configuring opt-ndmsv2.
[I] Mar 28 19:10:59 installer: Info: Установка пакетов прошла успешно! Продолжаем...
[I] Mar 28 19:10:59 installer: [3/5] Генерация SSH-ключей...
[I] Mar 28 19:10:59 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: Generating key, this may take a while...
[I] Mar 28 19:11:01 installer: Info: Ключ ecdsa создан
[I] Mar 28 19:11:01 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: .Generating key, this may take a while...
[I] Mar 28 19:11:03 installer: Info: Ключ rsa создан
[I] Mar 28 19:11:03 installer: [4/5] Установка Entware завершена! Сохранение временной зоны и запуск dropbear...
[I] Mar 28 19:11:03 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Mar 28 19:11:04 ndm: Core::Server: client disconnected.
[I] Mar 28 19:11:04 dropbear[3222]: Running in background
[I] Mar 28 19:11:04 installer: [5/5] Настройка сценария запуска для прошивки NDMS...
[I] Mar 28 19:11:04 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Mar 28 19:11:04 ndm: Opkg::Manager: configured init script: "/opt/etc/init.d/rc.unslung".
[I] Mar 28 19:11:04 ndm: Core::Server: client disconnected.
[I] Mar 28 19:11:04 ndm: Core::Server: started Session /var/run/ndm.core.socket.
[I] Mar 28 19:11:04 ndm: Core::ConfigurationSaver: saving configuration...
[I] Mar 28 19:11:04 ndm: Core::Server: client disconnected.
[I] Mar 28 19:11:04 installer: Можно открыть SSH-сессию для соединения с устройством (ssh root:keenetic@my.keenetic.net -p 222).
[I] Mar 28 19:11:04 installer:
[I] Mar 28 19:11:04 installer: @@@@@@@@@@@@@@@@@@@@@@@
[I] Mar 28 19:11:04 installer: Не забудьте сменить пароль и номер порта!
[I] Mar 28 19:11:04 installer: @@@@@@@@@@@@@@@@@@@@@@@
[I] Mar 28 19:11:04 installer:
[I] Mar 28 19:11:04 ndm: Opkg::Manager: /opt/etc/init.d/doinstall: .
[I] Mar 28 19:11:08 ndm: Core::ConfigurationSaver: configuration saved.

7. Скачайте программу Putty для работы с протоколами SSH и Telnet.

8. Запустите программу Putty. Выберите SSH, введите IP-адрес Home Vlan (Домашнего сегмента)  192.168.1.1, укажите 222 порт и перейдите в настройки роутера при помощи протокола Secure Shell.

При загрузке подтвердите вход, нажав ДА. Далее введите:

login as: root
root@192.168.111.1's password: keenetic

opkg4.png

Можно установить свой пароль. Вводим команду passwd:

New password: - пишем свой пароль

Retype password: - подтверждаем пароль

~ # passwd
Changing password for root
New password:
Bad password: too short
Retype password:
passwd: password for root changed by root
~ #

opkg7.png

9. Вы зашли в BusyBox v1.27.2 () built-in shell (ash). Теперь нужно обновить opkg-пакет. Для этого введите команду opkg update

~ # opkg update
Downloading http://bin.entware.net/mipselsf-k3.4/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/keendev

2018-03-28-screenshoot_3.png

10. После обновления OPKG-пакета, установите пакет rtorrent-easy-install.

Для этого выполните команду opkg install rtorrent-easy-install:

~ # opkg install rtorrent-easy-install
Installing rtorrent-easy-install (0.2-3a) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rtorrent-easy-install_0.2-3a_mipsel-3.4.ipk
Installing rutorrent-plugin-rpc (3.8-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rutorrent-plugin-rpc_3.8-1_mipsel-3.4.ipk
Installing rutorrent (3.8-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rutorrent_3.8-1_mipsel-3.4.ipk
Installing rtorrent-rpc (0.9.6-git-1-62cb5a4605c0664bc522e0e0da9c72f09cf643a9) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/rtorrent-rpc_0.9.6-git-1-62cb5a4605c0664bc522e0e0da9c72f09cf643a9_mipsel-3.4.ipk
Installing libcurl (7.58.0-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libcurl_7.58.0-1_mipsel-3.4.ipk
Installing libopenssl (1.0.2n-1b) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libopenssl_1.0.2n-1b_mipsel-3.4.ipk
Installing zlib (1.2.11-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/zlib_1.2.11-2_mipsel-3.4.ipk
Installing libtorrent (0.13.6-git-1-14e793b75dac95c51ad64ff9cd2dc6772b68c625) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libtorrent_0.13.6-git-1-14e793b75dac95c51ad64ff9cd2dc6772b68c625_mipsel-3.4.ipk
Installing libsigcxx (2.5.4-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libsigcxx_2.5.4-1_mipsel-3.4.ipk
Installing libncursesw (6.1-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libncursesw_6.1-1_mipsel-3.4.ipk
Installing xmlrpc-c-server (1.39.12-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c-server_1.39.12-1_mipsel-3.4.ipk
Installing xmlrpc-c (1.39.12-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c_1.39.12-1_mipsel-3.4.ipk
Installing xmlrpc-c-internal (1.39.12-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c-internal_1.39.12-1_mipsel-3.4.ipk
Installing xmlrpc-c-common (1.39.12-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/xmlrpc-c-common_1.39.12-1_mipsel-3.4.ipk
Installing coreutils-stat (8.23-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/coreutils-stat_8.23-3_mipsel-3.4.ipk
Installing coreutils (8.23-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/coreutils_8.23-3_mipsel-3.4.ipk
Installing coreutils-id (8.23-3) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/coreutils-id_8.23-3_mipsel-3.4.ipk
Installing gzip (1.8-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/gzip_1.8-1_mipsel-3.4.ipk
Installing curl (7.58.0-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/curl_7.58.0-1_mipsel-3.4.ipk
Installing screen (4.6.2-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/screen_4.6.2-1_mipsel-3.4.ipk
Installing libncurses (6.1-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libncurses_6.1-1_mipsel-3.4.ipk
Installing php7-cgi (7.2.2-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/php7-cgi_7.2.2-1_mipsel-3.4.ipk
Installing php7 (7.2.2-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/php7_7.2.2-1_mipsel-3.4.ipk
Installing libxml2 (2.9.7-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libxml2_2.9.7-1_mipsel-3.4.ipk
Installing lighttpd-mod-fastcgi (1.4.48-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-fastcgi_1.4.48-2_mipsel-3.4.ipk
Installing lighttpd (1.4.48-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd_1.4.48-2_mipsel-3.4.ipk
Installing lighttpd-mod-scgi (1.4.48-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-scgi_1.4.48-2_mipsel-3.4.ipk
Installing lighttpd-mod-auth (1.4.48-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-auth_1.4.48-2_mipsel-3.4.ipk
Installing lighttpd-mod-authn_file (1.4.48-2) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/lighttpd-mod-authn_file_1.4.48-2_mipsel-3.4.ipk
Configuring zlib.
Configuring libopenssl.
Configuring libcurl.
Configuring lighttpd.
Configuring lighttpd-mod-authn_file.
Configuring xmlrpc-c-common.
Configuring xmlrpc-c-internal.
Configuring xmlrpc-c.
Configuring libxml2.
Configuring php7.
Configuring php7-cgi.
Configuring coreutils.
Configuring coreutils-stat.
Configuring libsigcxx.
Configuring libtorrent.
Configuring libncursesw.
Configuring xmlrpc-c-server.
Configuring rtorrent-rpc.
Configuring coreutils-id.
Configuring gzip.
Configuring curl.
Configuring rutorrent.
Configuring rutorrent-plugin-rpc.
Configuring libncurses.
Configuring screen.
Configuring lighttpd-mod-fastcgi.
Configuring lighttpd-mod-scgi.
Configuring lighttpd-mod-auth.
Configuring rtorrent-easy-install.

11. В момент установки пакета сразу будет предложено настроить базовые возможности.

Можете установить свой логин/пароль, порт, скорость загрузки/отдачи, путь для скачиваемых торрент-файлов:

Type "username:password" if you want to protect Web UI or hit Enter to leave password protection disabled []: - устанавливаем свой логин:пароль, например myhome:mytorrent

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]: - указываем путь, куда будут скачиваться торрент-файлы. Лучше устанавливать NTFS-раздел, к примеру у нас создан раздел с файловой системой NTFS, называется FILES, в нем мы создали директорию download, указываем путь: /tmp/mnt/FILES/download

#### 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.

12. Заходим в веб-интерфейс rTorrent по адресу http://192.168.1.1:81/rutorrent/, делаем настройку и проверяем работу: 

r1.png

r2.png

r3.png

r4.png

r5.png

r6.png

r7.png

r8.png

r9.png

r10.png

Важно! Поддержка пакета осуществляется в теме форума разработчиков - rTorrent - BitTorrent-клиент.

KB-5281

Была ли эта статья полезной?

Пользователи, считающие этот материал полезным: 5 из 5

Еще есть вопросы? Отправить запрос

Комментарии

0 комментариев

Войдите в службу, чтобы оставить комментарий.