SlideShare a Scribd company logo
1 of 26
성미급한 사람들을 위한 아파치 설치법 원은정 진실 남경민 양은숙
클릭! 클릭! Httpd.apache.org에 들어갑니다.
Httpd.apache.org 사이트에서 2.218 버전을 다운 받습니다.
Unix source httpd-2.218.tar.gz 를 다운받습니다. 다운완료!.
* cd명령어 : 자신의 홈 디렉토리로 이동      ls 명령어 : 파일의 목록을 간단하게 출력  cd 다운로드(또는 httpd 2.2.18.tar.gz파일이 저장되어 있는 경로)명령어를 실행하여 다운로드 디렉토리로 들어 갑니다. ls명령어로 경로에 잘 들어갔는지, 찾고자 하는 파일이 있는지 확인합니다.
* gzip-d 명령어 : 파일 압축을 해제 	          (gzip-d후 tap을 눌러주면 압축해제할 파일명이 입력된다.)  Gzip-d 명령어를 이용하여 파일 압출을 풉니다.
Ls 명령어를 이용해 압축해제된 파일 목록을 확인합니다.
Tar xvf httpd-2.2.18.tar명령어를 실행하면 과정이 주르륵 나옵니다. (*캡쳐사진 중간에 공중분해 ㅜㅜ)
Cd명령어를 사용하여 httpd-2.2.18파일이 있는 폴더로 이동합니다.
./configure 명령어를 입력하여 컴파일 환경을 구성합니다. 사용자가 임의로 경로를 지정하고 싶을 때에는 ./configure –prefix=~~~~~  (~~~에 사용자 임의의 경로지정) --prefix를 입력하지 않을 경우에는 default경로인 /usr/local/apache2로 자동지정
컴파일환경 구성과정...
컴파일환경 구성과정...
Make명령어로 컴파일한다. 컴파일 중....
Sudo make install 명령어로 설치를 합니다. (sudo명령어는 관리자권한으로 실행하는 것으로 사용시 비밀번호를 입력하여야 한다)
설치하는 중...
Cd /usr/local/apache2를 입력하여 파일 위치를 변경합니다.
Ls명령어로 현재 경로의 폴더를 확인합니다.
Cd 명령어로 conf폴더에 들어갑니다.
Sudo gedit httpd.conf로 httpd.conf파일에 들어갑니다. (폴더에서 직접 클릭하여 이 문서를 열경우  Read Only권한으로 인해서 코드를 수정할 수 없습니다.)
httpd.conf에서 Listen80 을 -> Listen8080으로 바꿉니다.
Cd /usr/local/apache2/bin 으로 이동합니다.
Sudo ./apachectl start 명령어로 서버를 실행합니다.
※ Error : Could not reliably determine the server’s fully qualified domain name.  Using 127.0.1.1 for ServerName 아파치를 실행하는 도중에 ServerName과 관련한 오류가 날 경우
※ Error : Could not reliably determine the server’s fully qualified domain name.  Using 127.0.1.1 for ServerName httpd.conf에서 Listen80 을 -> Listen8080으로 바꿉니다.
 telnet 127.0.0.1 8080 명령어로 서버 정보를 봅니다. GET/HTTP/1.0 명령어를 입력하면 실행중인 서버 정보가 나타납니다.
sudo ./apachectl stop 명령어로 서버를 종료합니다.

More Related Content

What's hot

ITs 2주차_기본명령어(발표)
ITs 2주차_기본명령어(발표)ITs 2주차_기본명령어(발표)
ITs 2주차_기본명령어(발표)Chulgyu Shin
 
[Pl in c++] 10. battleship game 5
[Pl in c++] 10. battleship game 5[Pl in c++] 10. battleship game 5
[Pl in c++] 10. battleship game 5MinGeun Park
 
[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠
[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠
[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠SangJung Woo
 
git 간단한 사용방법
git 간단한 사용방법git 간단한 사용방법
git 간단한 사용방법Oh Dongju
 
리눅스 간단 강의 2강
리눅스 간단 강의 2강리눅스 간단 강의 2강
리눅스 간단 강의 2강Junsu Kim
 
리눅스 간단 강의 4강
리눅스 간단 강의 4강리눅스 간단 강의 4강
리눅스 간단 강의 4강Junsu Kim
 
소프트웨어 설치
소프트웨어 설치소프트웨어 설치
소프트웨어 설치Chulgyu Shin
 
Nodejs 트래픽 라우팅, 파일 서비스, 미들웨어
Nodejs 트래픽 라우팅, 파일 서비스, 미들웨어Nodejs 트래픽 라우팅, 파일 서비스, 미들웨어
Nodejs 트래픽 라우팅, 파일 서비스, 미들웨어Mungyu Choi
 
caanoo Ernice
caanoo Ernicecaanoo Ernice
caanoo Ernicejumiss
 
BSides Delhi CTF 2018 [Never Too Late Mister (Forensics 200pts)] WriteUp
BSides Delhi CTF 2018 [Never Too Late Mister (Forensics 200pts)] WriteUpBSides Delhi CTF 2018 [Never Too Late Mister (Forensics 200pts)] WriteUp
BSides Delhi CTF 2018 [Never Too Late Mister (Forensics 200pts)] WriteUpSehan Lee
 
SECCON 2016 Online CTF [Memory Analysis] Write-Up (ver.korean)
SECCON 2016 Online CTF [Memory Analysis] Write-Up (ver.korean)SECCON 2016 Online CTF [Memory Analysis] Write-Up (ver.korean)
SECCON 2016 Online CTF [Memory Analysis] Write-Up (ver.korean)Sehan Lee
 
Introduction to Linux #1
Introduction to Linux #1Introduction to Linux #1
Introduction to Linux #1UNIST
 
Browser Principle에 대해 알아보자.pdf
Browser Principle에 대해 알아보자.pdfBrowser Principle에 대해 알아보자.pdf
Browser Principle에 대해 알아보자.pdfHo Jeong Im
 
PlaidCTF 2016 Write-Up [hevc (MISC 50pts)]
PlaidCTF 2016 Write-Up [hevc (MISC 50pts)]PlaidCTF 2016 Write-Up [hevc (MISC 50pts)]
PlaidCTF 2016 Write-Up [hevc (MISC 50pts)]Sehan Lee
 
시스템 관리자를 위한 리눅스강의 1강 20130203
시스템 관리자를 위한 리눅스강의 1강 20130203시스템 관리자를 위한 리눅스강의 1강 20130203
시스템 관리자를 위한 리눅스강의 1강 20130203doo rip choi
 
1주차 리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져
1주차   리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져1주차   리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져
1주차 리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져Chulgyu Shin
 
[IoT] MAKE with Open H/W + Node.JS - 2nd
[IoT] MAKE with Open H/W + Node.JS - 2nd[IoT] MAKE with Open H/W + Node.JS - 2nd
[IoT] MAKE with Open H/W + Node.JS - 2ndPark Jonggun
 

What's hot (18)

ITs 2주차_기본명령어(발표)
ITs 2주차_기본명령어(발표)ITs 2주차_기본명령어(발표)
ITs 2주차_기본명령어(발표)
 
[Pl in c++] 10. battleship game 5
[Pl in c++] 10. battleship game 5[Pl in c++] 10. battleship game 5
[Pl in c++] 10. battleship game 5
 
[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠
[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠
[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠
 
git 간단한 사용방법
git 간단한 사용방법git 간단한 사용방법
git 간단한 사용방법
 
리눅스 간단 강의 2강
리눅스 간단 강의 2강리눅스 간단 강의 2강
리눅스 간단 강의 2강
 
리눅스 간단 강의 4강
리눅스 간단 강의 4강리눅스 간단 강의 4강
리눅스 간단 강의 4강
 
소프트웨어 설치
소프트웨어 설치소프트웨어 설치
소프트웨어 설치
 
Nodejs 트래픽 라우팅, 파일 서비스, 미들웨어
Nodejs 트래픽 라우팅, 파일 서비스, 미들웨어Nodejs 트래픽 라우팅, 파일 서비스, 미들웨어
Nodejs 트래픽 라우팅, 파일 서비스, 미들웨어
 
caanoo Ernice
caanoo Ernicecaanoo Ernice
caanoo Ernice
 
BSides Delhi CTF 2018 [Never Too Late Mister (Forensics 200pts)] WriteUp
BSides Delhi CTF 2018 [Never Too Late Mister (Forensics 200pts)] WriteUpBSides Delhi CTF 2018 [Never Too Late Mister (Forensics 200pts)] WriteUp
BSides Delhi CTF 2018 [Never Too Late Mister (Forensics 200pts)] WriteUp
 
SECCON 2016 Online CTF [Memory Analysis] Write-Up (ver.korean)
SECCON 2016 Online CTF [Memory Analysis] Write-Up (ver.korean)SECCON 2016 Online CTF [Memory Analysis] Write-Up (ver.korean)
SECCON 2016 Online CTF [Memory Analysis] Write-Up (ver.korean)
 
Introduction to Linux #1
Introduction to Linux #1Introduction to Linux #1
Introduction to Linux #1
 
Browser Principle에 대해 알아보자.pdf
Browser Principle에 대해 알아보자.pdfBrowser Principle에 대해 알아보자.pdf
Browser Principle에 대해 알아보자.pdf
 
PlaidCTF 2016 Write-Up [hevc (MISC 50pts)]
PlaidCTF 2016 Write-Up [hevc (MISC 50pts)]PlaidCTF 2016 Write-Up [hevc (MISC 50pts)]
PlaidCTF 2016 Write-Up [hevc (MISC 50pts)]
 
시스템 관리자를 위한 리눅스강의 1강 20130203
시스템 관리자를 위한 리눅스강의 1강 20130203시스템 관리자를 위한 리눅스강의 1강 20130203
시스템 관리자를 위한 리눅스강의 1강 20130203
 
Linux+정리
Linux+정리Linux+정리
Linux+정리
 
1주차 리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져
1주차   리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져1주차   리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져
1주차 리눅스의 이해 및 설치, 파티션과 파일 시스템, 부팅매니져
 
[IoT] MAKE with Open H/W + Node.JS - 2nd
[IoT] MAKE with Open H/W + Node.JS - 2nd[IoT] MAKE with Open H/W + Node.JS - 2nd
[IoT] MAKE with Open H/W + Node.JS - 2nd
 

Viewers also liked

ολοκαύτωμα κατοχή
ολοκαύτωμα κατοχή ολοκαύτωμα κατοχή
ολοκαύτωμα κατοχή Ioanna Nikitopoulou
 
Amazonwhitepaper 110511144038-phpapp01
Amazonwhitepaper 110511144038-phpapp01Amazonwhitepaper 110511144038-phpapp01
Amazonwhitepaper 110511144038-phpapp01henryweili
 
Licensed team working procedure
Licensed team working procedureLicensed team working procedure
Licensed team working procedurehenryweili
 
성미급한 사람들을 위한 아파치 설치
성미급한 사람들을 위한 아파치 설치성미급한 사람들을 위한 아파치 설치
성미급한 사람들을 위한 아파치 설치경민 남
 
Licensed team working procedure
Licensed team working procedureLicensed team working procedure
Licensed team working procedurehenryweili
 
Movement of Youth Spring 2011 Newsletter
Movement of Youth Spring 2011 NewsletterMovement of Youth Spring 2011 Newsletter
Movement of Youth Spring 2011 Newslettercharnelw
 
성미급한 사람들을 위한 아파치 설치
성미급한 사람들을 위한 아파치 설치성미급한 사람들을 위한 아파치 설치
성미급한 사람들을 위한 아파치 설치경민 남
 

Viewers also liked (9)

ολοκαύτωμα κατοχή
ολοκαύτωμα κατοχή ολοκαύτωμα κατοχή
ολοκαύτωμα κατοχή
 
Amazonwhitepaper 110511144038-phpapp01
Amazonwhitepaper 110511144038-phpapp01Amazonwhitepaper 110511144038-phpapp01
Amazonwhitepaper 110511144038-phpapp01
 
Licensed team working procedure
Licensed team working procedureLicensed team working procedure
Licensed team working procedure
 
성미급한 사람들을 위한 아파치 설치
성미급한 사람들을 위한 아파치 설치성미급한 사람들을 위한 아파치 설치
성미급한 사람들을 위한 아파치 설치
 
2016’s resolution
2016’s resolution2016’s resolution
2016’s resolution
 
Licensed team working procedure
Licensed team working procedureLicensed team working procedure
Licensed team working procedure
 
Movement of Youth Spring 2011 Newsletter
Movement of Youth Spring 2011 NewsletterMovement of Youth Spring 2011 Newsletter
Movement of Youth Spring 2011 Newsletter
 
성미급한 사람들을 위한 아파치 설치
성미급한 사람들을 위한 아파치 설치성미급한 사람들을 위한 아파치 설치
성미급한 사람들을 위한 아파치 설치
 
基調講演2015/11
基調講演2015/11基調講演2015/11
基調講演2015/11
 

Similar to 성미급한 사람들을 위한 아파치 설치

Story About Git_oh4851
Story About Git_oh4851Story About Git_oh4851
Story About Git_oh4851Hyeok Oh
 
Window에서 Rcplex 설치 가이드
Window에서 Rcplex 설치 가이드Window에서 Rcplex 설치 가이드
Window에서 Rcplex 설치 가이드Jinwoo Kim
 
IoT with Raspberry Pi + Node JS - Chapter 1
IoT with Raspberry Pi + Node JS - Chapter 1IoT with Raspberry Pi + Node JS - Chapter 1
IoT with Raspberry Pi + Node JS - Chapter 1Park Jonggun
 
하둡 설치(의사분산모드)
하둡 설치(의사분산모드)하둡 설치(의사분산모드)
하둡 설치(의사분산모드)Kwangyoung Jeon
 
Git 더하기 GitHub(Git클라이언트 활용) / Getting started with git+github
Git 더하기 GitHub(Git클라이언트 활용) / Getting started with git+githubGit 더하기 GitHub(Git클라이언트 활용) / Getting started with git+github
Git 더하기 GitHub(Git클라이언트 활용) / Getting started with git+githubJunyoung Lee
 
Hyperledger Explorer.pptx
Hyperledger Explorer.pptxHyperledger Explorer.pptx
Hyperledger Explorer.pptxwonyong hwang
 

Similar to 성미급한 사람들을 위한 아파치 설치 (8)

Story About Git_oh4851
Story About Git_oh4851Story About Git_oh4851
Story About Git_oh4851
 
Window에서 Rcplex 설치 가이드
Window에서 Rcplex 설치 가이드Window에서 Rcplex 설치 가이드
Window에서 Rcplex 설치 가이드
 
IoT with Raspberry Pi + Node JS - Chapter 1
IoT with Raspberry Pi + Node JS - Chapter 1IoT with Raspberry Pi + Node JS - Chapter 1
IoT with Raspberry Pi + Node JS - Chapter 1
 
linux1
linux1linux1
linux1
 
하둡 설치(의사분산모드)
하둡 설치(의사분산모드)하둡 설치(의사분산모드)
하둡 설치(의사분산모드)
 
Git 더하기 GitHub(Git클라이언트 활용) / Getting started with git+github
Git 더하기 GitHub(Git클라이언트 활용) / Getting started with git+githubGit 더하기 GitHub(Git클라이언트 활용) / Getting started with git+github
Git 더하기 GitHub(Git클라이언트 활용) / Getting started with git+github
 
JetsonTX2 Python
 JetsonTX2 Python  JetsonTX2 Python
JetsonTX2 Python
 
Hyperledger Explorer.pptx
Hyperledger Explorer.pptxHyperledger Explorer.pptx
Hyperledger Explorer.pptx
 

성미급한 사람들을 위한 아파치 설치