If you had already installed LAMP, you must use the OpenCart module (and not the stack). Connect to your instance via SSH and execute these commands:
sudo chmod a+x bitnami-opencart-220.127.116.11-2-module-linux-x64-installer.run
Next, if LAMP was installed as the
root user (or with
sudo), run the following command:
If not, run this command instead:
And follow the installation steps.
I hope it helps!