I'm trying to install Magento CE 2 on AWS following this tutorial:
https://comtechies.com/how-to-install-magento-on-amazon-ec2.html
However, I cannot go to http://IP/magento. I've look on Google and I saw that my /app/etc/env.php does not exist.
I already tried this command:
php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ \
--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
And I got this error:
PHP Fatal error: Uncaught Error: Class 'Locale' not found in /var/www/html/magento/vendor/magento/framework/Locale/Bundle/DataBundle.php:64
How should I proceed to finish this installation?
Many thanks!