download free 30 days trial version buy Bucket Explorer

Solution for Linux Install

On-line support for Bucket Explorer for Amazon S3

Solution for Linux Install

Postby Guest » Thu Feb 26, 2009 2:06 am

Linux installation instructions rather cryptic.

Apparently requires Java 6 and additional editing of jre_home required. Script must be run from an X window.

EDIT - 3/16/2009 - see response from "matthewboh" in this thread for a solution to linux install.
Guest
 

Linux Install

Postby Guest » Mon Mar 02, 2009 9:25 pm

Hi there,

i wanted to try the Linux version.

downloaded and found http://www.bucketexplorer.com/documenta ... stall.html

but that seems to be in no way related to my linux version.

personaly i think the pathes/filestype does not match, the is now way to find a valif home directory.

isn´t there someplace a actual linux install with some screenshoots step by step to avoid confusion ?

so far, does not run - i have no clue...


cheers
Guest
 

Re: Linux Install

Postby Saurabh Dani » Wed Mar 04, 2009 2:38 am

You are correct about the installation guide needs to be updated. We used to include JRE with the linux version, but stopped a while ago. We still need to update the instructions.

You can download JRE from SUN's site and once the JRE is installed, it should work ->
http://www.sun.com/getjava
Saurabh Dani
Administrator
 
Posts: 67
Joined: Mon Aug 25, 2008 12:37 pm

Re: Linux Install

Postby matthewboh » Mon Mar 16, 2009 2:00 pm

I'm running Ubuntu and have JRE downloaded and installed and modified BucketExplorer.sh to read

Code: Select all
#!/bin/sh
#BucketExplorer
BucketExplorer_home='/home/mlb/BucketExplorer'
jre_home='/usr/lib/java-6-sun/jre/bin'
chkpath="$jre_home/java"
if [ -e $BucketExplorer_home ]
then
export PATH=$BucketExplorer/jre6/bin:${PATH}
export CLASSPATH=$BucketExplorer_home/BucketExplorer.jar:${CLASSPATH}
java -Xmx256M -client com.simontuffs.onejar.Boot $1 $2
else
echo "Path $BucketExplorer_home not found"
echo "Edit BucketExplorer_home to specify full PATH of Bucket Explorer home dir$
fi

and when I run it I get several warning messages and the program dies. I was able to fix this by creating a symbolic link to my jre6 library going to the directory where you unzipped BucketExplorer and typing
Code: Select all
ln -s $JAVA_HOME/jre jre6

Just make sure $JAVA_HOME is pointing to your jre library by typing
Code: Select all
echo $JAVA_HOME

If it doesn't on Ubuntu 8.04 my jre is stored at /usr/lib/jvm/java-6-sun/jre so you could type
Code: Select all
ln -s /usr/lib/jvm/java-6-sum/jre jre6

Hope it helps
matthewboh
 
Posts: 1
Joined: Mon Mar 16, 2009 1:17 pm

Re: Solution for Linux Install

Postby Saurabh Dani » Mon Mar 16, 2009 5:23 pm

Thanks a lot for the details. I will make it a sticky until we update our documentation to reflect these steps.
Saurabh Dani
Administrator
 
Posts: 67
Joined: Mon Aug 25, 2008 12:37 pm

Re: Solution for Linux Install

Postby Chris Carson » Tue Oct 20, 2009 1:38 am

Please provide a clear set of directions for installation under Ubuntu.

It's admirable that one of your USERS provided instructions that are clearer than the directions you provided, but they are still no help.

Example:
1) Place downloaded package here (give sample directory)
2) Unpack files from package to here (give sample directory)
3) make sure you have java, or jre, or whatever you need to run this in Ubuntiu
4) Make these changes to the sample shell file.

Hey folks, you're charging 40 bucks for this and I *bought* it -- now I can't install it....
Chris Carson
 

Re: Solution for Linux Install

Postby Ashish Pancholi » Fri Oct 23, 2009 1:31 pm

Hello Chris

These steps may help you:-

1> Extract BucketExplorerxxxxxxxxxx.tar.gz
2> After extracting open the BucketExplorerxxxxxxxxxx folder.
(Suppose: You have opened /home/xyz/Desktop/BucketExplorer2009.10)
3> You need to modify either BucketExplorer.sh or BucketExplorer-jre.sh shell file.

If java already installed on Linux:-

Checking if java is installed:

• Now Go to Applications >> Accessories >> Terminal >>
• Write command “java-version” and hit enter you will find java version, if java is
installed.

If java is already installed on Linux then you need to update BucketExplorer.sh file. To run Bucket Explorer, Java 1.5 and its above versions require to be installed.

a) Open BucketExporer.sh file in text editor.
b) You will find “BucketExplorer_home” in sh file.
c) Provide the path of Bucket Explorer home.
e.g BucketExplorer_home='/home/lxyz/Desktop/BucketExplorer2009.10’
d) Close BucketExporer.sh file.



If you have no java installed on Linux.-


a) Download latest JRE at Desktop.
b) Open BucketExporer-jre.sh file in text editor.
c) You will find “BucketExplorer_home” in sh file.
d) Provide the path of Bucket Explorer home.
e.g BucketExplorer_home='/home/lxyz/Desktop/BucketExplorer2009.10’
e) Provide the path up to JRE/bin/java for “chkpath” variable.
e.g chkpath="/home/lxyz/Desktop/JRE/bin/java"
f) Now “export PATH” variable become
export PATH=$chkpath:${PATH}
g) Close BucketExporer-jre.sh.

OR
a) Download latest JRE.
b) Rename JRE folder with jre6.
c) Copy the jre6 folder in BucketExplorerxxxxxxxxxx.
d) Open BucketExporer-jre.sh file in text editor.
e) You will find “BucketExplorer_home” in sh file.
f) Provide the path of Bucket Explorer home.
e.g BucketExplorer_home='/home/lxyz/Desktop/BucketExplorer2009.10’
g) Close BucketExporer.-jre.sh file
4> Now Go to Applications >> Accessories >> Terminal >>
5> Get into Bucket Explorer Home path.
6> Run BucketExporer.sh/ BucketExporer.-jre.sh file.

For Example:-

In case if you have updated BucketExplorer-jre.sh
xyz-desktop:~$ cd /home/lxyz/Desktop/BucketExplorer2009.10
xyz-desktop:~/ Desktop/BucketExplorer2009.10$ sh BucketExplorer-jre.sh


In case if you have updated BucketExporer.sh
xyz-desktop:~$ cd /home/lxyz/Desktop/BucketExplorer2009.10
xyz-desktop:~/ Desktop/BucketExplorer2009.10$ sh BucketExplorer..sh

Thanks
Ashish Pancholi
 
Posts: 19
Joined: Fri Oct 23, 2009 1:20 pm

Re: Solution for Linux Install

Postby jillmason7 » Sun Mar 28, 2010 12:59 am

Awesome those steps helped me a bunch. Glad I found this post as I did not know how to figure out a solution on my own.

Thanks again,

-Jill
Last edited by jillmason7 on Mon Feb 23, 2015 3:14 am, edited 1 time in total.
jillmason7
 
Posts: 1
Joined: Sun Mar 28, 2010 12:56 am

Re: Solution for Linux Install

Postby parksje » Thu Oct 13, 2011 10:48 pm

I'd gladly pay for a simple command-line utility that worked without the need for java and didn't use the retarded XML config file thing.

Seriously... just let me set some environment variables with my access keys, then do something like this:

bucketcommander bucketname:/some/path /some/local/path

bucketcommander /some/local/path bucketname:/some/path

You do a great job on copying folders, which is why I need you instead of s3sync, but your interface and the need to run as an X app is totally ridiculous for remote Linux servers. I had to install xauth and a bunch of other stuff just to get your code running. And WTF with firing up Firefox every time I run your program??? That's TOTALLY f'ed up -- I'm running X over an SSH connection, and you're throwing that kind of traffic down my pipe?

I'll use you for the 30 day trial because I just seriously have to get some things done, but in the meantime, I'm looking for something better. If I can't find anything better, I guess you'll get my money -- this time.

I want a REAL COMMAND LINE, not this crazy thing you've got that takes four hours to get it running.

Oh, btw -- I set up my credentials in the BucketExplorer.xml file, but you a-holes keep overwriting it, so now I've hosed my whole installation and am starting over again. Just let me set my creds in environment variables like any other god-damned Linux app ever f'ing written. That way I can write my own GPG wrapper and not have to leave my creds in plain text or trust your black-box crypto to keep me safe.

Its OBVIOUS you're a bunch of windoze doods. I guess I'm glad I at least have the option to buy your stuff, but spend a couple days at least actually working in a Linux or Unix environment why dont' you?
parksje
 

Re: Solution for Linux Install

Postby parksje » Fri Oct 14, 2011 1:19 am

OMG, this whole experience just keeps getting more amazing!

NOT ONLY is an X environment required to INSTALL this POS, its required to RUN IT.

So here we have a so-called "command line" tool, but you have to actually be logged in to use it, so forget about using cron or at to schedule anything.

BONEHEADS.

Looks like I'm gonna have to sit down and write this thing myself. And when I do, I'm gonna make it free and post it on sourceforge and call it ShitBucketCommander
parksje
 

Next

Return to Bucket Explorer for Amazon S3 - Support Forum