Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
foss-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gong Myungkyu
foss-test
Commits
65178972
Commit
65178972
authored
2 years ago
by
Gong Myungkyu
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
c862ebf5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lab0520/README.md
+24
-1
24 additions, 1 deletion
lab0520/README.md
with
24 additions
and
1 deletion
lab0520/README.md
+
24
−
1
View file @
65178972
**
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 파일이 뜬다면 성공)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment