Hi all.
I'm trying to install (run) elasticsearch 8.6.2 on my local Windows 10 machine.
I'm installing Magento 2.4.5 whcih requires elasticsearch.
Starting elasticsearch.bat as the administrator (and a user) just won't start it.
I have the log files elasticsearch.log and gc.log but neither make much sense to me.
Could someone point me in the right direction on how to install elasticsearch for Windows please?
Preferably as an install rather than manually running the .bat file.
Many thanks in advance
Andy
PS -
When I run the elasticsearch.bat as the user and try to bypass the username and password that localhost:9200 asks for, I get:
error
root_cause
0
type
security_exception
reason
unable to authenticate user [andy] for REST request [/]
header
WWW-Authenticate
0
'Basic realm=security charset=UTF-8'
1
ApiKey
type
security_exception
reason
unable to authenticate user [andy] for REST request [/]
Hi Leandrojmp
Thank you for that.
I thin I followed the wrong online advice.
I'll look at the link you supplied.
I do want to run it as a service rather than manually every time.
I'll get back when I've tried.
Thanks again
Andy
Hi Leandrojmp
I have followed your link and successfully installed elasticsearch on Windows 10 as a service So thank you for your help.
The resaon for needing elasticsearch is I'm installing Magento 2 on my local Xampp.
When trying to install Magento I'm seeing this error:
In SearchConfig.php line 81:
Could not validate a connection to Elasticsearch. Unknown 401 error from Elasticsearch null
Any ideas what this is?
Thanks again
Andy
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.