CentOS安装BT服务器
来源:互联网 发布:威海博优化纤怎么样 编辑:程序博客网 时间:2024/05/17 01:22
系统为CentOS5.3,,BT服务器软件为:BitTorrent
首先升级一下python
yum install python -y
再下载BitTorrent
wget http://download.bittorrent.com/dl/archive/BitTorrent-5.0.9.tar.gz-20070828
tar -zxvf BitTorrent-5.0.9.tar.gz-20070828
cd BitTorrent-5.0.9.tar.gz-20070828
python setup.py install (安装)
[root@localhost ~]# cat bt.sh
#!/bin/bash
cd /usr/bin;python bttrack.py --port 6969 --dfile dfile.log& (运行脚本)
#!/bin/bash
cd /usr/bin;python bttrack.py --port 6969 --dfile dfile.log& (运行脚本)
再打开网页http://ip:6969/就可以显示:
BitTorrent download info
- tracker version: 3.9.1
- server time: 2009-06-19 05:44 UTC
not tracking any files yet...
种子制作:
[root@localhost ~]# btmaketorrent.py
http://10.88.12.89:6969/announce /root/mysql-5.1.31.tar.gz
对mysql创建一个种子
[root@localhost ~]# ls -al mysql-5.1.31.tar.gz*
-rw-r--r-- 1 root root 30842205 06-16 11:28 mysql-5.1.31.tar.gz
-rw-r--r-- 1 root root 2525 06-19 13:49 mysql-5.1.31.tar.gz.torrent
-rw-r--r-- 1 root root 30842205 06-16 11:28 mysql-5.1.31.tar.gz
-rw-r--r-- 1 root root 2525 06-19 13:49 mysql-5.1.31.tar.gz.torrent
发布种子:
[root@localhost ~]# btdownloadheadless.py /root/mysql-5.1.31.tar.gz.torrent --save_as /root/mysql-5.1.31.tar.gz
再打开http://ip:6969/
BitTorrent download info
- tracker version: 3.9.1
- server time: 2009-06-19 06:26 UTC
1edf185c68c921a0ad84ae8dd68495a7fe49f328
2
0
1
0 files201/1- info hash: SHA1 hash of the "info" section of the metainfo (*.torrent)
- complete: number of connected clients with the complete file
- downloading: number of connected clients still downloading
- downloaded: reported complete downloads (total: current/all)
- transferred: torrent size * total downloaded (does not include partial transfers)
已经在下载了,和和
相关资料 http://zh.wikipedia.org/wiki/BitTorrent
http://linux.chinaunix.net/bbs/viewthread.php?tid=376709
- CentOS安装BT服务器
- 在linux下安装BT服务器
- 在linux下安装BT服务器
- centos安装ntp服务器
- CentOS服务器安装
- centos安装svn服务器
- centos安装svn服务器
- centos安装svn服务器
- Centos 安装SVN服务器
- centos安装DNS服务器
- centos 安装mail服务器
- centos安装ftp服务器
- centos安装git服务器
- CentOS服务器安装FTP
- CentOS Apache服务器安装
- CentOS 7.0 服务器安装
- CentOs svn服务器安装
- CentOS 安装Nginx服务器
- CloudMagic: 整合多平台数据 打造个人信息搜索引擎
- 计算机体系结构基础 -- 简单易懂
- 百钱买百鸡程序报告
- Hdu 1053 Entropy
- 第十一周任务百钱百鸡任务
- CentOS安装BT服务器
- Simulink通信仿真开发手册——通信工程仿真开发手册系列
- OGRE中合成器的应用
- 英语练习 114 Discovering Africa
- 深入Mysql字符集设置
- selenium技巧 - 通过js来控制滚动条,通过xpath定位最上层的div层
- windows主机上的文件夹与vmware虚拟机实现共享的设置方法
- 将二进制数据写入数据库
- 在asp.net中使用session常见问题集锦 .