Last update at :2024-02-11,Edit by888u
Test system
The system is: centos6 64-bit python:2.7.13 Working directory:/root
1. Transmission
1. Installation
wget http://github.itzmx.com/1265578519/transmission/master/2.84/transmissionbt.sh -O transmissionbt.sh;sh transmissionbt.sh1.1. Usage matters 1. The access address is http://IP:9091, the default username and password are itzmx.com, and the file download location:/home/transmission/Downloads/ 2. Modify the port, user name and password. Please be sure to stop the service and modify it
service transmission stop vi /home/transmission/.config/transmission/settings.jsonrpc-username account rpc-password password rpc-port port rpc-authentication-required Whether to enable encrypted access using account and password
Restart the service after the settings are completed:
service transmission start3. Restart the process
service transmission restart4. Uninstall Transmission
service transmission stop rm -rf /home/transmission rm -rf /usr/share/transmission2. Beautification of Transmission The default Transmission is actually quite ugly, we can beautify it and make it Chinese. Pay special attention to the instability of the project. The one-click script cannot find the web page file after the recent installation, causing a 404 problem. It is recommended to manually download the complete package and install it! Project address: https://github.com/ronggang/transmission-web-control 2.1. Manual installation CentOS version directory:/usr/share/transmission/web/
Debian version directory:/var/lib/transmission-daemon/web
Full package download: https://github.com/ronggang/transmission-web-control/raw/master/release/transmission-control-full.tar.gz
2.2. One-click script
wget https://github.com/ronggang/transmission-web-control/raw/master/release/tr-control-easy-install.sh bash tr-control-easy-install.shIf you need http instead of https, use the following command:
wget https://github.com/ronggang/transmission-web-control/raw/master/release/tr-control-easy-install-en-http.sh --no-check-certificate bash tr-control-easy-install-en-http.shIf you need to install it to Synology downloadstation, please download the following installation script and run it:
wget https://github.com/ronggang/transmission-web-control/raw/master/release/ds-control-easy-install.sh bash ds-control-easy-install-en-http.shThis concludes the Transmission installation tutorial!
3. Usage tutorial Just like Thunder, I won’t introduce it much.
4. Auxiliary tools Transmission has a variety of clients, which basically cover all platforms. It is enough without a web client, and it doesn't matter what you want, or what you need a bicycle.
4.1.Windows: 1.Transmission-QT download address: https://transmission-qt.en.softonic.com/
2.Transmission-GUI download address: https://sourceforge.net/projects/transgui/
The two are similar, but they look different. Generally, the GUI version has more users and has more powerful functions. A simple download can handle it.
4.2.Android: TransDroid download address: http://www.coolapk.com/apk/org.transdroid.full
Looks good and easy to use. This software is recommended for Android platform management. It is very convenient! I haven’t used other platforms much, so I won’t recommend them, they are basically available.
2. Flexget
flexget is a powerful tool for extending transmission rss subscription downloads
The following operation process:
1. Deployment environment 1.1. yum installs python compilation environment
yum install -y gcc make zlib zlib-devel readline-devel sqlite sqlite-devel openssl-devel mysql-devel gd-devel openjpeg-devel1.2. Download python 2.7.13.tgz
wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz1.3. Unzip and install python 2.7.13
tar zxf Python-2.7.13.tgz pushdPython-2.7.13 ./configure --prefix=/root/python && \ make && \ make install && \ ln -s /root/python/bin/python2.7 /usr/local/bin/python source ~/.bash_profile popd1.4. Download and install pip
wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate /usr/local/bin/python get-pip.py ln -s /root/python/bin/pip /usr/local/bin/pip1.5. Install virtualenv
/usr/local/bin/pip install virtualenv ln -s /root/python/bin/virtualenv /usr/local/bin/virtualenv2. Add and install flexget
cd /root/ virtualenv /root/flexget/ /root/flexget/bin/pip install flexget2.1. Install the transmissionrpc plug-in (to implement transmissionrpc account authentication)
/root/flexget/bin/pip install transmissionrpc2.2. Partial example of flexget configuration file (named after config.yml)
tasks: pt_name: rss: .... # pt rss subscription address download: /data/torrent # flexget download torrent storage location transmission: host: xxx.xxx.xxx.xxx # transmission host ip port: xxxx # transmission port username: xxxx # transmission username password: xxxx # transmission password regexp: accept: - Colony\.S\d{1,2}E\d+\.720p\.HDTV\.x264-FLEET # Colony.S01E01.720p.HDTV.x264-FLEET # This is the flexget regular expression for the American drama "Colony" # https://flexget.com/Plugins/regexp # flexget official configuration introduction# https://flexget.com/Plugins/regexp #flexget official configuration introduction
I refresh the MT configuration myself The storage location of config.yml is /root/flexget/. If there is no storage directory involved in the configuration, create it yourself
tasks: mt: rss: https://tp.m-team.cc/torrentrss.php?https=1&rows=10&cat410=1&cat429=1&cat424=1&cat430=1&icat=1&isize=1&iuplder=1&linktype=dl&passkey=***** accept_all: yes content_size: min: 256 max: 3072 download: /home/transmission/torrent transmission: host: 127.0.0.1 port: 9091 username: user password: password clean_transmission: host: 127.0.0.1 port: 9091 username: user password: password finished_for: 6 hours tracker: tp.m-team.cc delete_files: Yes free_space: path: /home/transmission/Downloads space: 30722.3. Run flexget
/root/flexget/bin/flexget -c /root/flexget/config.yml execute2.4.cron task
crontab -eAdd the following tasks to perform a check every five minutes, so that automatic downloading and automatic deletion can be achieved through flexget
*/5 * * * * /root/flexget/bin/flexget -c /root/flexget/config.yml executeRecommended site searches: IP segment query, Hong Kong server, free space, app server rental, check IP detailed address US space, godaddy space, US anti-attack server, how to register a company domain name, Korean server rental,
发表评论