个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/AzureusHowTo}}
 
{{From|https://help.ubuntu.com/community/AzureusHowTo}}
 
{{Languages|UbuntuHelp:AzureusHowTo}}
 
{{Languages|UbuntuHelp:AzureusHowTo}}
 
 
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.
 
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 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 state --state NEW -j ACCEPT  
 
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m state --state NEW -j ACCEPT  
第34行: 第23行:
 
</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 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
+
* <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 state --state NEW -j ACCEPT  
 
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m state --state NEW -j ACCEPT  
第70行: 第47行:
 
</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 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
+
* <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 state --state NEW -j ACCEPT  
 
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p tcp --tcp-flags SYN,RST,ACK SYN --dport <PORT> -m state --state NEW -j ACCEPT  
第98行: 第66行:
 
</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 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'''  
第110行: 第74行:
 
* '''libseda-java'''  
 
* '''libseda-java'''  
 
* '''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
第119行: 第80行:
 
rm azureus_2.4.0.2-1_all.deb
 
rm azureus_2.4.0.2-1_all.deb
 
</nowiki></pre>
 
</nowiki></pre>
 
 
 
== Troubleshooting ==
 
== Troubleshooting ==
 
 
=== 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 ===
 
 
This is also fixed by using the latest Azureus version explained immediately above.
 
This is also fixed by using the latest Azureus version explained immediately above.
 
 
=== FAT32 partition under Linux ===
 
=== 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.
 
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]

2007年11月30日 (五) 16:11的版本


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 state --state NEW -j ACCEPT 
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m state --state 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 state --state NEW -j ACCEPT 
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m state --state 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 state --state NEW -j ACCEPT 
/sbin/iptables -I INPUT 1 -i <EXT_INT> -p udp --dport <PORT> -m state --state 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. 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.

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