个人工具

“UbuntuHelp:P2PHowTo”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(New page: {{From|https://help.ubuntu.com/community/P2PHowTo}} {{Languages|php5}} Parent: Internet and Networking This page describes how to install different p...)
 
 
(未显示2个用户的12个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/P2PHowTo}}
 
{{From|https://help.ubuntu.com/community/P2PHowTo}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp:P2PHowTo}}
 +
<<Include(Tag/Duplicate)>>
 +
<<Include(Tag/Unsupported)>>
 
Parent: [[UbuntuHelp:InternetAndNetworking| Internet and Networking]]
 
Parent: [[UbuntuHelp:InternetAndNetworking| Internet and Networking]]
 
 
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.
 
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.
 
 
<!> Work in progress
 
<!> Work in progress
 
+
== Introduction ==
 
+
 
+
== Introduction and background information ==
+
 
+
 
=== What is Peer-to-Peer file sharing? ===
 
=== What is Peer-to-Peer file sharing? ===
 
 
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.
 
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 networks are an excellent way to transfer data around, since the creator a) doesn't have to be online all of the time and b) doesn't need expensive dedicated servers. For instance, many GNU/Linux distributions are created by small teams, or even individuals, who would never be able to offer 600MB+ CD images to each user from a website server, however thanks to P2P technology like Bittorrent everyone who downloads a CD image can then contribute their resources back to help manage the load of other people's downloads.
 
P2P networks are an excellent way to transfer data around, since the creator a) doesn't have to be online all of the time and b) doesn't need expensive dedicated servers. For instance, many GNU/Linux distributions are created by small teams, or even individuals, who would never be able to offer 600MB+ CD images to each user from a website server, however thanks to P2P technology like Bittorrent everyone who downloads a CD image can then contribute their resources back to help manage the load of other people's downloads.
 
+
P2P networks are usually simple to join and do not require fixed information like a website address. This has caused many users to offer content for which they do not have redistribution rights, and media corporations have targetted users and the networks themselves. Many "advances" in newer P2P networks involve a) more deniability for the network and software makers and b) more flexibility in the network structure, principally the removal of servers (for instance the Napster network was easily shut down for piracy since it ran from a centralised set of servers, with file data being the only P2P part of the system, then later edonkey2000 used a flexible server model, allowing anyone to create their own server and remove this centralisation, and networks such as Gnutella do not use servers at all, instead using reliable users to pass data such as searches around). Contrary to internet myths, using Bittorrent is no more anonymous/secure than any other form of filesharing. Bittorrent tends to be faster at transferring large files than most forms of filesharing, but is mainly only designed for sharing one or few files simultaneously.
P2P networks are usually simple to join and do not require fixed information like a website address. This has caused many users to offer content for which they do not have redistribution rights, and media corporations have targetted users and the networks themselves. Many "advances" in newer P2P networks involve a) more deniability for the network and software makers and b) more flexibility in the network structure, principaly the removal of servers (for instance the Napster network was easily shut down for piracy since it ran from a centralised set of servers, with file data being the only P2P part of the system, then later edonkey2000 used a flexible server model, allowing anyone to create their own server and remove this centralisation, and networks such as Gnutella do not use servers at all, instead using reliable users to pass data such as searches around). Networks offering anonymity have become more popular since users illegaly sharing files have become targets for the copyright holders of those files, however the speed of a network reduces drastically as it's anonymity increases, so Bittorrent is a much more sensible choice for sharing freely redistributable files than, say, Freenet.
+
 
+
FIXME: improve this explanation?
+
 
+
 
=== Legal issues ===
 
=== 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.
 
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.
 
 
== File-sharing software ==
 
== 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.
 
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.
 
=== eDonkey2000 ===
 
 
eDonkey 2000 has a nice filter system that can be found in the menu in '''Options, Filter'''.<br>
 
Just enter stuff you want never to be displayed in your search results:
 
 
Example:
 
<pre><nowiki>
 
Windows XP
 
.exe
 
</nowiki></code>
 
 
Of course you can add whatever you do not want to clutter your search results.
 
 
1. Download:
 
Download the newest version of eDonkey2000 from http://download.overnet.com/eDonkeyLinux1.4.3.tar.gz
 
 
1.#2 Extract it:
 
Unpack it into your home folder by rightclicking it, then '''Extract Here'''.
 
 
1.#3 Apply fix:
 
Follow this hint '''before''' you start it the first time:
 
http://forum.edonkey.com/viewtopic.php?t=85340
 
 
1.#4 Starting:
 
Start it in a terminal in the eDonkey2000 folder using
 
 
<pre><nowiki>
 
sh runDonkey.sh
 
</nowiki></code>
 
 
 
=== BitTorrent ===
 
=== BitTorrent ===
 
+
[[UbuntuHelp: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 [[UbuntuHelp:BitTorrent|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.
+
=== FrostWire ===
 
+
A free version of Limewire Pro: [[UbuntuHelp:FrostWire|FrostWire]]
 
=== LimeWire - gnutella network client ===
 
=== LimeWire - gnutella network client ===
 +
First, you need Java. If you don't have Java installed, check the [[UbuntuHelp:RestrictedFormats|RestrictedFormats]] page.
 +
<ol><li>Get the package:</li></ol>
  
First, you need Java. If you don't have Java installed, check the RestrictedFormats page.
 
 
1. Get the package:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
wget -c http://easylinux.info/uploads/LimeWireOther.zip
 
wget -c http://easylinux.info/uploads/LimeWireOther.zip
</nowiki></code>
+
</nowiki></pre>
1.#2 Extract the package:
+
1.#2 Extract the package:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo unzip -u LimeWireOther.zip -d /opt/
 
sudo unzip -u LimeWireOther.zip -d /opt/
</nowiki></code>
+
</nowiki></pre>
1.#3 Create a launcher in the /usr/bin directory:
+
1.#3 Create a launcher in the /usr/bin directory:
 
<pre><nowiki>
 
<pre><nowiki>
 
gksudo gedit /usr/bin/runLime.sh
 
gksudo gedit /usr/bin/runLime.sh
</nowiki></code>
+
</nowiki></pre>
1.#4 Paste the following lines in the new document:
+
1.#4 Paste the following lines in the new document:
 
<pre><nowiki>
 
<pre><nowiki>
 
cd /opt/LimeWire/
 
cd /opt/LimeWire/
 
./runLime.sh
 
./runLime.sh
</nowiki></code>
+
</nowiki></pre>
 
and save the file.
 
and save the file.
 
+
1.#5 Make the launcher executable:
1.#5 Make the launcher executable:
+
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo chmod +x /usr/bin/runLime.sh
 
sudo chmod +x /usr/bin/runLime.sh
</nowiki></code>
+
</nowiki></pre>
 
+
 
Type `runLime.sh` to execute.
 
Type `runLime.sh` to execute.
 
 
=== gtk-gnutella ===
 
=== 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 [http://gtk-gnutella.sourceforge.net 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".
 
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 [http://gtk-gnutella.sourceforge.net 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:
 
When you have the .deb downloaded, open a terminal and type:
 
<pre><nowiki>
 
<pre><nowiki>
 
cd /path/to/download/folder/
 
cd /path/to/download/folder/
 
sudo dpkg -i GTK2_gtk-gnutella*.deb
 
sudo dpkg -i GTK2_gtk-gnutella*.deb
</nowiki></code>
+
</nowiki></pre>
 
+
 
=== DC++ - Direct Connect ===
 
=== DC++ - Direct Connect ===
 
 
First, you need to install the dependencies:
 
First, you need to install the dependencies:
 
<pre><nowiki>
 
<pre><nowiki>
 
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
 
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
</nowiki></code>
+
</nowiki></pre>
 
+
 
Download the package:
 
Download the package:
 
<pre><nowiki>
 
<pre><nowiki>
 
wget http://newstuff.orcon.net.nz/ubuntu/dcpp/dcpp_0.0.20050809cvs-1~mird_i386.deb
 
wget http://newstuff.orcon.net.nz/ubuntu/dcpp/dcpp_0.0.20050809cvs-1~mird_i386.deb
</nowiki></code>
+
</nowiki></pre>
 
+
 
''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.''
 
''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:
 
Install the package:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo dpkg -i dcpp_0.0.*_i386.deb
 
sudo dpkg -i dcpp_0.0.*_i386.deb
</nowiki></code>
+
</nowiki></pre>
 
+
 
The DC++ icon will show up in the Applications -> Internet menu.
 
The DC++ icon will show up in the Applications -> Internet menu.
 
 
Problems? Check out this thread on the Ubuntu forums:
 
Problems? Check out this thread on the Ubuntu forums:
 
http://ubuntuforums.org/showthread.php?t=42084
 
http://ubuntuforums.org/showthread.php?t=42084
 
 
=== Amule - eMule client ===
 
=== Amule - eMule client ===
 
+
First, add extra repositories. If you don't know how, go to [[UbuntuHelp:AddingRepositoriesHowto|AddingRepositoriesHowto]].
First, add extra repositories. If you don't know how, go to AddingRepositoriesHowto.
+
 
+
 
Install the client:  
 
Install the client:  
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install amule
 
sudo apt-get install amule
</nowiki></code>
+
</nowiki></pre>
 
+
 
The Amule icon will show up in the Applications --> Internet menu.
 
The Amule icon will show up in the Applications --> Internet menu.
 
 
Amule uses the same temporary file system as Emule, so if you are switching from Windows and have partial downloads in Emule then you can simply copy those into Amule's temporary folder.
 
Amule uses the same temporary file system as Emule, so if you are switching from Windows and have partial downloads in Emule then you can simply copy those into Amule's temporary folder.
 
 
=== MLDonkey - Daemon for multiple networks ===
 
=== MLDonkey - Daemon for multiple networks ===
 
+
[[UbuntuHelp:MLDonkey|MLDonkey]] can connect to several networks at once such as Bittorrent, Edonkey2000, Gnutella, etc. It's other major difference from most P2P applications is that it runs as a daemon, which means it is a non-graphical service which can run, for instance, at boot-up and diligently download and share files without you noticing. This daemon can be controlled through many interfaces, ranging from text-based telnet, web browsers and fully features GUIs. It can also be accessed remotely as long as the remote computer's IP address is on a list of "allowed IPs". It uses it's own temporary file scheme, but can import folders of temporary files created by Emule or Amule, so you can carry on from where you left off with those other applications.
MLDonkey can connect to several networks at once such as Bittorrent, Edonkey2000, Gnutella, etc. It's other major difference from most P2P applications is that it runs as a daemon, which means it is a non-graphical service which can run, for instance, at bootup and diligently download and share files without you noticing. This daemon can be controlled through many interfaces, ranging from text-based telnet, web browsers and fully features GUIs. It can also be accessed remotely as long as the remote computer's IP address is on a list of "allowed IPs". It uses it's own temporary file scheme, but can import folders of temporary files created by Emule or Amule, so you can carry on from where you left off with those other applications.
+
There is a help page dedicated to [[UbuntuHelp:MLDonkey|MLDonkey]].
 
+
=== Tonido - Peer-to-Peer Personal web application platform ===
There is a help page dedicated to [[UbuntuHelp:MLDonkey]].
+
Tonido offers the following private web applications for people who are concerned about storing their personal information in public online services.
 
+
* Workspace - Peer- to-peer team collaboration app and personal information manager
 +
* Webshare - Easy file sharing. From desktop to web.
 +
* Photos - Peer-to-peer photo sharing. No uploads or downloads.
 +
* Jukebox - Listen to your music collection from anywhere.
 +
* Thots - Private blog, Journal , booklet and weblet using firefox plug in.
 +
[http://www.tonido.com Tonido].
 
----
 
----
 
+
[[category:CategorySoftware]]
CategoryDocumentation CategoryCleanup
+
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 20:18的最新版本

<<Include(Tag/Duplicate)>> <<Include(Tag/Unsupported)>> Parent: Internet and Networking 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. <!> Work in progress

Introduction

What is Peer-to-Peer file sharing?

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 networks are an excellent way to transfer data around, since the creator a) doesn't have to be online all of the time and b) doesn't need expensive dedicated servers. For instance, many GNU/Linux distributions are created by small teams, or even individuals, who would never be able to offer 600MB+ CD images to each user from a website server, however thanks to P2P technology like Bittorrent everyone who downloads a CD image can then contribute their resources back to help manage the load of other people's downloads. P2P networks are usually simple to join and do not require fixed information like a website address. This has caused many users to offer content for which they do not have redistribution rights, and media corporations have targetted users and the networks themselves. Many "advances" in newer P2P networks involve a) more deniability for the network and software makers and b) more flexibility in the network structure, principally the removal of servers (for instance the Napster network was easily shut down for piracy since it ran from a centralised set of servers, with file data being the only P2P part of the system, then later edonkey2000 used a flexible server model, allowing anyone to create their own server and remove this centralisation, and networks such as Gnutella do not use servers at all, instead using reliable users to pass data such as searches around). Contrary to internet myths, using Bittorrent is no more anonymous/secure than any other form of filesharing. Bittorrent tends to be faster at transferring large files than most forms of filesharing, but is mainly only designed for sharing one or few files simultaneously.

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.

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.

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.

FrostWire

A free version of Limewire Pro: FrostWire

LimeWire - gnutella network client

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

  1. Get the package:
wget -c http://easylinux.info/uploads/LimeWireOther.zip

1.#2 Extract the package:

sudo unzip -u LimeWireOther.zip -d /opt/

1.#3 Create a launcher in the /usr/bin directory:

gksudo gedit /usr/bin/runLime.sh

1.#4 Paste the following lines in the new document:

cd /opt/LimeWire/
./runLime.sh

and save the file. 1.#5 Make the launcher executable:

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

Type `runLime.sh` to execute.

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:

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:

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

Amule - eMule client

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

sudo apt-get install amule

The Amule icon will show up in the Applications --> Internet menu. Amule uses the same temporary file system as Emule, so if you are switching from Windows and have partial downloads in Emule then you can simply copy those into Amule's temporary folder.

MLDonkey - Daemon for multiple networks

MLDonkey can connect to several networks at once such as Bittorrent, Edonkey2000, Gnutella, etc. It's other major difference from most P2P applications is that it runs as a daemon, which means it is a non-graphical service which can run, for instance, at boot-up and diligently download and share files without you noticing. This daemon can be controlled through many interfaces, ranging from text-based telnet, web browsers and fully features GUIs. It can also be accessed remotely as long as the remote computer's IP address is on a list of "allowed IPs". It uses it's own temporary file scheme, but can import folders of temporary files created by Emule or Amule, so you can carry on from where you left off with those other applications. There is a help page dedicated to MLDonkey.

Tonido - Peer-to-Peer Personal web application platform

Tonido offers the following private web applications for people who are concerned about storing their personal information in public online services.

  • Workspace - Peer- to-peer team collaboration app and personal information manager
  • Webshare - Easy file sharing. From desktop to web.
  • Photos - Peer-to-peer photo sharing. No uploads or downloads.
  • Jukebox - Listen to your music collection from anywhere.
  • Thots - Private blog, Journal , booklet and weblet using firefox plug in.

Tonido.