zoukankan      html  css  js  c++  java
  • Ubuntu 16.04.3 LTS 部署 Cloud Torrent

    下载安装程序

    
    apt install -y curl
    
    sudo curl https://i.jpillora.com/cloud-torrent! | bash
    
    

    写配置文件

    sudo vim /etc/cloud-torrent.json
    

    内容如下:
    DownloadDirectory 是下载文件夹,视情况配置下吧

    {
      "AutoStart": true,
      "DisableEncryption": false,
      "DownloadDirectory": "/home/downloads",
      "EnableUpload": true,
      "EnableSeeding": true,
      "IncomingPort": 50007
    }
    

    配置systemd

    sudo vim /usr/lib/systemd/system/cloud-torrent.service
    

    记得配置用户名密码:

    [Unit]
    Description=cloud-torrent service
    After=network.target
    
    [Service]
    ExecStart=/usr/local/bin/cloud-torrent -a "username:password" -c /etc/cloud-torrent.json
    
    [Install]
    WantedBy=multi-user.target
    

    访问

  • 相关阅读:
    打印日志宏定义
    数据库读写操作
    SQL语句组成
    MySQL数据库的使用
    ubuntu下解决MySQL 1045 error
    css样式优先级
    redis
    dubbo
    maven
    Mybatis笔记
  • 原文地址:https://www.cnblogs.com/DragonStart/p/9327431.html
Copyright © 2011-2022 走看看