PDA

View Full Version : How to setup azureus in FC6 using Sun's implementation of Java


d347hm4n
2007-01-16, 06:51 AM CST
The following is a simple how-to to get azureus working in FC6, i'm not a linux or Fedora expert, i have been using linux for little over a month, but the following worked for me, should be alright for everyone else.

Follow the correct link to the version of the program you want to you, i386 for a 32-bit processor and x86-64 for a 64-bit processor

For i386
Azureus_2.5.0.2_linux.tar.bz2
http://downloads.sourceforge.net/azureus/Azureus_2.5.0.2_linux.tar.bz2?modtime=1168743559&big_mirror=0

For x86_64
Azureus_2.5.0.2_linux-x86_64.tar.bz2
http://downloads.sourceforge.net/azureus/Azureus_2.5.0.2_linux-x86_64.tar.bz2?modtime=1168743606&big_mirror=0

When the download has completed, move it to the your home folder, then open up a terminal go the the location of the archive and type.



tar -vxf azureus_2.5.0.2_linux.tar.bz2



This will extract the archive into your home folder. A new folder called azureus will be created in you home directory.

Change into su mode


su



Then move the folder into your /opt/ directory



mv azureus /opt/

run azureus from /opt/ with

/.azureus


It will ask you to forward the ports that you have decided to use, for the purpose of this guide, we will be using port 6881 TCP and port 6881 UDP

http://www.portforward.com/

After following their comprehensive guide and your sure that you've correctly forwarded the ports in your router but your still mysteriouslly natted then read on.
All you have to do is tell the linux firewall that you want port 6881 TCP and UDP open. This is achieved through.


system-config-securitylevel

click add other ports and add TCP and UDP 6881


Next go to and download Sun's implementation of Java. Fedora Core provides an open source implementation of Java. However many users, myself included, prefer Sun Java for their purposes.

Linux Platform - Java(TM) SE Runtime Environment 6
https://sdlc3e.sun.com/ECom/EComActionServlet;jsessionid=D69895FA6B2C98F31BD45 71F38806D2E

Open a terminal. Type:

su



Hit enter. Type your root password. Hit enter.

Type:


mv *.bin /opt



Hit enter.
Type:

cd /opt



Hit enter.
Type:



chmod +x *-linux-i586.bin



Hit enter.
Type:


./*.bin



Hit enter. Hold the enter key down until the yes/no line appears to allow you to agree to the license agreement. Type "yes" and hit enter. Wait for the installation to complete.

Type:


rm *.bin



Hit enter. Type "y" and hit enter.


vim /opt/azureus/azureus




#!/bin/bash ######## CONFIGURATION OPTIONS ######## JAVA_PROGRAM_DIR="" # use full path to java bin dir, ex. "/usr/java/j2sdk1.4.2/bin/" #PROGRAM_DIR="/home/username/apps/azureus" # use full path to Azureus bin dir #######################################



Change the JAVA_PROGRAM_DIR="" to point to the java folder in the /opt/ directory

i.e. "/opt/jre1.6.0/bin/"

Type:

/usr/sbin/alternatives --config java



Change from the gcj implementation of java to the new sun java and it should all be fine and dandy.

Any comments on this how-to please feel free to post