Skip to content
Snippets Groups Projects
Commit 65178972 authored by Gong Myungkyu's avatar Gong Myungkyu
Browse files

Update README.md

parent c862ebf5
Branches
No related tags found
No related merge requests found
** fdfsd # Apache 서버 연동하기
## 1. Network 통신 방식 (Client-Server)
- 클라이언트는 http 프로토콜을 사용하여 서버에 요청을 보낸다.
- 서버는 클라이언트의 요청을 받아 html 파일을 전달한다.
- 서버는 http 서비스를 제공하기 위해 httpd 서버를 갖고 있다.
- 클라이언트는 웹 브라우저를 통해 html 파일을 open할 수 있다.
## 2. Apache 웹 서버 설치
- **Apache** : HTTP 서버 제공하기
1. apache2 설치
`sudo apt install -y apache2 apache2-utils`
2. Apache 실행 상태 확인
`systemctl status apache2`
3. local host 접속하기
- apache default page가 나오면 성공
## 3. Default Page 변경하기
- /var/www/html로 이동
`$ cd /var/www/html`
- index.html 수정하기
`$ vi html.index`
- 웹 브라우저를 통해 localhost 접속하기 (수정한 html 파일이 뜬다면 성공)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment