<br>
<b>Warning</b>:  Undefined array key "HTTP_REFERER" in <b>/home/webhostingchenna/domains/webhostingchennai.co.in/public_html/blog/wp-content/plugins/wp-linkbuilder/plugin/plugin_class.inc.php</b> on line <b>637</b><br>
{"id":731,"date":"2018-02-19T16:48:48","date_gmt":"2018-02-19T11:18:48","guid":{"rendered":"http:\/\/www.webhostingchennai.co.in\/blog\/?p=731"},"modified":"2019-07-17T11:33:56","modified_gmt":"2019-07-17T06:03:56","slug":"disable-selinux-centos","status":"publish","type":"post","link":"https:\/\/www.webhostingchennai.co.in\/blog\/disable-selinux-centos\/","title":{"rendered":"Step by step guide &#8211; Disable SELinux on CentOS 7\/6"},"content":{"rendered":"<h4><span style="">Step by step guide &#8211; Disable SELinux on CentOS 7\/6<\/span><\/h4>\n<p>SELinux is a set of extra security restrictions on top of the normal <a href="">Linux security tools<\/a>. It gives the systems administrator a finer grain of control than what the kernel typically provides.<\/p>\n<p><img loading=""><\/p>\n</p><p>Here is the small guide for disabling SELinux on <a href="">CentOS<\/a><\/p>\n<p>Edit the \/etc\/selinux\/config.<\/p>\n</p><pre>[root@webhostingchennai \/]# nano\u00a0\/etc\/selinux\/config<\/pre>\n<p>Change from <strong>SELinux=enforcing<\/strong><\/p>\n<pre># This file controls the state of SELinux on the system.\r\n# SELINUX= can take one of these three values:\r\n# enforcing - SELinux security policy is enforced.\r\n# permissive - SELinux prints warnings instead of enforcing.\r\n# disabled - No SELinux policy is loaded.\r\n<strong>SELINUX=enforcing<\/strong>\r\n# SELINUXTYPE= can take one of these two values:\r\n# targeted - Targeted processes are protected,\r\n# minimum - Modification of targeted policy. Only selected processes are pr$\r\n# mls - Multi Level Security protection.\r\nSELINUXTYPE=targeted<\/pre>\n<p>to\u00a0<strong>SELinux=disabled<\/strong><\/p>\n<pre># This file controls the state of SELinux on the system.\r\n# SELINUX= can take one of these three values:\r\n# enforcing - SELinux security policy is enforced.\r\n# permissive - SELinux prints warnings instead of enforcing.\r\n# disabled - No SELinux policy is loaded.\r\n<strong>SELINUX=disabled<\/strong>\r\n# SELINUXTYPE= can take one of these two values:\r\n# targeted - Targeted processes are protected,\r\n# minimum - Modification of targeted policy. Only selected processes are pr$\r\n# mls - Multi Level Security protection.\r\nSELINUXTYPE=targeted<\/pre>\n<p>This setup will disable SELinux on next reboot.<\/p>\n</p><p>To disable SELinux without rebooting, use the following command.<\/p>\n</p><pre>[root@webhostingchennai \/]# setenforce 0<\/pre>\n<p>This command will disable SELinux until you reboot the system.<\/p>\n</p><p>Now, the SELinux has been disabled<\/p>\n","protected":false},"excerpt":{"rendered":"</p><p>&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":935,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[89,90],"class_list":["post-731","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-disabling-selinux","tag-selinux-options"],"_links":{"self":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts\/731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/comments?post=731"}],"version-history":[{"count":6,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts\/731\/revisions"}],"predecessor-version":[{"id":1558,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts\/731\/revisions\/1558"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/media\/935"}],"wp:attachment":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/media?parent=731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/categories?post=731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/tags?post=731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}</p></pre></strong></pre></strong></p></strong></pre></strong></p></pre></a></p></a></p></span></h4>