From a5685a04eaceb67a9028837b7c1768e75b959422 Mon Sep 17 00:00:00 2001 From: Art Date: Thu, 23 Sep 2021 16:46:35 +0300 Subject: [PATCH] 203. Configure EC2 instance - Part 1 - Install httpd Apache server (#32) --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 7448118..dec75e4 100644 --- a/README.md +++ b/README.md @@ -26,5 +26,23 @@ Create EC2 instance with custom security rules - open port 80, 5000, 443(ssh) for everyone +##### 203. Configure EC2 instance + +1. Install apache web server + - `sudo service httpd start` -> service not found + - `sudo yum -y install httpd` -> OK + - `sudo service httpd status` -> running + - Go to EC2 public URL -> Apache Server Default Page +2. Test work + - Navigate to server content + - `cd /var/www/html` + - create sample html file + - `sudo nano index.html` + - `

Welcome to AWS Apache server

` + - Ctrl+O + - Ctrl+X + - Go to EC2 public URL -> Our web page + +