엔지니어 은성의 성장록

[Apache] CentOS 7.8에 Apache서버 설치(Install) 본문

카테고리 없음

[Apache] CentOS 7.8에 Apache서버 설치(Install)

엔지니어 은성 2021. 9. 7. 17:49

▶ Apache Web 서버란 

- 아파치 소프트웨어 재단에서 관리하는 오픈소스 웹 서버

- 리눅스를 OS로 하여 가장 많이 사용

- APM Apache + PHP + MySQL 중 A를 담당 

 

▶ Apache 공식 사이트

https://www.apache.org/

 

Welcome to The Apache Software Foundation!

Official ASF reports and statements, including Quarterly and Annual Reports, Vision Statement, "Apache is Open", 5-Year Strategic Plan, and more.

www.apache.org

▶ 설치 환경

- Cent OS 7.8

- Web Server : Apache 2.4.6

 

▶ 설치하기 

○ 패키지 설치하기

# yum install -y httpd

 

○ 패키지 설치 확인

# rpm -qa httpd

실행화면

○ 서비스 생성 확인 및 기동 

// 설치 전에 없었던 서비스가 설치 후 자동으로 생성
# systemctl status httpd

//서비스를 위해 실행을 시킴
# systemctl start httpd

//포트 리스닝 확인
# netstat -tnlp

실행화면

▶ Virtual Box 네트워크 설정/  포트 포워딩 

▶ 포트 포워딩 세팅

 

Comments