Identity corner color gamut (type) identity corner color gamut James Male in men's restroom small red female in female restroom enable selinuxsetup modify configuration file vimetcselinuxconfigSELINUXenforcingSELINUXTYPEtargeted in order to ensure normal auditing and some graphics manage identity role domains) identity role domain James Male in male restroom small red female in female restroom enable selinux setup to modify the configuration file # vim/etc/selinux/configSELINUX = enforcingSELINUXTYPE = targeted to ensure normal auditing and some graphic management tools are normal, make sure that the following services enable [*] auditd [*] messagebus [*] setroubleshoot related tools # getsebool-a # system-config-selinux 1. combine Apache with Selinux 1. customize virtual when the host is restarted using the custom website root directory, it will be protected by selinux, and cannot work normally. 2. configure selinux to make apache work normally. a. You can see that apache is not working properly through the graphical interface. this is caused by selinux # sealert-bb, and you can determine through commands # sealert-/ var/log/audit. log # ls-lZd/var/www/html/drwxr-xr-x root system_u: object_r: httpd_sys_content_t: s0/var/www/html/# chcon-R-t httpd_sys_content_t/share/or # chcon-R -- reference/var/www/html // www
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service