mktorrent 制作私人种子 & Deluge 做种

您所在的位置:网站首页 种子制作工具图片 mktorrent 制作私人种子 & Deluge 做种

mktorrent 制作私人种子 & Deluge 做种

2024-05-30 04:27| 来源: 网络整理| 查看: 265

在 Windows OS 上,可以比较方便的使用qBittorrent等软件来制作和发布种子。 怎么在(无GUI)服务器上制作并发布一个种子呢? mktorrent 就是这样一个可以让我们使用命令行的方式来制作种子的工具。

0. 安装代码语言:javascript复制// 0. 首先下载 mktorrent $ sudo wget https://github.com/Rudde/mktorrent/archive/master.zip // 1. 解压 $ sudo unzip master.zip $ cd mktorrent-master // 2. 编译安装 $ sudo make $ sudo make install

到这里就安装好了,可执行文件在 /usr/local/bin/mktorrent

1. 制作种子

使用命令行的方式制作种子也很简单,个人觉得比GUI更方便… 我们先来看下 mktorrent 都有哪些可选参数

代码语言:javascript复制$ mktorrent -h mktorrent 1.1 (c) 2007, 2009 Emil Renner Berthing Usage: mktorrent [OPTIONS] Options: -a [,]* : specify the full announce URLs at least one is required additional -a adds backup trackers -c : add a comment to the metainfo -d : don't write the creation date -h : show this help screen -l : set the piece length to 2^n bytes, default is 18, that is 2^18 = 256kb -n : set the name of the torrent, default is the basename of the target -o : set the path and filename of the created file default is .torrent -p : set the private flag -s : add source string embedded in infohash -v : be verbose -w [,]* : add web seed URLs additional -w adds more URLs Please send bug reports, patches, feature requests, praise and general gossip about the program to: [email protected] 我们要发布种子的Tracker URL-c 给种子一个简短的描述信息-d 不写入创建时间-l 文件分段大小. 例如 -l 19 就是 512KiB大小-n 待生成的种子名字. 默认为文件或文件夹名字-o 待生成的种子路径及名字-p 声明该种子是私人的. Private Tracker-s 嵌入一段字符串到种子hash-v 输出详细信息

介绍完了,我们来生成一个种子吧 假定我们待生成种子的是一个叫 demo 的文件夹, 生成的种子文件叫 demo.torrent, 发布到BYR

代码语言:javascript复制mktorrent -v -p -l 19 -a https://tracker.byr.cn/announce.php -o demo.torrent demo

到这里我们就完成了种子的制作,关于种子的发布,比较简单,这里简单说说

2. 发布种子&做种

以客户端Deluge发布到BYR为例

首先需要在BYR进行种子的上传,上传成功后会自动下载一个新种子,在再Deluge的Web端Add新种子。

需要注意的是: 1. 需要事先把上一步的demo文件夹复制或移动到Deluge配置的下载目录 2. 需要demo文件夹的读写权限与Deluge配置的下载目录的其他文件及文件夹权限一致,且所有人一致

Add之后就完成了发布种子和做种

参考Rudde/mktorrentHow To Create A Torrent Using Mktorrent - Wiki


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3