아파치 설치
$ yum -y install httpd
$ systemctl restart httpd
$ systemctl enable httpd
$ firewall-cmd --permanent --add-service=http
- index.html 파일 위치
/var/www/html/
'Linux' 카테고리의 다른 글
리눅스 ssh 설치 및 방화벽 설정 (0) | 2022.08.10 |
---|---|
ps 명령어 정리 (0) | 2022.08.10 |
Firewall 명령어 정리 (0) | 2022.08.10 |
SELinux 정리 (0) | 2022.08.10 |
리눅스 DNS 설정 (0) | 2022.08.10 |