备忘用:
- 在全新的Ubuntu 14.04 系统上通过apt-get安装Transmission;
- 修改settings.json,并替换成新的界面
参考以下文章并修改:How To Install Transmission on Ubuntu 14.04 - idroot
全程以root账户进行或者使用sudo提权
参照英文,仅改动说明部分用中文备注。
Step 1. First, add transmission into the repository.(全新的系统没有add-apt-repository命令,通过apt-get添加)
1 | apt-get install software-properties-common |
Step 2. Install Transmission.
1 | apt-get update |
Step 3. Configure users and permissions for Transmission.
After the installation, create the directory where you want to put all your downloaded files.(这里假定”/mnt/blockstorage/transmission”为transmission下载数据的存储地址)
1 | cd /mnt/blockstorage |
Add the current user to debian-transmission group(使用rhilip为管理账户,或许adduser命令更好)
1 | useradd -m -d /home/rhilip rhilip -s /bin/bash |
Now, when Transmission downloads torrents, it automatically sets the rights of the files that it downloads to the Transmission user group. We need to make sure that our username is a part of that group, and we need to set the correct permissions on the downloads folders. Issue the following commands:
1 | chgrp -R debian-transmission /mnt/blockstorage/transmission |
Step 4. Configure Transmission.
Stop Transmission daemon befor setting.(在编辑settings.json前先停止服务,防止修改失效。)
service transmission-daemon stop
Then use vi|nano to change “settings.json”,Here is my sample configuration(used as a PT bittorrent client):
nano /etc/transmission-daemon/settings.json
·More to see: Editing Configuration Files -transmission/transmission
1 | .... |
Notes:You may add “watch-dir” and “watch-dir-enabled” by yourself.
Step 5. Start Transmission daemon.
service transmission-daemon start
Step 6. Change the web of Transmission-daemon.
The project: ronggang/transmission-web-control
1 | cd |
