Running Vuze on your B3

From BubbaWiki
Revision as of 10:46, 28 December 2010 by Asad (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Running Vuze on your B3
Author: Cheeseboy
Please note this might be CPU intensive.

I use several private bittorrent trackers that only allow uTorrent and Vuze as clients.This defeats the use of the FTD in bubba, and it always annoyed me as I was not able to use any of those clients on bubba2.
The steps below are based on what I have been doing on my Ubuntu box. Now I can do it b3!
These instructions assume that you have a Linux box (Ubuntu Lynx in my case), but I guess you could get it working on Windows with Exceed or CygWin...

Steps:
On your Linux box, edit your ~/.ssh/config and add:
ForwardX11=yes
ForwardX11Trusted=yes

On b3 as root:

apt-get install xutils xrsh xbase-clients

This I only did to confirm that X tunneling was working:

apt-get install xterm
xterm

If all is OK, you should be able to launch xterm and it should pop up on your screen... Install openjdk. I installed openjdk-6-jdk, but I'm sure it works with the jre as well.

apt-get install openjdk-6-jdk

Test that it is in your path and ready to use:

java -version

I also tested that the environment is properly set up by doing this (only relevant for the JDK, not the JRE);

javap java.util.Properties

Install vuze:

apt-get install vuze

Start it:

vuze

(first time I ran it, I got an error suggesting I should use the --sync switch. After I did this , it started without problems. Not sure why, or what it meant...)
Now you should have the Vuze GUI on your screen, running on the B3! Open the Tools menu -> Options and click on "Connection" in the treeview to the left.
Make a note of the port number, and add it in your "Advanced firewall settings" in the B3 admin web interface as "Open B3 port".
Open the Tools menu -> Plugins -> Installation wizard -> By list from sourceforge.net. Check the "Azureus HTML WebUI and hit "Next"
When finished, you should be able to access it: http://b3:6886/. Kill the GUI. If not installed already on your b3, install screen:

apt-get install screen

Start Vuze in command-line mode in a screen session (remove 'nice' if you do not think it is relevant):

screen -d -m -S Vuze nice java -cp /usr/share/java/commons-cli.jar:/usr/share/java/Azureus2.jar -jar /usr/share/java/Azureus2.jar --ui=console

Make sure you can still access the web interface, and you are there.
You can now download the .torrent files locally on your computer, and then use the web interface to add them to Vuze.
The webUI is limited, so you will have to start the full GUI to adjust your settings as desired, but once done, you should be able to leave it running headless on b3 and access it via the web interface.

Every so often the trackers I use will ban the version of Vuze I'm using, requiring an update. The WebUI will not let you know about this, so I tend to start the full GUI every week or so to make sure everything is up and running.