Install Apache on the GCP Linux Server:-
1. Go to the GCP Console
— Compute Engine
— VM Instances
— Create Instances (Debian II)
2. Take SSH of Linux Machine Run following Commands
$ sudo su
$ apt update -y
$ apt install apache2 -y
$ apache2 -version
$ systemctl status apache2
$ hostname -i
Now Copy the public ip of Linux Machine from GCP Console and test in Browser
— To create a Custom Webpage or Modifying existing:
$ vi /var/www/html/index.html
$ i (to edit)
$ esc
$ :wq
Now Check in Google Chrome Browser, you will get edited Page.
🙏 thanks
ConversionConversion EmoticonEmoticon