You can follow these steps in order to install LAMP 7.x in a Google Cloud instance:
- Create a database backup of your current application
Download the latest installer in your instance
Stop your current installation and move it to another place
sudo /opt/bitnami/ctlscript.sh stop
sudo mv /opt/bitnami /opt/bitnami.backup
Modify the permissions of the installer and install the stack
chmod +x bitnami-lampstack-7.0.12-0-dev-linux-x64-installer.run
Note that you can install the stack at
- Recover the database backup and migrate your application from the old installation (the files are now at /opt/bitnami.backup) to the new one
Note that you would need to create the database schema as it's explained in the documentation.
Please note that this step will remove all the old files, if you have not migrated a data to the new installation folder it will be lost.
If you have any other question, please don’t hesitate to ask.