Fixed Selinx www folder
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
##--------------------##
|
||||
if [ "$shortdist" = "cent8" ]; then
|
||||
semanage port -a -t ssh_port_t -p tcp 4242
|
||||
systemctl enable ufw
|
||||
systemctl enable ufw > $OUTPUT 2>&1
|
||||
mkdir /var/www > $OUTPUT 2>&1
|
||||
semanage fcontext -a -t httpd_sys_content_t /var/www/ > $OUTPUT 2>&1
|
||||
restorecon -vr /var/www/ > $OUTPUT 2>&1
|
||||
fi
|
||||
|
||||
##-------##
|
||||
|
||||
Reference in New Issue
Block a user