install magento 2 using composer
1
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition <install-directory-name>
install magento 2 using composer
1
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition <install-directory-name>
install magento 2 command line composer
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .
install magento 2
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition new_project_name
// using php -d memory_limit = -1 => for fix bug limit memory of php
php -d memory_limit=-1 bin/magento setup:install
--base-url=http://localhost/magento243
--db-host=localhost
--db-name=magento243
--db-user=root
--admin-firstname=vi
--admin-lastname=Ly
[email protected]
--admin-user=vilh
--admin-password=admin111
--language=vi_VN
--currency=VND
--timezone=Asia/Bangkok
--use-rewrites=1
install magento 2
php bin/magento setup:install --base-url="http://magento2.local/" --db-host="localhost" --db-name="magento" --db-user="magento" --db-password="mage3nt0" --admin-firstname="admin" --admin-lastname="admin" --admin-email="[email protected]" --admin-user="admin" --admin-password="admin123" --language="en_US" --currency="USD" --timezone="America/Chicago" --use-rewrites="1" --backend-frontname="admin"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us