安装步骤
一、安装epel-release源
1 2 |
yum install epel-release yum -y update |
二、安装Transmission
1 |
yum install transmission-cli transmission-common transmission-daemon |
安装完之后启动,查看一下状态:
1 2 3 4 5 6 7 8 |
#启动 systemctl start transmission-daemon.service #查看状态 systemctl status transmission-daemon.service #停止 systemctl stop transmission-daemon.service |
三、修改配置文件
1 2 |
yum -y install vim vim /var/lib/transmission/.config/transmission-daemon/settings.json |
并且修改相应的参数:
“rpc-authentication-required”: true,
“rpc-enabled”: true,
“rpc-password”: “password”,
“rpc-username”: “username”,
“rpc-whitelist-enabled”: false
把umask参数改为0
四、美化
1 2 |
wget https://github.com/ronggang/transmission-web-control/raw/master/release/install-tr-control.sh --no-check-certificate bash install-tr-control.sh |
修改完成后启动服务
systemctl start transmission-daemon.service
五、设置开启自动启动
1 |
systemctl enable transmission-daemon.service |