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-18.104.22.168-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!