HomeMagento® 2 Fraud PreventionInstallation GuideInstalling the Magento® 2 Extension

Installing the Magento® 2 Extension

Download and Extract Installation Package

Log in to your Plugin Company account and download the extension’s installation package to your local computer. We recommend to install the most recent extension version available.

Extract the installation package locally to any folder. The extracted archive should contain an upload_contents folder (the installation files), a license agreement and the extension’s installation guide and user manual.

Upload Files to Server

Connect to your server using SSH, SFTP or FTP.
Copy the extracted app folder to your Magento® 2 root directory, using your preferred method of doing so.

Enable the Extension

First enable the license manager using the following command:

php bin/magento module:enable PluginCompany_LicenseManager

After enabling the license manager, enable the extension using the following command:

php bin/magento module:enable PluginCompany_FraudPrevention

Update the Database

Run the following upgrade command:

php bin/magento setup:upgrade

Clean the Magento® Cache

Clean the cache using the following command:

php bin/magento cache:clean

Remove auto-generated classes

Remove all auto-generated classes using the following command:

rm -Rf ./var/generation/*

Or in Magento® 2.2+

rm -Rf ./generated/*

Run the Compiler

Run the dependency injection compilation command:

php bin/magento setup:di:compile

Deploy Static View Files

Run the static content generation command:

php bin/magento setup:static-content:deploy
Was this article helpful to you? Yes 2 No