Skip to content

Instantly share code, notes, and snippets.

@trungpv1601
Last active April 3, 2019 08:00
Show Gist options
  • Save trungpv1601/292753e7dc6d10151ae4e67e1e24664b to your computer and use it in GitHub Desktop.
Save trungpv1601/292753e7dc6d10151ae4e67e1e24664b to your computer and use it in GitHub Desktop.
Magento 2 Install Step by Step

Step 1

# Ubuntu
unzip file.zip # .zip
tar -xzvf file.tar.gz # .tar.gz

Step 2

  • Create DB and User MYSQL
# Login mysql with root user on server
Updating...

Step 3

  • Run command below and wait
php bin/magento setup:install \
--base-url=http://magento2.dev \
--db-host=localhost \
--db-name=magento2_dev \
--db-user=magento \
--db-password=magento \
--backend-frontname=admin \
--admin-firstname=admin \
--admin-lastname=admin \
[email protected] \
--admin-user=admin \
--admin-password=admin123 \
--language=en_US \
--currency=USD \
--timezone=America/Chicago \
--use-rewrites=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment