CentOS7.6安装transmission

rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

[root@dacentos ~]# yum search transmission
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.cn99.com
* epel: mirror.nes.co.id
* extras: ftp.sjtu.edu.cn
* updates: ftp.sjtu.edu.cn
=========================================================== N/S matched: transmission ============================================================
transmission-cli.x86_64 : Transmission command line implementation
transmission-common.x86_64 : Transmission common files
transmission-daemon.x86_64 : Transmission daemon
transmission-gtk.x86_64 : Transmission GTK interface
transmission-qt.x86_64 : Transmission Qt interface
transmission.x86_64 : A lightweight GTK+ BitTorrent client
===========================================================
===========================================================
systemctl stop firewalld
systemctl disable firewalld
yum -y install transmission transmission-daemon

systemctl start transmission-daemon

systemctl stop transmission-daemon

systemctl enable transmission-daemon.service
mkdir -p /home/transmission/Downloads
mkdir -p /home/transmission/temp_Downloads
chown -R transmission:transmission /home/transmission/
chmod g+w /home/transmission/Downloads /home/transmission/temp_Downloads

===========================================================
===========================================================
vim /var/lib/transmission/.config/transmission-daemon/settings.json
“download-dir”:”/home/transmission/Downloads”,#下载完成后的储存目录(在上面创建的目录)
“incomplete-dir”:”/home/transmission/temp_Downloads”,#下载中的储存目录(在上面创建的目录)
“rpc-authentication-required”:true,#默认是false, 改为true即可
“rpc-password”:”登陆密码”,#默认是”一长串加密的密码”
“rpc-username”:”登陆用户名”,#默认是”空的”
“rpc-whitelist-enabled”:false,#默认是true, 改为false即可
修改密码用户名前先停止transmission,密码直接修改为明文即可。
“rpc-authentication-required”: 改为true,否则访问不会出现登录框
修改完json文件后启动transmission
systemctl restart transmission-daemon
http://yourIP:9091 #输入上方填写的用户名和密码即可登陆transmission