Magento SSH installation

From Wiki

Revision as of 13:02, 24 February 2022 by Berkan Uzunkodalak (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Stuck? Click the banner below to watch the Magento Integration video tutorial!

Awin Magento Extension Installation - Secure Shell Protocol/Command Line


Magento have announced the deprecation of the "Web Setup Wizard". This section of the admin dashboard will be completely removed from Magento store versions 2.4.0 onwards. Due to the changes (suggested by Magento), you will need to use SSH/Command Line to install any extension onto your Magento store.

Please also see: Magento FAQs for any common issues you may encounter.


Here is a step-by-step guide on how you can install the Awin Tracking extension, using this method.

Step One: Downloading the Awin extension


1. Go to Magento Marketplace and search for 'Awin'. Select and 'purchase' the Awin Tracking extension version that corresponds to your Magento store version (the extension is free - no payment details required).

2. Once purchased, click on 'Install' and setup your Access Keys if you haven't done so already. The 'How to Install' section also guides you on how to install and activate the Awin extension.

Step Two: Connecting to your website and installing the extension


1. Using the Command Line, connect to your SSH server.


2. Once connected, use the following command: cd stack/magento


3. Turn on 'maintenance mode': sudo bin/magento-cli maintenance:enable


4. Download the extension into the relevant folder: sudo composer require awin/module-advertisertracking:1.2.0


5. Enable the Awin extension: sudo bin/magento-cli module:enable Awin_AdvertiserTracking


6. Register the extension and check for updates: sudo bin/magento-cli setup:upgrade - Please be patient, this step can take up to 2 minutes.


7. Compile and execute the extension: sudo bin/magento-cli setup:di:compile - Please be patient, this step can take up to 2 minutes.


8. Flush (clear) the store cache': sudo bin/magento-cli cache:flush


9. Turn off 'maintenance mode': sudo bin/magento-cli maintenance:disable


10. Now to finally configure the extension; go to your website's admin dashboard and select Marketing>Awin - Advertiser Tracking>General Settings. Type in your Advertiser ID and click 'Save Config'.



The Awin tracking extension should now be fully configured and you can move on to testing the tracking (as per your Awin tech contact's instructions).

Privacy

Due to new European legislation regarding how websites store information about you, AWIN is updating its privacy policy. You can see the new version of our policy here. If you would like to see the information we capture on this website, please click here for further details. In order to accept cookies on this site please click the 'I ACCEPT' button