【问题标题】:Install Mageplaza extension for magento for adding webhook on lightsailInstall Mageplaza extension for magento for adding webhook on lightsail
【发布时间】:2022-12-28 00:27:45
【问题描述】:
A magento instance is create using amazon lightsail. To add a webhook the following steps must be followed.
Magento Admin, choose Store > Settings > Configuration > Mageplaza Extensions > Webhook
ButMageplazaextension is not installed by default.
So how to continue with this ?
【问题讨论】:
标签:
amazon-web-services
magento
amazon-lightsail
【解决方案1】:
-
Login to lightsail Magento instance using ssh
-
Change to directory to the magento source
cd /opt/bitnami/magento
-
use this to install mageplaza webhook
composer require mageplaza/magento-2-blog-extension
-
This is will ask you for username and password
- Go to Access Keys page and Create A New Access Key.
- It should look something like this
Public Key: c7af7eec85ed51bfc9866c9352e933af
Private Key: 1bfb1f6873e9ddc1e1b72ea5f0b22b53
-
Public Key is the username
-
Private Key is the password
-
Once Installion is done, Do the upgrade
php bin/magento setup:upgrade
-
Compile the latest
php bin/magento setup:di:compile
-
Lastly deploy the latest
php bin/magento setup:static-content:deploy