其实你应该问 Linux 系统下
哪个 BT 下载软件 对中文标题的支持最好
我使用过的 有 2 个 都有 WEB 界面操作
第一个
rtorrent.net需要安装 rtorrent 和 libtorrent
然后加上
https://github.com/Novik/ruTorrent 的 Web 界面
就可以了 Web ui 是 html+PHP+ RPC 协议通信
这个怎么说勒
功能强大 自动化很好
速度也比较 NB
但是对一些下载的特殊字符文件名 会导致崩溃 这个问题无解
因为我经常下韩文的资源 然后就出奇葩问题 经常无故崩溃
所以就放弃了
下载英文资源 不带特殊符号的 一般不会有问题
也贴个安装吧 For Centos7 的
yum install -y cppunit cppunit-devel unrar xmlrpc-c-devel screen ncurses ncurses-devel
rpm -Uvh
http://pkgs.repoforge.org/unrar/unrar-5.0.3-1.el7.rf.x86_64.rpmcd /opt
wget
http://rtorrent.net/downloads/libtorrent-0.13.6.tar.gztar xvf libtorrent-0.13.6.tar.gz
cd libtorrent-0.13.6
./
autogen.sh./configure
make && make install
cd /opt
wget
http://rtorrent.net/downloads/rtorrent-0.9.6.tar.gztar xvf rtorrent-0.9.6.tar.gz
cd rtorrent-0.9.6
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH
./
autogen.sh./configure --with-xmlrpc-c
make && make install
ldconfig
cat >/home/admin/.rtorrent.rc <<EOF
#min_peers = 25
max_peers = 100
min_peers_seed = -1
max_peers_seed = -1
max_uploads = 100
download_rate = 0
upload_rate = 0
directory = ~/bt/files
session = ~/bt/.session
schedule = watch_directory,5,5,load_start=~/bt/watch/*.torrent
schedule = untied_directory,5,5,stop_untied=
schedule = low_diskspace,5,60,close_low_diskspace=10240M
# The ip address reported to the tracker.
#ip = 127.0.0.1
#ip =
rakshasa.no#bind = 127.0.0.1
#bind =
rakshasa.noport_range = 6890-6999
#port_random = no
#check_hash = no
#use_udp_trackers = yes
#schedule = ip_tick,0,1800,ip=rakshasa
#schedule = bind_tick,0,1800,bind=rakshasa
#allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
encryption = allow_incoming,enable_retry,prefer_plaintext
dht = on
dht_port = 6881
peer_exchange = no
#hash_read_ahead = 10
#hash_interval = 100
#hash_max_tries = 10
scgi_port = 127.0.0.1:5000
EOF
su admin
mkdir -p ~/bt/{files,watch,tmp,.session}
chown -R admin:admin /home/admin/bt
screen
screen -S rtorrent -d -m su admin -c "rtorrent"
echo 'screen -S rtorrent -d -m su admin -c "rtorrent"'>>/etc/rc.local
mkdir /home/admin/public_html/tools
cd /home/admin/public_html/tools
git clone
https://github.com/Novik/ruTorrentchown -R admin:admin /home/admin/public_html/tools
修改 /home/admin/public_html/conf/config.php
$tempDirectory = null;
$tempDirectory = '/home/admin/bt/tmp';
ps aux|grep torrent
第二个
https://www.transmissionbt.com/自带 Web UI 的
我使用体验没 Rtorrent 好 而且不知道为什么 速度也不如前者
但是能用
顺便贴个安装吧 For Centos 的
yum install -y epel-release
yum install -y transmission transmission-daemon
systemctl start transmission-daemon
systemctl stop transmission-daemon
systemctl enable transmission-daemon.service
mkdir -p /home/transmission/{download,waiting}
chown -R transmission:transmission /home/transmission
chmod g+w -R /home/transmission
vi /var/lib/transmission/.config/transmission-daemon/settings.json
"download-dir": "/home/transmission/download", #下载完成后的储存目录
"incomplete-dir": "/home/transmission/download", #下载中的储存目录
"rpc-authentication-required": true, #默认是 false, 改为 true 即可
"rpc-password": "登陆密码", #默认是"一长串加密的密码"
"rpc-username": "登陆用户名", #默认是"空的"
"rpc-whitelist-enabled": false, #默认是 true, 改为 false 即可
systemctl start transmission-daemon
cat >/var/lib/transmission/.config/transmission-daemon/settings.json <<EOF
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "
http://www.example.com/blocklist",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/home/transmission/download",
"download-queue-enabled": true,
"download-queue-size": 100,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/transmission/waiting",
"incomplete-dir-enabled": true,
"lpd-enabled": false,
"message-level": 1,
"peer-congestion-algorithm": "",
"peer-id-ttl-hours": 6,
"peer-limit-global": 200,
"peer-limit-per-torrent": 50,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": 1,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "000000",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "admin",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": true,
"seed-queue-size": 1,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 18,
"upload-slots-per-torrent": 14,
"utp-enabled": true
}
EOF
iptables -t filter -A INPUT -p tcp --dport 9091 -j ACCEPT
iptables -t filter -A INPUT -p udp --dport 9091 -j ACCEPT
This is a permission issue based on the user ID that is running Transmission. Transmission sets up a default user that you might not expect on first install. The user name is transmission.
You can it:
Stop the Transmission daemon service transmission-daemon stop
Open the Transmission config file for editing: nano /etc/init.d/transmission-daemon
Find the line that says USER=transmission and change it to the user that owns the folder in question. If you are not concerned about security issues, you can also use USER=root in this file. (Not advised, but good for troubleshooting).
Start the Transmission daemon service transmission-daemon start