个人工具

UbuntuHelp:AzureusHowTo

来自Ubuntu中文

跳转至: 导航, 搜索


<<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. 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