Web Server & WAS/Apache
Apache Installation on Centos7
Linzyseo
2018. 12. 6. 16:20
Environment
CentOS7
Installation
# yum install -y httpd
Apache
# systemctl start httpd.service
# systemctl enable httpd.service
# systemctl status httpd.service
Install Test
http://ip_or_domain 접속하여 다음과 같은 화면이 보여지면 설치 및 실행이 정상적으로 이루어진 것이다.
Configuration File
- Apache의 설정파일은 '/etc/httpd/conf/httpd.conf' 이다.
- /etc/httpd/conf.d 디렉터리는 추가적인 웹 서버 설정파일을 포함한다.
httpd.conf 파일에서는 conf.d/*.conf 파일을 모두 Include 한다.