安装Transmission
CentOS
安装一下编译需要的环境
yum -y groupinstall "Development Tools" yum -y install m4 libtool gettext libcurl-devel psmisc libevent-devel intltool gtk3-devel openssl-devel
开始编译安装
wget https://github.com/transmission/transmission-releases/raw/master/transmission-2.92.tar.xz tar -xf transmission-2.92.tar.xz cd transmission-2.92 ./configure make make install
查看当前Transmission版本
transmission-daemon -V
初始化程序
transmission-daemon -g /usr/local/transmission
Debian
sudo apt-get update -y sudo apt-get upgrade -y sudo apt-get install transmission-daemon
配置具体参数
//CentOS killall transmission-daemon //Debian service transmission-daemon stop
//CentOS vim /usr/local/transmission/settings.json //Debian vi /etc/transmission-daemon/settings.json
"rpc-authentication-required": true, #开启认证登录 "rpc-password": "密码", #直接修改,保存后会自动加密 "rpc-username": "账号", #管理员账号 "rpc-port": 9091, #管理登录端口,最好修改 "rpc-whitelist-enabled": false, #关闭白名单,所有IP都能登录
放行9091,51413端口(默认)
加载新的配置并运行
//CentOS transmission-daemon -g /usr/local/transmission //Debian service transmission-daemon restart
安装Web UI管理程序
wget https://github.com/ronggang/transmission-web-control/raw/master/release/install-tr-control-cn.sh bash install-tr-control-cn.sh
备用
wget http://shell.dcts.men/downloader/install-tr-control-cn.sh
解决Permission Denied
chmod 777 /* service transmission-daemon stop vi /etc/init.d/transmission-daemon //更改USER=debian-transmission为 USER=root service transmission-daemon start