个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第2行: 第2行:
 
{{Languages|UbuntuHelp:AzureusHowTo}}
 
{{Languages|UbuntuHelp:AzureusHowTo}}
 
<<Include(Tag/Unsupported)>>
 
<<Include(Tag/Unsupported)>>
Azureus is a Java based [[UbuntuHelp:BitTorrent|BitTorrent]] client, with support for I2P and Tor anonymous communication protocols. It currently supports Windows, Mac OS X, Linux and Unix. Azureus was first released in June 2003 at Sourceforge.net, mostly to experiment with the Standard Widget Toolkit from Eclipse. It is one of the most popular [[UbuntuHelp:BitTorrent|BitTorrent]] clients.
+
Azureus is a Java based BitTorrent client, with support for I2P and Tor anonymous communication protocols. It currently supports Windows, Mac OS X, Linux and Unix. Azureus was first released in June 2003 at Sourceforge.net, mostly to experiment with the Standard Widget Toolkit from Eclipse. It is one of the most popular BitTorrent clients.
 
== Installation ==
 
== Installation ==
 
=== Ubuntu 7.04 (Feisty Fawn) ===
 
=== Ubuntu 7.04 (Feisty Fawn) ===
1. Add <code><nowiki>universe</nowiki></code> and <code><nowiki>multiverse</nowiki></code> repositores. See [[UbuntuHelp:AddingRepositoriesHowto|AddingRepositoriesHowto]] for more information.
+
1. Add <code><nowiki>universe</nowiki></code> and <code><nowiki>multiverse</nowiki></code> repositores. See AddingRepositoriesHowto for more information.
 
2. Install Azureus and Sun Java by installing the following packages:  
 
2. Install Azureus and Sun Java by installing the following packages:  
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install azureus
 
sudo apt-get install azureus
 
 
sudo apt-get install sun-java6-jre
 
sudo apt-get install sun-java6-jre
 
</nowiki></pre>
 
</nowiki></pre>
 
3. Configure alternatives to use Sun's java (sun-java6-jre in the list)
 
3. Configure alternatives to use Sun's java (sun-java6-jre in the list)
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo update-alternatives --config java
 
sudo update-alternatives --config java
 
</nowiki></pre>
 
</nowiki></pre>
 
4. If Azureus complains you're NAT blocked or if DHT is firewalled even though your router forwards the ports correctly. Configure iptables to add port forwarding  
 
4. If Azureus complains you're NAT blocked or if DHT is firewalled even though your router forwards the ports correctly. Configure iptables to add port forwarding  
 
 
* first is for tcp (NAT), second for udp
 
* first is for tcp (NAT), second for udp
 
* <EXT_INT> is external interface (e.g. 'eth0')
 
* <EXT_INT> is external interface (e.g. 'eth0')
 
* <PORT> is tcp port setup in azureus  
 
* <PORT> is tcp port setup in azureus  
 
<pre><nowiki>
 
<pre><nowiki>
  /sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT  
+
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT  
  /sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT
+
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT
 
</nowiki></pre>
 
</nowiki></pre>
if you need more info see [http://www.azureuswiki.com/index.php/Firewalling]
+
if you need more info see [[http://www.azureuswiki.com/index.php/Firewalling]]
5. If you want the latest version of Azureus Vuze, follow this FAQ starting at step 2. [http://ubuntuforums.org/showthread.php?t=144546&highlight=azureus]
+
5. If you want the latest version of Azureus Vuze, follow this FAQ starting at step 2. [[http://ubuntuforums.org/showthread.php?t=144546&highlight=azureus]]
 
+
 
=== Ubuntu 6.10 (edgy) ===
 
=== Ubuntu 6.10 (edgy) ===
 
There is a bug for Azureus in 6.10 (edgy). Do not install from the repositories.  
 
There is a bug for Azureus in 6.10 (edgy). Do not install from the repositories.  
 
Here is documentation for the bug: https://launchpad.net/ubuntu/+source/azureus/+bug/57875
 
Here is documentation for the bug: https://launchpad.net/ubuntu/+source/azureus/+bug/57875
1. Add the multiverse repositories. See [[UbuntuHelp:AddingRepositoriesHowto|AddingRepositoriesHowto]] for more information.
+
1. Add the multiverse repositories. See AddingRepositoriesHowto for more information.
 
2. Install Azureus and Sun Java by installing the following packages:  
 
2. Install Azureus and Sun Java by installing the following packages:  
 
 
* '''azureus'''  
 
* '''azureus'''  
 
* '''sun-java5-jre'''
 
* '''sun-java5-jre'''
 
3. Configure alternatives to use Sun's java  
 
3. Configure alternatives to use Sun's java  
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo update-alternatives --config java
 
sudo update-alternatives --config java
 
</nowiki></pre>
 
</nowiki></pre>
 
4. Then follow this FAQ starting at step 2. http://ubuntuforums.org/showthread.php?t=144546&highlight=azureus
 
4. Then follow this FAQ starting at step 2. http://ubuntuforums.org/showthread.php?t=144546&highlight=azureus
 
 
After that you should be done. If you have any problems do this last step:
 
After that you should be done. If you have any problems do this last step:
 
5. Configure iptables to add port forwarding
 
5. Configure iptables to add port forwarding
 
 
if your NAT blocked or if DHT is firewalled and your router does forward the ports
 
if your NAT blocked or if DHT is firewalled and your router does forward the ports
 
* first is for tcp (NAT), second for udp
 
* first is for tcp (NAT), second for udp
第53行: 第44行:
 
* <PORT> is tcp port setup in azureus  
 
* <PORT> is tcp port setup in azureus  
 
<pre><nowiki>
 
<pre><nowiki>
  /sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT  
+
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT  
  /sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT
+
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT
 
</nowiki></pre>
 
</nowiki></pre>
if you need more info see [http://www.azureuswiki.com/index.php/Firewalling]
+
if you need more info see [[http://www.azureuswiki.com/index.php/Firewalling]]
 
=== Ubuntu 6.06 (Dapper Drake) ===
 
=== Ubuntu 6.06 (Dapper Drake) ===
1. Add the multiverse repositories. See [[UbuntuHelp:AddingRepositoriesHowto|AddingRepositoriesHowto]] for more information.
+
1. Add the multiverse repositories. See AddingRepositoriesHowto for more information.
 
2. Install Azureus and Sun Java by installing the following packages:  
 
2. Install Azureus and Sun Java by installing the following packages:  
 
 
* '''azureus'''  
 
* '''azureus'''  
 
* '''sun-java5-jre'''
 
* '''sun-java5-jre'''
 
3. Configure alternatives to use Sun's java  
 
3. Configure alternatives to use Sun's java  
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo update-alternatives --config java
 
sudo update-alternatives --config java
 
</nowiki></pre>
 
</nowiki></pre>
 
4. Configure iptables to add port forwarding
 
4. Configure iptables to add port forwarding
 
 
if your NAT blocked or if DHT is firewalled and your router does forward the ports
 
if your NAT blocked or if DHT is firewalled and your router does forward the ports
 
* first is for tcp (NAT), second for udp
 
* first is for tcp (NAT), second for udp
第75行: 第63行:
 
* <PORT> is tcp port setup in azureus  
 
* <PORT> is tcp port setup in azureus  
 
<pre><nowiki>
 
<pre><nowiki>
  /sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT  
+
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT  
  /sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT
+
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT
 
</nowiki></pre>
 
</nowiki></pre>
if you need more info see [http://www.azureuswiki.com/index.php/Firewalling]
+
if you need more info see [[http://www.azureuswiki.com/index.php/Firewalling]]
 
=== Ubuntu 5.10 (Breezy Badger) ===
 
=== Ubuntu 5.10 (Breezy Badger) ===
1. Add <code><nowiki>universe</nowiki></code> and <code><nowiki>multiverse</nowiki></code> repositores. See [[UbuntuHelp:AddingRepositoriesHowto|AddingRepositoriesHowto]] for more information.
+
1. Add <code><nowiki>universe</nowiki></code> and <code><nowiki>multiverse</nowiki></code> repositores. See AddingRepositoriesHowto for more information.
 
2. Install Azureus' dependencies, the following packages:  
 
2. Install Azureus' dependencies, the following packages:  
 
 
* '''j2re1.4'''  
 
* '''j2re1.4'''  
 
* '''libcommons-cli-java'''  
 
* '''libcommons-cli-java'''  
第89行: 第76行:
 
* '''libswt-gtk-3.1-java'''
 
* '''libswt-gtk-3.1-java'''
 
3. Download and install Azureus:
 
3. Download and install Azureus:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
wget http://ftp.egr.msu.edu/debian/pool/contrib/a/azureus/azureus_2.4.0.2-1_all.deb
 
wget http://ftp.egr.msu.edu/debian/pool/contrib/a/azureus/azureus_2.4.0.2-1_all.deb
第98行: 第84行:
 
=== Pop-Ups can not be closed ===
 
=== Pop-Ups can not be closed ===
 
Due to a bug in Azureus included in Dapper notification Popups can not be closed. in order to solve this issue you need a newer version as Dapper included azureus version.  
 
Due to a bug in Azureus included in Dapper notification Popups can not be closed. in order to solve this issue you need a newer version as Dapper included azureus version.  
[http://azureus.sourceforge.net/index_CVS.php Here] you can get the latest beta version. Download the .jar file and replace it with the one in folder '''/usr/share/java'''.
+
[[http://azureus.sourceforge.net/index_CVS.php|Here]] you can get the latest beta version. Download the .jar file and replace it with the one in folder '''/usr/share/java'''.
 
There is a workaround, however. For some strange reason, if you open up the About page (with all the credits), the pop-up becomes closeable somehow.
 
There is a workaround, however. For some strange reason, if you open up the About page (with all the credits), the pop-up becomes closeable somehow.
 
=== Icon does not appear in notification area ===
 
=== Icon does not appear in notification area ===
第105行: 第91行:
 
To save your downloads to a FAT32 (Windows) partition mounted under Ubuntu, you must enable Tools -> Options -> Files -> "Enable incremental file creation." Otherwise, you will see "Operation not permitted, setLength fails (allocateFiles...)" errors during file allocation.
 
To save your downloads to a FAT32 (Windows) partition mounted under Ubuntu, you must enable Tools -> Options -> Files -> "Enable incremental file creation." Otherwise, you will see "Operation not permitted, setLength fails (allocateFiles...)" errors during file allocation.
 
== Links ==
 
== Links ==
* [http://azureus.sourceforge.net/ Azureus Project Homepage]
+
* [[http://azureus.sourceforge.net/|Azureus Project Homepage]]
* [http://www.azureuswiki.com/ Azureus Wiki]
+
* [[http://www.azureuswiki.com/|Azureus Wiki]]
* [http://www.linuxp2p.com/wiki/index.php?title=Azureus Azureus Beginners Guide]
+
* [[http://www.linuxp2p.com/wiki/index.php?title=Azureus|Azureus Beginners Guide]]
 
----
 
----
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 16:50的版本


<<Include(Tag/Unsupported)>> Azureus is a Java based BitTorrent client, with support for I2P and Tor anonymous communication protocols. It currently supports Windows, Mac OS X, Linux and Unix. Azureus was first released in June 2003 at Sourceforge.net, mostly to experiment with the Standard Widget Toolkit from Eclipse. It is one of the most popular BitTorrent clients.

Installation

Ubuntu 7.04 (Feisty Fawn)

1. Add universe and multiverse repositores. See AddingRepositoriesHowto for more information. 2. Install Azureus and Sun Java by installing the following packages:

sudo apt-get install azureus
sudo apt-get install sun-java6-jre

3. Configure alternatives to use Sun's java (sun-java6-jre in the list)

sudo update-alternatives --config java

4. If Azureus complains you're NAT blocked or if DHT is firewalled even though your router forwards the ports correctly. Configure iptables to add port forwarding

  • first is for tcp (NAT), second for udp
  • <EXT_INT> is external interface (e.g. 'eth0')
  • <PORT> is tcp port setup in azureus
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT 
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT

if you need more info see [[1]] 5. If you want the latest version of Azureus Vuze, follow this FAQ starting at step 2. [[2]]

Ubuntu 6.10 (edgy)

There is a bug for Azureus in 6.10 (edgy). Do not install from the repositories. Here is documentation for the bug: https://launchpad.net/ubuntu/+source/azureus/+bug/57875 1. Add the multiverse repositories. See AddingRepositoriesHowto for more information. 2. Install Azureus and Sun Java by installing the following packages:

  • azureus
  • sun-java5-jre

3. Configure alternatives to use Sun's java

sudo update-alternatives --config java

4. Then follow this FAQ starting at step 2. http://ubuntuforums.org/showthread.php?t=144546&highlight=azureus After that you should be done. If you have any problems do this last step: 5. Configure iptables to add port forwarding if your NAT blocked or if DHT is firewalled and your router does forward the ports

  • first is for tcp (NAT), second for udp
  • <EXT_INT> is external interface (e.g. 'eth0')
  • <PORT> is tcp port setup in azureus
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT 
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT

if you need more info see [[3]]

Ubuntu 6.06 (Dapper Drake)

1. Add the multiverse repositories. See AddingRepositoriesHowto for more information. 2. Install Azureus and Sun Java by installing the following packages:

  • azureus
  • sun-java5-jre

3. Configure alternatives to use Sun's java

sudo update-alternatives --config java

4. Configure iptables to add port forwarding if your NAT blocked or if DHT is firewalled and your router does forward the ports

  • first is for tcp (NAT), second for udp
  • <EXT_INT> is external interface (e.g. 'eth0')
  • <PORT> is tcp port setup in azureus
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT 
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m conntrack --ctstate NEW -j ACCEPT

if you need more info see [[4]]

Ubuntu 5.10 (Breezy Badger)

1. Add universe and multiverse repositores. See AddingRepositoriesHowto for more information. 2. Install Azureus' dependencies, the following packages:

  • j2re1.4
  • libcommons-cli-java
  • liblog4j1.2-java
  • libseda-java
  • libswt-gtk-3.1-java

3. Download and install Azureus:

wget http://ftp.egr.msu.edu/debian/pool/contrib/a/azureus/azureus_2.4.0.2-1_all.deb
sudo dpkg -i azureus_2.4.0.2-1_all.deb
rm azureus_2.4.0.2-1_all.deb

Troubleshooting

Pop-Ups can not be closed

Due to a bug in Azureus included in Dapper notification Popups can not be closed. in order to solve this issue you need a newer version as Dapper included azureus version. [[5]] you can get the latest beta version. Download the .jar file and replace it with the one in folder /usr/share/java. There is a workaround, however. For some strange reason, if you open up the About page (with all the credits), the pop-up becomes closeable somehow.

Icon does not appear in notification area

This is also fixed by using the latest Azureus version explained immediately above.

FAT32 partition under Linux

To save your downloads to a FAT32 (Windows) partition mounted under Ubuntu, you must enable Tools -> Options -> Files -> "Enable incremental file creation." Otherwise, you will see "Operation not permitted, setLength fails (allocateFiles...)" errors during file allocation.

Links