- 버전확인
# httpd -v
2.4
# 설정파일
/etc/httpd/conf/httpd.conf
# 루트디렉토리 (DocumentRoot)
/var/www/html
- Apache 상태확인
# systemctl status httpd
# service httpd status
- Apache 시작
# systemctl start httpd
# service httpd start
# apachectl start
- Apache 중지
# systemctl stop httpd
# service httpd stop
# apachectl stop
- Apache 재시작
# systemctl restart httpd
# service httpd restart
# apachectl restart
'Infra Structure > WAS' 카테고리의 다른 글
[JBoss] Context root 설정 (0) | 2021.08.29 |
---|---|
[JBoss] 외부접속 허용하기 (0) | 2021.08.29 |
[web]Java Thread Dump Analyzer (0) | 2021.08.23 |
[Tomcat] 서버 정보 노출 방지 (0) | 2021.08.20 |
[Tomcat] SSL 적용하기 (0) | 2021.08.19 |