baymin

Ubuntu下安装Transmission
安装前准备apt-get install vim git unzip 安装transmission sudo ap...
扫描右侧二维码阅读全文
16
2017/11

Ubuntu下安装Transmission

安装前准备

apt-get install vim git unzip 

安装transmission

 sudo apt-get install transmission-daemon 

修改配置文件

先停止transmission

sudo service transmission-daemon stop
sudo vim /etc/transmission-daemon/settings.json
第14行修改为“dht-enabled”: false,
第15行是下载目录修改成你自己的“download-dir”: “/home/transmission/done”,
第20行修改为“encryption”: 2,
第23行修改为  "incomplete-dir": "/home/transmission/tmp",
第49行修改自定义的密码“rpc-password”: “123456”,
第52行修改成自定义的登录账号名称“rpc-username”: “suishouji”,
第54行修改为“rpc-whitelist-enabled”: false,

修改目录权限

  • 创建transmission用户组
groupadd transmission
  • 新建目录
mkdir -p /home/transmission/done
mkdir -p /home/transmission/tmp
  • 修改权限
sudo usermod -a -G transmission root
sudo chgrp -R transmission /home/transmission
  • 检查目录用户组
cd /home/transmission 
ls -lh

出现如下所示就OK

drwxr-xr-x 3 root transmission 4.0K Jun 10 01:51 debian-transmission
drwxrwxrwx 2 root transmission 4.0K Jun 10 01:49 downloads

美化WEB-UI

项目地址:https://github.com/ronggang/transmission-web-control
安装方法 :https://github.com/ronggang/transmission-web-control/wiki/Linux-Installation-CN

wget https://github.com/ronggang/transmission-web-control/raw/master/release/install-tr-control-cn.sh
bash install-tr-control-cn.sh

启动transmission

sudo service transmission-daemon start

参考文档:Ubuntu 14.04 Sever安装Transmission笔记| 楚盟博客

https://github.com/ronggang/transmission-web-control

Last modification:September 22nd, 2018 at 06:39 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment