0

I have downloaded magento 2.4 and trying to install on windows machine but while hitting "localhost/magento-24/" it is not showing install button. I don't know the reason can some help me in this. Please find the screenshot below. enter image description here

3

3 Answers 3

2

Install https://www.elastic.co/downloads/past-releases/elasticsearch-7-6-0. Go to bin directory from command prompt and run :-

  1. elasticsearch-service.bat install

  2. elasticsearch-service.bat start

Then run the command:-

php bin/magento setup:install --base-url= http://localhost/yourrootfoldername/ --db-host=localhost --db-name= magento2 --db-user= root --db-password= password --admin-firstname=test --admin-lastname=testadmin --admin-email=test@gmail.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --cleanup-database --sales-order-increment-prefix="ORD$" --session-save=db --use-rewrites=1

Should work like a charm.

0

try you following way :-

First your extract your magento 2 zip and open the command line and run below command :

php bin/magento setup:install --base-url= http://localhost/yourrootfoldername/ --db-host=localhost --db-name= magento2 --db-user= root --db-password= password --admin-firstname=test --admin-lastname=testadmin --admin-email=test@gmail.com --admin-user=admin --admin-password=admin123 --language=en_US --currency=USD --timezone=America/Chicago --cleanup-database --sales-order-increment-prefix="ORD$" --session-save=db --use-rewrites=1

After you run below commands :-

php bin/magento s:up
php bin/magento s:s:d -f
php bin/magento c:c
php bin/magento c:f

THANKS.

1
  • I ran this command but I have stucked at elastic search. How can I proceed further ? this is the error "InsearchConfig.php" line 81 : could not validate a connection to Elasticsearch. No alive nodes found in your cluster. Aug 21, 2020 at 10:27
0

It seems that you have not yet met the system requirements for Magento 2.4.

As of Magento 2.4.0, MySQL is no longer used for search. You must use Elasticsearch. Magento is tested with Elasticsearch 7.6.x. You can use other versions at your discretion, but we recommend using the tested version of Elasticsearch.

See: https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements-tech.html#elasticsearch

Try one of the following links to setup Elasticsearch 7.6.x on your Windows machine:

https://www.elastic.co/guide/en/elasticsearch/reference/7.6/zip-windows.html https://www.elastic.co/guide/en/elasticsearch/reference/7.6/windows.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.