19일차 systemctl start named cat /etc/resolv.conf nano /etc/resolv.conf 10.0.2.15 cat /etc/resolv.conf nslookup ysh16.kr systemctl stop firewalld systemctl start httpd systemctl start vsftpd cd /etc/httpd/ nano /etc/httpd/conf.d/userdir.conf #UserDir disabled 주석 처리 userDir public_html 화성화 AllowOveride All Options None Require method GET POST OPTIONS cd /home/master ls mkdir public_hml rmdir public_html cp -r /etc/skel/public_html ./ ls chown master.master -R public_html nano /etc/httpd/conf.d/host.conf DocumentRoot /home/master/public_html ServerName ysh16.kr # settings for new domain DocumentRoot /home/master/public_html ServerName www.ysh16.kr ServerAdmin ysh16@ysh16.kr ErrorLog logs/error_log CustomLog logs/access_log combined Options FollowSymLinks AllowOverride All systemctl restart httpd chmod 711 $HOME chmod 755 /home/master/public_html/