如何在 Linux(Ubuntu) 上安装 Transmission?
重新安装须知
一定要备份 torrents 目录,否则会丢失所有下载任务。
1
|
sudo cp -r /var/lib/transmission-daemon/.config/transmission-daemon /opt
|
安装
1
|
sudo apt install transmission-daemon
|
配置
配置前需要将 transmission-daemon 服务停止。
1
|
sudo systemctl stop transmission-daemon
|
打开配置文件。
1
|
sudo vim /etc/transmission-daemon/settings.json
|
推荐修改这些配置:
1
2
3
4
5
6
7
|
{
"download-dir": "/var/lib/transmission-daemon/Downloads",
"rpc-bind-address": "::",
"rpc-password": "12345678",
"rpc-username": "transmission",
"rpc-whitelist-enabled": false
}
|
安装 Web 界面
安装前需要启动 transmission-daemon 服务。
1
|
sudo systemctl start transmission-daemon
|
source https://github.com/ronggang/transmission-web-control
详细安装说明 https://github.com/ronggang/transmission-web-control/wiki/Home-CN
1
2
|
wget https://github.com/ronggang/transmission-web-control/raw/master/release/install-tr-control-cn.sh
bash install-tr-control-cn.sh
|