因为centos软件仓库没有这货,所以先添加fedora官方源,否则无法通过yum安装transmission
1 |
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm |
开始安装transmission
1 2 3 4 |
yum -y install transmission transmission-daemon systemctl start transmission-daemon systemctl stop transmission-daemon systemctl enable transmission-daemon.service |
创建transmission储存目录并赋予相关权限
1 2 3 |
mkdir -p /home/transmission/download/ chown -R transmission:transmission /home/transmission/download/ chmod g+w /home/transmission/download/ |
配置transmission的settings.json
1 2 3 4 5 6 7 |
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即可 |
启动transmission
1 |
systemctl start transmission-daemon |
登陆transmission
1 |
http://yourIP:9091 #输入上方填写的用户名和密码即可登陆transmission |
本文地址:https://miefen.com/201410/how-to-install-transmission-on-centos7
转载请注明:开心VPS测评 » Centos7安装transmission