I am trying to install Magento 2.4 in my localhost. I am using Linux Mint 19.1 as my OS. First I downloaded Magento 2.4 using below command.
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magentotest
I tried to install Magento 2.4 using below command.
php bin/magento setup:install --base-url=http://127.0.0.1/magentotest/ \
--db-host=localhost --db-name=magentotest --db-user=root --db-password=root \
--admin-firstname=Magento --admin-lastname=User [email protected] \
--admin-user=admin --admin-password=admin123 --language=en_US \
--currency=USD --timezone=America/Chicago --use-rewrites=1 \
--search-engine=elasticsearch7 --elasticsearch-host=es-host.example.com \
--elasticsearch-port=9200
I am getting below error while trying to run above command.
Could not validate a connection to Elasticsearch. No alive nodes found in your cluster
I installed JDK and elastic search.
But I am getting below screen while trying to browse Magento 2.4
What is the solution ? How to install Magento 2.4 in Linux Mint ?