You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Mike McGonagle <mj...@gmail.com> on 2007/11/19 22:40:04 UTC

Couple of question installing on Ubuntu Gutsy Gibbon

Hello all,
I was just following the install procedures listed here (
http://wiki.apache.org/james/JamesQuickstart ), and it seems a little thin
on details. One of the problems that I encountered was that the 'bin/run.sh'
script is not runnable as it is, and it also depends on 'bin/phoenix.sh' to
be runnable. This is not mentioned in the install, I guess it is assumed
that people installing have a hefty knowledge of Unix...

Also, there is no mention that JAVA_HOME needs to be set. While I tested
this on a Mac last year, I know what the value of JAVA_HOME should be for
that, but what should it be for Ubuntu?

Thanks,

Mike McGonagle

Re: Couple of question installing on Ubuntu Gutsy Gibbon

Posted by Mike McGonagle <mj...@gmail.com>.
On Nov 19, 2007 4:17 PM, Paulo Sergio <pa...@gmail.com> wrote:

> Hi Mike,
>
>
> On Nov 19, 2007 9:40 PM, Mike McGonagle <mj...@gmail.com> wrote:
>
> > Hello all,
> > I was just following the install procedures listed here (
> > http://wiki.apache.org/james/JamesQuickstart ), and it seems a little
> thin
> > on details. One of the problems that I encountered was that the
> > 'bin/run.sh'
> > script is not runnable as it is, and it also depends on 'bin/phoenix.sh'
> > to
> > be runnable. This is not mentioned in the install, I guess it is assumed
> > that people installing have a hefty knowledge of Unix...
>
>
> you must give execution permissions to  'bin/phoenix.sh'  and to
> 'bin/run.sh' ex: chmod 755   bin/phoenix.sh


I guess my point was not that I needed to know this, but that this should be
in the "Quickstart" stuff, because without it, it is not a "Quickstart".

Is it more a question of needing someone to maintain this or write the
documentation?


>
>
> Also, there is no mention that JAVA_HOME needs to be set. While I tested
> > this on a Mac last year, I know what the value of JAVA_HOME should be
> for
> > that, but what should it be for Ubuntu?
>
> just write : export JAVA_HOME=/usr/lib/jvm/java1.x (make sure you replace
> the x by your correct version)


Thanks, this is the part that had me a bit baffled, as this changes from
platform to platform. I did find that there is a way to find this on ubuntu.
You need to run the following:

sudo update-alternatives --config java

This will show all the different installs that are a potential target, and
the user would choose from that list as to which install they would use... I
picked, and it works...

Now I have other questions regarding other configurations issues, like IMAP
and doing User Authentication from MySQL rather than the normal user
repository...

Thanks again,


Mike


>
>
> it should work now :)
>
> Cheers,
> Paulo F.
>
> >
> >
> > Thanks,
> >
> > Mike McGonagle
> >
>



-- 
Peace may sound simple—one beautiful word— but it requires everything we
have, every quality, every strength, every dream, every high ideal.
—Yehudi Menuhin (1916–1999), musician

Re: Couple of question installing on Ubuntu Gutsy Gibbon

Posted by Paulo Sergio <pa...@gmail.com>.
Hi Mike,


On Nov 19, 2007 9:40 PM, Mike McGonagle <mj...@gmail.com> wrote:

> Hello all,
> I was just following the install procedures listed here (
> http://wiki.apache.org/james/JamesQuickstart ), and it seems a little thin
> on details. One of the problems that I encountered was that the
> 'bin/run.sh'
> script is not runnable as it is, and it also depends on 'bin/phoenix.sh'
> to
> be runnable. This is not mentioned in the install, I guess it is assumed
> that people installing have a hefty knowledge of Unix...


you must give execution permissions to  'bin/phoenix.sh'  and to
'bin/run.sh' ex: chmod 755   bin/phoenix.sh

Also, there is no mention that JAVA_HOME needs to be set. While I tested
> this on a Mac last year, I know what the value of JAVA_HOME should be for
> that, but what should it be for Ubuntu?

just write : export JAVA_HOME=/usr/lib/jvm/java1.x (make sure you replace
the x by your correct version)

it should work now :)

Cheers,
Paulo F.

>
>
> Thanks,
>
> Mike McGonagle
>