13일차

netstat -ant | grep 80
command not found
dnf -y install net-tools
systemctl start httpd
systemctl stop httpd

방화벽을 끄거나 포트를 열어줘야됨

firewall-cmd --add-service=http
firewall-cmd --runtime-to-permanent

내용을 바꿀라면 설정파일로 가면됨

/var/www/html

/var/www/html 안에 index.html이 있으면 이것이 1순위 index.php가 2순위

systemctl stop httpd

네트워크 > 21 > 서버 > FTP21 >firewall (21).

dnf -y install vsftpd


firewall-cmd --add-service=ftp
firewall-cmd --runtime-to-permanent