#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, resursivesudo chcon -t httpd_sys_content_t /data/www/html/sites/mysite -R# Allow write only to specific dirssudo chcon -t httpd_sys_rw_content_t /data/www/html/sites/mysite/logs -Rsudo chcon -t httpd_sys_rw_content_t /data/www/html/sites/mysite/uploads -R
Post a Comment