Home
|
Content
|
検索
|
Navigation
|
ツールボックス
|
Actions
|
他の言語
openSUSE
Get Software
Wiki
Build Software
User Directory
Features
News
Forums
Shop
Discover it
プロジェクト概要
参加のしかた
ドキュメント
交流
サポートデータベース
連絡先
サイトマップ
ツールボックス
リンク元
関連ページの更新状況
最近更新したページ
特別ページ
ログインまたはアカウント作成
本文
ノート
ソースを表示
履歴
ソースを表示
出典: openSUSE
BitTorrent
のソース
以下に示された理由により、ページの編集を行うことができません:
この操作は、
登録利用者
のグループに属する利用者のみが実行できます。
このページのソースを閲覧し、コピーすることができます:
==Howto share any iso-image over BitTorrent using the package BitTorrent== SUSE Linux 10 is such a great success that mirrors are unable to follow the needs. So using BitTorrent is more and more important. However, it remains slow. So we need to have as many peers as we can, any new peer adding speed to all the others. So, please, when downloading is finished, don't stop BitTorrent to let the others share. I tried and succes in adding a bit more. I download the files by ftp and I share them with BitTorrent afterward; This prove to be a bit tricky. First, I could not achieve this with ktorrent. If anybody knows, feel free to uptdate this article. So I installed the simple BitTorrent client (BitTorrent in Yast - beta3 here). The executables don't share the BitTorrent name, but "bt..." <pre> jdd@peter-suse:~> bt (press TAB twice) btdownloadcurses btlaunchmanycurses btrename btdownloadgui btmaketorrent btshowmetainfo btdownloadheadless btmaketorrentgui bttrack btlaunchmany btreannounce </pre> Then prepare a folder to receive the data. It's wise to have two copies of the iso's, so <pre> jdd@peter-suse:/data2> ls -R .: iso SUSE-10.0-CD-OSS-i386-RC1-CD4.iso SUSE-10.0-CD-OSS-i386-RC1-CD1.iso SUSE-10.0-CD-OSS-i386-RC1-CD5.iso SUSE-10.0-CD-OSS-i386-RC1-CD2.iso SUSE-10.0-CD-OSS-i386-RC1.torrent SUSE-10.0-CD-OSS-i386-RC1-CD3.iso ./iso: MD5SUMS SUSE-10.0-CD-OSS-i386-RC1-CD4.iso SUSE-10.0-CD-OSS-i386-RC1-CD1.iso SUSE-10.0-CD-OSS-i386-RC1-CD5.iso SUSE-10.0-CD-OSS-i386-RC1-CD2.iso SUSE-10.0-CD-OSS-i386-RC1.torrent SUSE-10.0-CD-OSS-i386-RC1-CD3.iso jdd@peter-suse:/data2> du -sh 6,2G . . </pre> The first set of iso's (the one in /data2) is for backup purpose, BitTorrent use to delete the files if you stop the work at least ktorrent do so)... Then I used the btdownloadgui flavor. Configure it to use /data2. When downloading begin, BitTorrent creat a new folder (here "iso", named in the .torrent file), and start working in this folder. If BitTorrent found already the files in this folder, it just verify the checksum and if good start uploading. As you see, the maximun upload rate is easily adjustable. [[Image:Bitorrent_gui.jpg| The result]] === Running BitTorrent Seeder on a Mirror Server === If you use to have a full copy of the openSUSE tree then you can seed all torrents automatically to the net by running the following command (from the BitTorrent package): btlaunchmany --display_interval 60 --max_upload_rate 1000 --saveas_style 2 --torrent_dir /pub/opensuse/ Just replace the <tt>1000</tt> with the number of KB/s you want to serve by BitTorrent and <tt>/pub/opensuse/</tt> by the path to the openSUSE tree. You may savely ignore the warnings you see when the tool starts. This is only because BitTorrent is confused by the <tt>SL-OSS-current</tt> symlink but does not influence correct operation of the BitTorrent seeder. You should stop the tool when you start a mirror sync because the tool would interfere with the sync otherwise. Just restart the tool after the sync again and it will resume seeding.
このページで使われているテンプレート:
Template:NotTranslated
(
ソースを表示
)
BitTorrent
に戻る。