Centos7安装transmission


因为centos软件仓库没有这货,所以先添加fedora官方源,否则无法通过yum安装transmission
rpm -Uvh http://download.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm

rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

开始安装transmission

yum -y install transmission transmission-daemon
systemctl start transmission-daemon
systemctl stop transmission-daemon
systemctl enable transmission-daemon.service

创建transmission储存目录并赋予相关权限

mkdir -p /home/transmission/download/
chown -R transmission:transmission /home/transmission/download/
chmod g+w /home/transmission/download/

配置transmission的settings.json

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

systemctl start transmission-daemon

登陆transmission

http://yourIP:9091   #输入上方填写的用户名和密码即可登陆transmission

Centos7安装transmission

本站文章除注明转载外, 均为本站原创编写.
转载请注明:文章转载自:咩粉——探寻MJJ的奥秘 [https://miefen.com]
本文标题:Centos7安装transmission
本文地址:https://miefen.com/201410/how-to-install-transmission-on-centos7

发表评论

电子邮件地址不会被公开。 必填项已用*标注