AWS EC2 Basic Web server setup

Connect to EC2: ssh -i PEMFILE.PEM Update all software: sudo yum update Install WEB server: sudo yum -y install httpd Start WEB server: sudo service httpd start Web server default location: /var/www/html/ Check WEB server functionality: Go to /var/www/html sudo mkdir wwwroot cd wwwroot echo “Hello world” >> test.html Open browser and go to: […]

Continue Reading
Back To Top