This howto is based on a howto by Artificial Intelligence. That old howto is no longer updated or maintained and is long out of date for Vuze. That said it was very helpful back in the day and this howto could not exist with out it. The improvements I have made are for the name change and better security.
The original howto is Here. And Artificial Intelligence user profile is Here.
You need Java installed. Any of the Java flavors will work. I myself use Sun-Java6.
Tested on Ubuntu 8.10 and Debian Lenny.
Ready!
Step 1
Create a dedicated user account for Vuze. The reason is that Vuze is for all intents and purposes a server. This is even more true in the case of users who activate the built in tracker and web server.
Code:
sudo adduser --home /opt/vuze --shell /bin/false --no-create-home --disabled-login vuze
At this point adduser will ask you for some info BUT and a big BUT simply hit the enter button without filling in any data! I should mention that this simply puts the files and folders under a non-root account. The Vuze process however will still run as the user who called Vuze. I have not found a good method yet for running the Vuze process as the Vuze user. The annoying but simple method is to create the Vuze user with "--home /home/vuze". Then you would enter a password and use the user switching applet to switch to the Vuze user.
Step 2
Download Vuze from Here. You can select 32bit or 64bit. The tutorial is the same for both.
Step 3
Open up a terminal and cd to where you downloaded Vuze.
Code:
cd Location_of_your_file
Example would be "$cd /Desktop" or "$cd /Downloads" or "$/home/steve/Downloads"
Code:
sudo tar jxvf REPLACE_WITH_THE_NAME_OF_THE_FILE.tar.bz2 -C /opt/
The -C is an upper case letter by the way
Step 4
Change permissions temporarily.
Code:
sudo chown -R YOUR_USERNAME_GOES_HERE:YOUR_USERNAME_GOES_HERE /opt/vuze/
Example would be "$sudo chown -R steve:steve /opt/vuze"
Step 5
To get Vuze into your Applications Menu.
Code:
sudo nano /usr/share/applications/Vuze.desktop
add or copy and paste this into the nano text editor.
[Desktop Entry]
Name=Vuze
Comment=P2P Client
Exec=/opt/vuze/vuze
Icon=/opt/vuze/vuze.png
Terminal=false
Type=Application
Categories=Application;Network;
To exit press Ctrl x and hit y for yes.
Step 6
It's a good idea to be able to launch Vuze from a terminal and in order to do that...
Code:
sudo nano /usr/bin/vuze
add or copy and paste this into the nano text editor.
#!/bin/sh
/opt/vuze/vuze "$*"
To exit press Ctrl x and hit y for yes.
Step 7
Make the /usr/bin/vuze executable.
Code:
sudo chmod +x /usr/bin/vuze
Step 8
Open Vuze up and get any updates that are available. Do not install plugins at this time. Then restart Vuze and check for updates again as some updates won't appear until other updates are installed. If updates showed a second time then restart Vuze a third time and check for updates. Repeat until there are no updates. Do not install plugins at this time! Exit completely at this point by selecting "File/Exit".
Step 9
Change permissions to the user and group "vuze" that we created in step 1.
Code:
sudo chown -R vuze:vuze /opt/vuze
This takes care of the directory where we installed Vuze. It also secures all files and sub directories contained within "/opt/vuze"
Step 10
Change the permissions on the "/usr/bin/vuze" file we created earlier.
Code:
sudo chown vuze:vuze /usr/bin/vuze
Step 11
Now start up Vuze and install any plugins you desire. The plugins will now install to your user directory at ".azureus". This way you can install and remove and update without having to change permissions.
Step 12
To update Vuze itself, we need to change permissions.
Code:
sudo chown -R YOUR_USERNAME_GOES_HERE:YOUR_USERNAME_GOES_HERE /opt/vuze/
Now start up Vuze and update. Repeat until there are no updates any longer.
When there are no more updates you need to change the permissions back to a secure setting. To do this...
Code:
sudo chown -R vuze:vuze /opt/vuze
Many thanks go to Artificial Intelligence
Bookmarks