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