In this tutorial we will see how to install data migration tool in magento 2.
Before going to start, first we will see how to install Magento 2 in few steps so that you can understand from start to end.
Note : The Versions of Migration Tool and Magento which is used to transfer data must match:
Very Important point before going to install migration tool on your local system, make sure you are using the same released version of both Magento 2 and the Migration Tool.
eg, for Magento
ver 2.2.0, you must also use the same Migration Tool version
2.2.0, so please be confirm before installation process.
Migration Tool important work is to creates additional tables and then triggers for the migration tables in the Magento 1 all the data from database.
It will be used step by step in the
incremental/delta migration step, the process is continue till end.
Best way or you can say the fastest way to install magento 2 on system is via composer. if on your local system composer is not install then you can install composer from below link.
link to install COMPOSER.
Step 1 : Download magento 2
Below is the full proof command which is executed in cmd or git bash to install Magento 2 are as follow as:
$ composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition install-directory-name
Below is example :
$ composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition:2.3.0 magento230/
Step 2 : Install magento 2
To install Magento 2 execute below command:
$ bin/magento setup:install \ --base-url=http://localhost/magento230\ --db-host=localhost \ --db-name=magento \ --db-user=magento \ --db-password=magento \ --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
After this installation you might get blank page issue to fix this issue check with this link Magento 2.3.5 admin blank page occur.
Step 3 : Install data migration tool using composer
To install migration tool on your local system please execute the below command in cmd or git bash, after executing this command the installation process has been started.
$ composer require magento/data-migration-tool:2.3.0
You can check version of install Migration tool:
- Change to your Migration Tool directory:
/magento/data-migration-tool. - Open
composer.jsonin root directory in a text editor. - Version entry in that file is the version of the Data Migration Tool