botang 发表于 2019-6-13 21:18:35

课程第27/28次

添加/www到策略规则:
(整个过程中,tail -n 30 -f /var/log/audit/audit.log)

# semanagefcontext --add -t httpd_sys_content_t '/www(/.*)?'# semanage fcontext -l|grep '/var/www' cd /www
# restorecon -R ./# ls -Zd加上ACL:
(整个过程中,tail -n 30 -f /var/log/httpd/error.log)

# chmod -Ro=    ./# setfacl-m d:u:apache:rwx./在其下,新建index.html
# setfacl -m u:apache:rwx .
---------------------------------------------------------
KVM官网:

https://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers














在实验PXE: ctrl+B, 再打“autoboot”


页: [1]
查看完整版本: 课程第27/28次