#StackBounty: #linux #ubuntu #elasticsearch #vagrant #elastic-appsearch Elastic Enterprise/App search installation problem on ubuntu

Bounty: 50

I’m running a vagrant box which runs ubuntu inside a vm (using Laravel Homestead box)

I’m trying to install the Elastic App-search product.

The first requirement is to install Elastic search, which i have done multiple times. I did the following steps:

wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
sudo apt-get update && sudo apt-get install elasticsearch

I’m using the systemd configuration:

sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service

I’m running curl localhost:9200 and everything is working.

Next I try to install elastic app search.
Which doesn’t have instructions for debian systems. But it does have a .deb install file. I downloaded the file and put it in my project route.

I ran dpkg -i on the file and it seems to have installed. When I run the command to check the file location it shows this:

 dpkg -L enterprise-search

I’m not really sure if this is the correct location? I want it to live in the same place as my elasticsearch install, but I’m actually not sure. I did all the next steps for the install process and ran:

But this gives me the error:

Could not find java in PATH

I’m very confused by this since the main elasticsearch installation works and that also needs java? Also i want it also to run with systemd auto-enable and i want it to be available with enterprise-search start / stop. Not sure how to handle that.

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.