Fixed php pkg list and SeLinux

This commit is contained in:
2020-12-04 15:52:41 +01:00
parent ae6a1f7433
commit 38d7b021de
5 changed files with 18 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ if [ "$shortdist" = "cent8" ]; then
semanage port -a -t ssh_port_t -p tcp 4242
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
semanage fcontext -a -t httpd_sys_rw_content_t /var/www/ > $OUTPUT 2>&1
restorecon -vr /var/www/ > $OUTPUT 2>&1
#Motd