How to use Google Cloud Marketplace to quickly and easily deploy a LAMP stack on a Compute Engine instance.
The Bitnami LAMP Stack provides a complete web development environment for Linux that can be launched in one click.
Component Role
Linux Operating system
Apache HTTP Server Web server
MySQL Relational database
PHP Web application framework
phpMyAdmin PHP administration tool
Bitnami makes it easy to get your favorite open source software up and running on any platform, including your laptop, Kubernetes and all the major clouds.
In addition to popular community offerings, Bitnami, now part of VMware, provides IT organizations with an enterprise offering that is secure, compliant, continuously maintained and customizable to your organizational policies.
student_02_3793a581291f@cloudshell:~ (qwiklabs-gcp-02-d2deaff99833)$ gcloud compute ssh --zone "us-east4-b" "lampstack-1-vm" --project "qwiklabs-gcp-02-d2deaff99833"
WARNING: The private SSH key file for gcloud does not exist.
WARNING: The public SSH key file for gcloud does not exist.
WARNING: You do not have an SSH key for gcloud.
WARNING: SSH keygen will be executed to generate a key.
This tool needs to create the directory [/home/student_02_3793a581291f/.ssh] before being able to generate SSH keys.
Do you want to continue (Y/n)? Y
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/student_02_3793a581291f/.ssh/google_compute_engine
Your public key has been saved in /home/student_02_3793a581291f/.ssh/google_compute_engine.pub
The key fingerprint is:
SHA256:3tyRqZEhvMD82wyaPnOdc9bkWls2lVtjX8WMoNQJYOs student_02_3793a581291f@cs-994566895530-default
The key's randomart image is:
+---[RSA 3072]----+
| o.oo.. |
| o o o .o. + |
| + + o . +|
| + o o o o|
| E o + ++|
| + B + .o B|
| o o.*..+.o+|
| .o . + o.o+.|
| .+ +... |
+----[SHA256]-----+
Warning: Permanently added 'compute.7447842227785294401' (ECDSA) to the list of known hosts.
Linux lampstack-1-vm 5.10.0-23-cloud-amd64 #1 SMP Debian 5.10.179-3 (2023-07-27) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
___ _ _ _
| _ |_) |_ _ _ __ _ _ __ (_)
| _ \ | _| ' \/ _` | ' \| |
|___/_|\__|_|_|\__,_|_|_|_|_|
*** Welcome to the LAMP packaged by Bitnami 8.2.9-0 ***
*** Documentation: https://docs.bitnami.com/google/infrastructure/lamp/ ***
*** https://docs.bitnami.com/google/ ***
*** Bitnami Forums: https://github.com/bitnami/vms/ ***
Creating directory '/home/student-02-3793a581291f'.
student-02-3793a581291f@lampstack-1-vm:~$
student-02-3793a581291f@lampstack-1-vm:~$ cd /opt/bitnami
student-02-3793a581291f@lampstack-1-vm:/opt/bitnami$
student-02-3793a581291f@lampstack-1-vm:/opt/bitnami$
student-02-3793a581291f@lampstack-1-vm:/opt/bitnami$ sudo sh -c 'echo "<?php phpinfo(); ?>" > apache2/htdocs/phpinfo.php'
student-02-3793a581291f@lampstack-1-vm:/opt/bitnami$
student-02-3793a581291f@lampstack-1-vm:/opt/bitnami$ cat apache2/htdocs/phpinfo.php
<?php phpinfo(); ?>
student-02-3793a581291f@lampstack-1-vm:/opt/bitnami$
No comments:
Post a Comment