EC2 instance my quickstart of setting up web server

 

When setting up EC2 instance, these bad boys are really good for setting up http server by placing it in the user data sections.

 

sudo yum update -y

sudo yum install -y httpd

sudo systemctl start httpd

sudo systemctl enable httpd

sudo cat "<h1>hello there! </h1>" > /var/www/html/index.html


Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

gemini cli getting file not defined error