“UbuntuHelp:AzureusHowTo”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
(未显示同一用户的15个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/AzureusHowTo}} | {{From|https://help.ubuntu.com/community/AzureusHowTo}} | ||
{{Languages|UbuntuHelp:AzureusHowTo}} | {{Languages|UbuntuHelp:AzureusHowTo}} | ||
− | + | <<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. | + | 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. |
− | + | ||
== 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: | ||
第17行: | 第13行: | ||
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) | ||
第23行: | 第18行: | ||
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 | |
− | + | * <EXT_INT> is external interface (e.g. 'eth0') | |
− | + | * <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 | + | /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 | + | /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 | ||
第54行: | 第43行: | ||
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 | ||
− | |||
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 | |
− | + | * <EXT_INT> is external interface (e.g. 'eth0') | |
− | + | * <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 | + | /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 | + | /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 | ||
第86行: | 第68行: | ||
sudo update-alternatives --config java | sudo update-alternatives --config java | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | 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 | |
− | + | * <EXT_INT> is external interface (e.g. 'eth0') | |
− | + | * <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 | + | /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 | + | /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: | ||
第110行: | 第88行: | ||
* '''libseda-java''' | * '''libseda-java''' | ||
* '''libswt-gtk-3.1-java''' | * '''libswt-gtk-3.1-java''' | ||
− | |||
− | |||
3. Download and install Azureus: | 3. Download and install Azureus: | ||
第119行: | 第95行: | ||
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] | ||
* [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日 (三) 21:39的最新版本
<<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.