CentOS Guide

Started by MHammett, May 30, 2015, 09:11:23 AM

Previous topic - Next topic

MHammett

I have some recommendations of things to change and some issues I found when following the CentOS 7 guide.


  • Will have to modify seLinux to permit httpd to run on port 8082 (semanage port -m -t http_port_t -p tcp 8082) (although maybe the later nictool.pp made my efforts wasted)
  • To open the firewall to httpd:  firewall-cmd --permanent --zone=public --add-service=http
  • add something like the below section on mod_authz_core to z_nictool.conf to allow people to actually get to the web server
  • Probably forgot some more




   <IfModule mod_authz_core.c>
     # Apache 2.4
     <RequireAny>
#       Require ip 127.0.0.1
#       Require ip ::1
       Require all granted
     </RequireAny>
   </IfModule>
   <IfModule !mod_authz_core.c>
     # Apache 2.2
     Order Deny,Allow
     Deny from All
     Allow from 127.0.0.1
     Allow from ::1
   </IfModule>