我正在尝试通过SSH在cPanel帐户上安装Magento2数据迁移工具。到目前为止,在使用下面的命令行安装迁移工具之前,一切都很顺利。我验证并确认Composer已安装。但是每当我输入下面的命令行时,我都会得到一个错误信息,"-bash: composer: command not found".
下面是我正在使用的命令行
composer.phar config repositories.magento
composer https://repo.magento.com
composer require /vendor/magento/data-migration-tool:2.0.2Magento说明在这里http://devdocs.magento.com/guides/v2.0/migration/migration-tool-install.html
提前感谢您的帮助!
发布于 2018-04-06 20:29:40
请在您的Magento根目录下执行此命令以安装数据迁移工具。
- composer update
- composer config repositories.data-migration-tool git https://github.com/magento/data-migration-tool
- composer require magento/data-migration-tool:2.2.2将2.2.2替换为您的Magento 2版本。
我希望这能对你有所帮助。
https://stackoverflow.com/questions/35937988
复制相似问题