#firewall-cmd --get-active-zones
JIka Active Zone adalah public
#firewall-cmd --zone=dmz --add-port=2888/tcp --permanent
Reload Firewall
#firewall-cmd --reload
Untuk mengaktifkan upload file, kita harus melakukan setting SELinux
# SELinux serve files off Apache, resursive
sudo
chcon -t httpd_sys_content_t
/data/www/html/sites/mysite
-R
# Allow write only to specific dirs
sudo
chcon -t httpd_sys_rw_content_t
/data/www/html/sites/mysite/logs
-R
sudo
chcon -t httpd_sys_rw_content_t
/data/www/html/sites/mysite/uploads
-R
Post a Comment