I'm trying to install Magento CE 2 on AWS following this tutorial:


However, I cannot go to http:///magento. I've look on Google and I saw that my /app/etc/env.php does not exist.

How should I proceed to finish this installation?

Many thanks!

  • what is en error. Please check log files. It might be permission issue for var and pub folder. – Nits Dec 20 '17 at 5:37

Go to your root directory and run this command. Replace your db credentials and base url.

php bin/magento setup:install --base-url= \
--db-host=localhost --db-name=magento --db-user=magento --db-password=magento \
--admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com \
--admin-user=admin --admin-password=admin123 --language=en_US \
--currency=USD --timezone=America/Chicago --use-rewrites=1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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