linux系统BT服务器搭建
来源:互联网 发布:js获取button按钮的值 编辑:程序博客网 时间:2024/04/25 11:59
linux 系统BT服务器搭建
1.安装bittorrent
sudo apt-get install bittorrent
2.配置启动BT
bttrack --port 6969 --dfile dstate >/dev/null 2>&1 &
3.将提供下载的文件制作成种子
btmakemetafile [文件名/文件夹] http://www.mydomain.com:6969/announce
----www.mydomain.com是Linux服务器的域名(eg:http://172.29.10.114:6969/announce)
4.配置Web服务器
(1) 安装Apache(下载网址http://httpd.apache.org)
tar -zxvf httpd-2.2.29.tar.gz
./configure --prefix=/usr/local/apache --enable-so
make
sudo make install
(2) sudo apt-get install apache2
(3) Apache的配置文件httpd.conf(/url/local/apache/conf/httpd.conf),添加
AddType application/x-bittorrent .torrent
ServerName localhost:80
(4) 重启Web服务
sudo killall apache2
sudo killall httpd
sudo /usr/local/apache/bin/apachectl start
5.将制作的种子与原文件放在Web服务器的文档目录中以供用户下载
服务器文档目录/usr/local/apache/htodocs
6.启动一个Downloader(最原始的共享源),使以后的用户可以获得最初的拷贝
(1) btdownloadheadless.py --url http://www.mydomain.com/dahuaxiyou.avi.torrent --saveas dahuaxiyou.avi
(2) btlaunchmany [Web服务器的文档目录路径]
1.安装bittorrent
sudo apt-get install bittorrent
2.配置启动BT
bttrack --port 6969 --dfile dstate >/dev/null 2>&1 &
3.将提供下载的文件制作成种子
btmakemetafile [文件名/文件夹] http://www.mydomain.com:6969/announce
----www.mydomain.com是Linux服务器的域名(eg:http://172.29.10.114:6969/announce)
4.配置Web服务器
(1) 安装Apache(下载网址http://httpd.apache.org)
tar -zxvf httpd-2.2.29.tar.gz
./configure --prefix=/usr/local/apache --enable-so
make
sudo make install
(2) sudo apt-get install apache2
(3) Apache的配置文件httpd.conf(/url/local/apache/conf/httpd.conf),添加
AddType application/x-bittorrent .torrent
ServerName localhost:80
(4) 重启Web服务
sudo killall apache2
sudo killall httpd
sudo /usr/local/apache/bin/apachectl start
5.将制作的种子与原文件放在Web服务器的文档目录中以供用户下载
服务器文档目录/usr/local/apache/htodocs
6.启动一个Downloader(最原始的共享源),使以后的用户可以获得最初的拷贝
(1) btdownloadheadless.py --url http://www.mydomain.com/dahuaxiyou.avi.torrent --saveas dahuaxiyou.avi
(2) btlaunchmany [Web服务器的文档目录路径]
0 0
- linux系统BT服务器搭建
- Linux下搭建BT服务器
- Linux下搭建BT服务器
- linux 下 BT Tracker服务器搭建
- LINUX下搭建BT服务器–XBT篇
- 搭建内网BT服务器
- linux系统下搭建服务器
- Linux系统,git服务器搭建
- Linux系统搭建Red5服务器
- linux系统svn服务器搭建
- Linux系统搭建git服务器
- Linux 系统搭建 Web 服务器
- windows下的BT服务器搭建方案
- windows下的BT服务器搭建方案
- Linux系统怎么搭建Linux日志服务器
- Linux系统下搭建DHCP服务器
- 在linux系统中搭建FTP服务器
- linux系统上搭建RTSP流媒体服务器
- 写给大家看的量子力学——量子通信、量子隐形传输技术简介
- GlobalActions添加重启功能
- 探索笔记2-Java虚拟机的GC
- 两种多选框全选反选写法
- Android学习笔记之AndroidManifest.xml文件解析
- linux系统BT服务器搭建
- iOS真机调试报错(0xE8008016)相关错误
- 转:用MapReduce进行数据密集型文本处理 – 本地聚合(下)
- iOS开发只能选择iOSDevice无法选择模拟器解决办法
- label赋值属性字符串
- Linux新手必须学会的12个命令
- Displaying Bitmaps Efficiently
- 使用synchronized获取互斥锁的几点说明
- cocos2d-x 中不同layer下的node的坐标转换