当前位置:首页 > 行业动态 > 正文

#分享#利用VPS剩余流量来下载电影、电视剧,安装,BT离线下载程序Docker镜像及安装

使用VPS剩余流量下载电影、电视剧,安装BT离线下载程序Docker镜像及安装,轻松实现资源利用。

利用VPS剩余流量来下载电影、电视剧,安装BT离线下载程序Docker镜像及安装

利用VPS剩余流量下载电影和电视剧

1、安装Transmission:我们需要在VPS上安装一个BT客户端,这里我们选择Transmission,在命令行中输入以下命令进行安装:

sudo aptget update
sudo aptget install transmissioncli

2、配置Transmission:安装完成后,我们需要对Transmission进行一些基本的配置,编辑/etc/transmissiondaemon/settings.json文件,添加以下内容:

{
    "downloaddir": "/var/lib/transmission/downloads",
    "incompletedir": "/var/lib/transmission/incomplete",
    "watchdir": "/var/lib/transmission/watch",
    "rpcusername": "your_username",
    "rpcpassword": "your_password",
    "rpcwhitelist": "127.0.0.1,192.168.1.0/24",
    "logfile": "/var/log/transmission/transmission.log",
    "loglevel": 3,
    "encryption": 1,
    "port": 9091,
    "bindaddress": "*",
    "paused": false,
    "upnp": false,
    "ratiolimit": 0,
    "seedtime": 120,
    "peercongestionalgorithm": "",
    "peeridhandling": "noid",
    "peertimeout": 30,
    "peerbanner": false,
    "blocklistenabled": true,
    "blocklisturl": "http://www.example.com/blocklist",
    "dht": true,
    "lpd": false,
    "ipfilterenabled": true,
    "ipfilterrules": "*.rar",
    "messagelevel": 2,
    "syslog": false,
    "debug": false,
    "verbose": false,
    "statisticsinterval": 60,
    "web": {
        "enabled": false,
        "port": 5000,
        "interface": "any",
        "bonjour": false,
        "accesslog": "/var/log/transmission/web.log",
        "authentication": {
            "admin": "your_username",
            "password": "your_password",
            "method": "digest",
            "realm": "Transmission Web UI",
            "users": [{
                "name": "admin",
                "pass": "$apr1$zZWBqkcH$RQKbGlEaPpJUYvXyFfTnD1", // admin password hashed with bcrypt (you should change this)
                "hashedpassword": "$apr1$zZWBqkcH$RQKbGlEaPpJUYvXyFfTnD1", // admin password hashed with bcrypt (you should change this)
                "disabled": false,
                "editable": true,
                "options": {},
                "permissions": [],
                "torrents": [],
                "speedlimits": [],
                "properties": {},
                "activity": [],
                "shares": [],
                "stats": {},
                "versionshistory": [],
                "notifications": [],
                "queue": [],
                "searches": [],
                "taggedtorrents": [],
                "recentlydeletedfiles": [],
                "recentlydeletedtorrents": [],
                "recentlyaddedfiles": [],
                "recentlyaddedtorrents": [],
                "recentlystartedtorrents": [],
                "recentlystoppedtorrents": [],
                "recentlyresumedtorrents": [],
                "recentlycheckedtorrents": [],
                "recentlymovedtorrents": [],
                "recentlyupdatedtorrents": [],
                "recentlydeletedtorrentsfromqueue": [],
                "recentlymovedtorrentsfromqueue": [],
                "recentlyupdatedtorrentsfromqueue": [],
                "recentlydeletedfilesfromqueue": [],
                "recentlymovedfilesfromqueue": [],
                "recentlyupdatedfilesfromqueue": [],
                "recentlydeletedfilesfromdownloading": [],
                "recentlymovedfilesfromdownloading": [],
                "recentlyupdatedfilesfromdownloading": [],
                "recentlydeletedfilesfromfinished": [],
                "recentlymovedfilesfromfinished": [],
                "recentlyupdatedfilesfromfinished": [],
                二、安装BT离线下载程序Docker镜像及安装
0