P2PHowTo

来自Ubuntu中文
Oneleaf留言 | 贡献2007年5月30日 (三) 18:19的版本 (新页面: This page describes how to install different peer-to-peer software. Everything displayed in grey boxes is to be executed in a terminal. Check the TerminalHowto if you don't know how to op...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航跳到搜索

This page describes how to install different peer-to-peer software. Everything displayed in grey boxes is to be executed in a terminal. Check the TerminalHowto if you don't know how to open one.

这篇文章旨在介绍如何安装不同的P2P软件。灰色方框里的内容将要在终端里执行。如果你还不知道如何打开终端,请查阅 TerminalHowto

<!> Work in progress


按照步骤进行

Introduction and background information|介绍和背景资料

What is Peer-to-Peer file sharing?|什么是P2P(点对点)文件共享?

Peer-to-peer (commonly abbreviated as P2P) file sharing is the sharing of files on one person's computer with other peoples' computers, without the need for a server.

点对点(通常简写成P2P)文件共享是:不需要服务器,一个人的计算机与他人的计算机之间的文件共享。

FIXME: how P2P works, its advantages and disadvantages

P2P软件如何工作,它的优点与缺点

Legal issues|法律争议

Depending on the country you live in, it may be illegal to download some files using P2P. As a general rule of thumb, it is illegal to download commercially-released music and movies from P2P. You should make sure that you can legally download the files you'd like to before you do so.

取决于你的所在国,也许使用P2P软件下载东西是非法的。作为惯例,通过P2P下载商业音乐和电影是非法的。在下载以前,你应该确信你能合法的下载你所需要的东西。

File-sharing software|文件共享软件

There are many file-sharing services available, and each requires a compatible 'client' application to send and receive files using it. Below are some of the most common P2P applications which can be installed on Ubuntu.

有许多可以使用的共享软件,每种都需要相应的客户端来接收和发送文件。一下是在Ubuntu中最常用的集中P2P软件

eDonkey2000

eDonkey 2000 has a nice filter system that can be found in the menu in Options, Filter.
Just enter stuff you want never to be displayed in your search results:

eDonkey 2000有着完善的过滤系统,你可以在设置-过滤 选项中找到。输入你不想在搜索结果中显示的内容

Example:

例如:

Windows XP
.exe

Of course you can add whatever you do not want to clutter your search results.

当然你也可以增加过滤任何会影响搜索结果的内容。

  • Download:
  • 下载:

Download the newest version of eDonkey2000 from http://download.overnet.com/eDonkeyLinux1.4.3.tar.gz

http://download.overnet.com/eDonkeyLinux1.4.3.tar.gz 下载最新的eDonkey 2000 版本

  • Extract it:
  • 解压缩

Unpack it into your home folder by rightclicking it, then Extract Here.

右击下载好的文件,然后 ”解压缩到这里“ ,将文件解压缩到 home 文件夹

  • Apply fix:
    • 安装

Follow this hint before you start it the first time: http://forum.edonkey.com/viewtopic.php?t=85340

在第一次启动前,请参阅 http://forum.edonkey.com/viewtopic.php?t=85340 的说明

  • Starting:
    • 启动

Start it in a terminal in the eDonkey2000 folder using

从 eDonkey2000 文件夹中启动终端,使用命令

sh runDonkey.sh

BitTorrent

BitTorrent is an open-source protocol and there is already a client for it installed in Ubuntu 5.04 (Hoary Hedgehog), Ubuntu 5.10 (Breezy Badger) and Ubuntu 6.06 LTS (Dapper Drake). For more information, see BitTorrent.

  • BitTorrent 是一种开源协议,已经有一个支持它的客户端被安装到Ubuntu 5.04 (Hoary Hedgehog), Ubuntu 5.10 (Breezy Badger) 和 Ubuntu 6.06 LTS (Dapper Drake)中。想查阅更多信息,请参阅 BitTorrent.

LimeWire - gnutella network client|LimeWire - gnutella网络客户端

First, you need Java. If you don't have Java installed, check the RestrictedFormats page.

首先,你需要Java环境。如果你没有安装Java ,请参看 RestrictedFormats

  • Get the package:
    • 获取安装包
wget -c http://easylinux.info/uploads/LimeWireOther.zip
  • Extract the package:

解压缩安装包

sudo unzip -u LimeWireOther.zip -d /opt/
  • Create a launcher in the /usr/bin directory:
    • 在 /usr/bin directory 下创建一个启动器
sudo gedit /usr/bin/runLime.sh
  • Paste the following lines in the new document:

粘贴以下语句到新文档:

cd /opt/LimeWire/
./runLime.sh

and save the file.

并保存文件。

  • Make the launcher executable:

使启动器可执行:

sudo chmod +x /usr/bin/runLime.sh

Type runLime.sh to execute.

键入runLime.sh执行。

gtk-gnutella

You can find gtk-gnutella in the Universe repository; however, the latest version includes the most up-to-date list of Gnutella servers and is thus guaranteed to connect properly. To install gtk-gnutella, visit its project page and click on "Download", which will lead you to the download link on Sourceforge. Click "Download" next to the latest (or only) release, then choose the .deb file starting with "GTK2_gtk-gnutella".

When you have the .deb downloaded, open a terminal and type:

您可以在Universe库中找到 gtk-gnutella ; 然而,最新版本包含有最新的 Gnutella 服务器列表并可以确保正确连接。要安装 gtk-gnutella,访问它的 project page(项目页) 点击 "Download", 会转向Sourceforge下载链接。 点击 "Download" next to the latest (or only) release, 然后选择"GTK2_gtk-gnutella"开头的.deb文件。

  • 在您下载.deb 以后,打开一个终端输入:
cd /path/to/download/folder/
sudo dpkg -i GTK2_gtk-gnutella*.deb

DC++ - Direct Connect

First, you need to install the dependencies:

首先,您需要安装一些依赖包:

sudo apt-get install libatk1.0-0 libbz2-1.0 libc6 libgcc1 libglade2-0 libglib2.0-0 libgtk2.0-0 libpango1.0-0 libstdc++6 libxml2 zlib1g

Download the package:

下载软件包:

wget http://newstuff.orcon.net.nz/ubuntu/dcpp/dcpp_0.0.20050809cvs-1~mird_i386.deb

Note: this is a temporary URL. If you get a "404 file not found" or some other error, check the howto thread (below) for updated information.

Install the package:

注意:这是个临时的URL。如果您遇到'"404 file not found"或者其它错误,请检查 'howto 链接下面)查找更新信息。

sudo dpkg -i dcpp_0.0.*_i386.deb

The DC++ icon will show up in the Applications -> Internet menu.

Problems? Check out this thread on the Ubuntu forums: http://ubuntuforums.org/showthread.php?t=42084

DC++ 图标会出现在应用程序 -> Internet 菜单。

有问题吗?请查看Ubuntu 论坛上的这个链接: http://ubuntuforums.org/showthread.php?t=42084

Amule - eMule client

First, add extra repositories. If you don't know how, go to AddingRepositoriesHowto.

Install the client:

首先,添加额外依赖包。如果您不知道怎么办,请访问 AddingRepositoriesHowto.

安装客户端:

sudo apt-get install amule

The Amule icon will show up in the Applications --> Internet menu.

Amule图标将会出现在应用程序 --> Internet菜单。