bash script to build ubuntu web server using nginx I am running this in GCP using free tier compute e2-micro Ubuntu 20.04.3 LTS https://cloud.google.com/free
Assumptions: You have a debian based linux machine with networking preconfigured
Steps:
- Upload to or create .sh file in directory of your choice
- run "chmod u+x webserver.sh" from that directory. This gives executable permissions.
- run "sudo ./webserver.sh"
- navigate to ip address in web browser for completion
- Smile
you can view my example here: http://35.230.115.42