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, 2017 at 5:37

1 Answer 1


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 [email protected] \
--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 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.