e6r.top app.html,GitHub - wolandmaster/luci-app-rtorrent at fa0401e6b1c5b008df9ba62f276a2aeaf404029e

luci-app-rtorrent

rTorrent client for OpenWrt's LuCI web interface

Features

List all torrent downloads

Add new torrent by url/magnet uri/file

Stop/start/delete torrents

Mark torrents with tags

Set priority per file

Enable/disable and add trackers to torrent

Detailed peer listing

Completely LuCI based interface

OpenWrt device independent (written in lua)

Opkg package manager support

RSS feed downloader (automatically download torrents that match the specified criteria)

Screenshots

Install instructions

(for Openwrt 15.05.1 Chaos Calmer)

Install rtorrent-rpc

opkg update

opkg install rtorrent-rpc

(Note: If you going to install rtorrent-rpc to an own opkg destination then you have to install libopenssl to the root destination before)

Create rTorrent config file

Minimal /root/.rtorrent.rc file:

directory = /path/to/downloads/

session = /path/to/session/

scgi_port = 127.0.0.1:5000

schedule = rss_downloader,300,300,"execute=/usr/lib/lua/rss_downloader.lua"

Sample /root/.rtorrent.rc file:

Recommended kernel parameters to avoid low memory issues:

cat /etc/sysctl.conf

...

# handle rtorrent related low memory issues

vm.swappiness=95

vm.vfs_cache_pressure=200

vm.min_free_kbytes=4096

vm.overcommit_memory=2

vm.overcommit_ratio=60

Create init.d script (optional)

Install screen

opkg install screen

Create /etc/init.d/rtorrent script

#!/bin/sh /etc/rc.common

START=99

STOP=99

SCREEN=/usr/sbin/screen

PROG=/usr/bin/rtorrent

start() {

sleep 3

$SCREEN -dm -t rtorrent nice -19 $PROG

}

stop() {

killall rtorrent

}

Start rtorrent

chmod +x /etc/init.d/rtorrent

/etc/init.d/rtorrent enable

/etc/init.d/rtorrent start

Install wget

(the wget in busybox does not support https)

opkg install ca-certificates

opkg install wget

ln -sf $(which wget-ssl) /usr/bin/wget

Install luci-app-rtorrent

wget -nv https://github.com/wolandmaster/luci-app-rtorrent/releases/download/latest/e1a1ba8004c4220f -O /etc/opkg/keys/e1a1ba8004c4220f

echo 'src/gz luci_app_rtorrent https://github.com/wolandmaster/luci-app-rtorrent/releases/download/latest' >> /etc/opkg.conf

opkg update

opkg install luci-app-rtorrent

Upgrade already installed version

opkg update

opkg upgrade luci-app-rtorrent

References

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值