linux系统BT服务器搭建
2015-02-02 14:35
375 查看
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服务器的文档目录路径]
相关文章推荐
- 在linux系统下搭建FTP服务器
- linux系统之NIS服务器的搭建
- linux下linux系统下修改文件夹目录权限-------及搭建FTP服务器
- LINUX移植——根文件系统制作(nfs服务器搭建)
- 基于ARM+LINUX的无线视频采集系统设计----------搭建嵌入式web服务器
- Linux系统下SVN服务器的搭建过程详解
- 搭建linux RIS服务器批量布署windows 2003系统 推荐
- LINUX下搭建BT服务器–XBT篇
- 搭建linux RIS服务器批量布署windows 2003系统
- Linux系统下SVN服务器的搭建过程详解
- 用Linux系统搭建DHCP服务器及DHCP中继代理
- linux系统下BT服务器的架设
- 在Debian Linux系统下搭建DHCP服务器
- linux系统服务器的搭建(小结)
- Linux系统下SVN服务器的搭建过程详解 ZT
- linux系统下apache+subversion搭建版本控制服务器
- Linux系统下搭建DHCP服务器
- 基于ARM+LINUX的无线视频采集系统设计----------搭建嵌入式web服务器
- 基于ARM+LINUX的无线视频采集系统设计----------搭建嵌入式web服务器