Installing ElasticSearch on Mac OS X


(Pawel Krakowiak) #1

I just installed ES on Mac OS X using Homebrew and got a warning near
the end:

Warning: JARs were installed to "lib".
Installing JARs to "lib" can cause conflicts between packages.
For Java software, it is typically better for the formula to
install to "libexec" and then symlink or wrap binaries into "bin".
See "activemq", "jruby", etc. for examples.

I have no idea about that and just started using a Mac, don't know if
that's important nor whether it should be reported here or somewhere
else, but I just want to notify you.


(fucema) #2

Personally, I don't think you need to use Homebrew or any management package to install ElasticSearch. It's simple enough to untar, mv to /usr/local and then sudo ln -s ... cd elasticsearch; bin/elasticsearch -f

EDIT:
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.17.1.tar.gz
tar zxvf elasticsearch-0.17.1.tar.gz
sudo mv elasticsearch-0.17.1 /usr/local
cd /usr/local
sudo ln -s elasticsearch-0.17.1 elasticsearch
cd elasticsearch
bin/elasticsearch -f

voila


(Shay Banon) #3

Needs to be checked, I thought it was fixed (the warning) already in latest
recipes of elasticsearch, if someone is up to it, it would be great :slight_smile:

On Tue, Jul 26, 2011 at 10:55 AM, Pawel Krakowiak <pawel.krakowiak@gmail.com

wrote:

I just installed ES on Mac OS X using Homebrew and got a warning near
the end:

Warning: JARs were installed to "lib".
Installing JARs to "lib" can cause conflicts between packages.
For Java software, it is typically better for the formula to
install to "libexec" and then symlink or wrap binaries into "bin".
See "activemq", "jruby", etc. for examples.

I have no idea about that and just started using a Mac, don't know if
that's important nor whether it should be reported here or somewhere
else, but I just want to notify you.


(Ivan Brusic) #4

I agree. There is no make/configure process with Elastic Search, so the
need for a yum/apt/homebrew is not great.

In addition, there are many breaking index changes with newer versions of
ES, particularly due to Lucene upgrades, so I would not be too quick in
rolling out server updates.

--
Ivan

On Tue, Jul 26, 2011 at 4:07 AM, fucema fucema@gmail.com wrote:

Personally, I don't think you need to use Homebrew or any management
package
to install ElasticSearch. It's simple enough to untar, mv to /usr/local and
then sudo ln -s ... cd elasticsearch; bin/elasticsearch -f

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Installing-ElasticSearch-on-Mac-OS-X-tp3199715p3199738.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.


(system) #5