- 요청이 들어오면,
- 서버는 HTML, CSS, JS, 이미지 같은 파일을
- 아무런 가공 없이 그대로 응답합니다.
[root@web yum.repos.d]# yum install -y httpd
[root@web yum.repos.d]# systemctl restart httpd
[root@web yum.repos.d]# systemctl enable httpd
# 즉시 동작 및 재부팅후에도 동작하도록
[root@web html]# echo web-test > /var/www/html/index.html
# web-test라는 내용을 index.html에 넣어줘.
# echo = 입력한 내용을 출력해줘.