Currently, the programs that can provide web services include IIS, Nginx and Apache. Among them, IIS (Internet Information Services, Internet Information Services) is the default Web service program in the Windows system. This is a graphical website management tool that can not only provide Web site services, but also FTP, NMTP, SMTP and other services. .
In the main configuration file of the httpd service program, there are three types of information: comment line information, global configuration, and regional configuration.
SELinux (Security-Enhanced Linux) is a mandatory access control (MAC, Mandatory Access Control) security subsystem developed by the US National Security Agency with the help of the Linux open source community. The purpose of the RHEL 7 system using SELinux technology is to restrict each service process so that it can only obtain the resources it should have obtained.
There are three configuration modes for SELinux service, as follows.
enforcing: Enforcing the security policy mode will intercept illegal requests for services.
permissive: When encountering unauthorized access to a service, only a warning is issued without mandatory interception.
disabled: Do not warn or block unauthorized actions.