13일차

header에서 border-bottom bg-light">나는 보안인이다으로 변경 href="/init/profile.php">소개 버튼 이름을 소개로 만들었다 init의 profile에 들어가서 화면을 편집하였다 개인서버를 100번 서버처럼 만들기 su 123456 100 웹서버 hhtp://dozero.kr 192.168.0.201 ~~ 192.168.0.220 서버 접속이 안되는 이유는 서버가 안열려 있거나 포트가 안열려 있어서이다 포트 열어주기
dnf -y install net-tools dnf -y install httpd systemctl start httpd netstat -ant | grep 80


systemctl enable httpd systemctl stop httpd

방화벽 설정
firewall-cmd --add-service=http firewall-cmd --runtime-to-permanent
network > 80 > 서버 > 웹서버 80 > firewall (80) http://192.168.0.210 성★공 you can add content to the directory cd/var/www/html/ touch index.html ls touch index.php /var/www/html 우선순위=index.html(1) index.php(2) network > 21 > 서버 > FTP 21 > firewall (21) dnf -y install vsftpd systemctl start vsftpd netstat -ant | grep 21 firewall-cmd --add-service=ftp firewall-cmd --runtime-to-permanent 이사 설정 이동할때마다 ls 사용하기 cd public_html ls cd study ls tar cvzf study.tar.gz ./ sz study.tar.gz