Download and install Python
Download and install BitTorrent
Start the BitTorrent tracker service, which is used to track and distribute all downloads.
Bttrack -- port 6969 -- dfile/tmp/BT. Log>/dev/null 2> & 1 &
You can enter http: // ip: 6969/in IE to view the service information, as shown in figure
Http: // 192.168.73.60: 6969/
Create a BT seed file
Btmakemetafile file trackerurl, for example:
Btmakemetafile./print. So http: // 192.168.73.60: 6969/announce
You can also create a directory
Btmakemetafile dir trackerurl
Http: // ip: 6969/announce "is the IP address and port of the tracker server you just created.
Generate the first seed)
Btdownloadheadless -- max_allow_in 20 -- max_upload_rate 500 -- minport 6888 -- maxport 6888/opt/BT/print. So. torrent -- saveas/opt/BT/print. So
-- Max_allow 20 indicates that this seed can accept a maximum of 20 connections.
-- Max_upload_rate 500 indicates the maximum acceptable download bandwidth of this seed, which is 500 KB (byte)/S. This allows you to control the download bandwidth.
-- Minport 6888 -- maxport 6888: the maximum and minimum listening ports. In this way, the seed only listens to port 6888, which facilitates port opening on the firewall.
-- Saveas actual File Location
Reference
Http://blog.csdn.net/tobeabetterman_he/archive/2006/12/08/1434444.aspx