马春杰杰 Exit Reader Mode

CentOS编译安装跳检版Transmission并美化WEB UI

本文标签bash git Transmission username word 跳检版Transmission

这次采用编译的方式来进行,主要是因为这次安装的为Transmission跳检版。安装正常版的话,可以看文末链接。

1. 安装跳检版Transmission

git clone https://gitee.com/fork-project/transmission-2.92_skiphashcheck.git

./configure

make 

sudo make install

中间可能会遇到错误:

1.1 错误1:

checking for LIBCURL... configure: error: Package requirements (libcurl >= 7.15.4) were not met:

No package 'libcurl' found

解决方法:

sudo yum install libcurl-devel.x86_64

1.2 错误2:

checking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not met:

No package 'libevent' found

解决方法:

sudo yum install libevent-devel.x86_64

1.3 错误3:

/root/transmission-2.92_skiphashcheck/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [aclocal.m4] Error 127

解决方法:

autoreconf -f -i

1.4 错误4:

无法打开webUI

解决方法:

关闭防火墙。service firewalld stop

1.5 错误5:

409: Conflict
Your request had an invalid session-id header.

解决方法:

后面地址后面不要加transmission,直接使用ip:9091即可。

2. 使用Transmission

首先创建配置文件:

transmission-daemon -g /usr/local/transmission

然后修改配置文件:

killall transmission-daemon

vi /usr/local/transmission/settings.json

主要修改这一块:

"rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "{30ef1102b5100dc95e766c39cf38543b726290ccj1WgOsRW",
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "transmission",
    "rpc-whitelist": "*",
    "rpc-whitelist-enabled": true,

3. 安装webUI

wget https://gitee.com/culturist/transmission-web-control/raw/master/release/install-tr-control-gitee.sh

bash install-tr-control-gitee.sh

直接选择安装最新版本即可。如果安装之后无法打开,提示index.html不存在的话,就需要手动安装一下了。

git clone https://gitee.com/fork-project/transmission-web-control.git

src文件夹下的所有文件都移动到提示的web路径下即可。

在跳检的时候,只需要选中种子,然后点击“获取更多peer”即可。这个按钮是灰色的,不用管它。

4. 安装正常版Transmission

本文最后更新于2021年8月29日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!