I have problema with magento 2 installation. I have done everything, elasticsearch is working fine.
php bin/magento setup:install --base-url="http://127.0.0.1/magento" --db-host="localhost" --db-name="magento_praktika" --db-user="root" --db-password="" --admin-firstname="admin" --admin-lastname="admin" --admin-email="[email protected]" --admin-user="admin" --admin-password="admin123" --language="en_US" --currency="EUR" --use-rewrites="1" --backend-frontname="admin" --search-engine=elasticsearch7 --elasticsearch-host="https://mystore.magento.com" --elasticsearch-port=9200 --elasticsearch-enable-auth=true --elasticsearch-username="elastic" --elasticsearch-password="GPy8TkICgFU6dqYT_X_="
When I put this code in my CMD magento folder. I have got this error:
Could not validate a connection to Elasticsearch. No alive nodes found in your cluster
I tried to search information in Google but it didn’t help to me.
2
Answers
Make you have install Elastic search on your server.
You can also configure Elastic search after installation magento.
add following property in elasticsearchconfigelasticsearch.yml and check again