<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 data-recalc-dims=""><\/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":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"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"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/02\/SeLinux.jpg?fit=640%2C258&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9NOHH-bN","jetpack-related-posts":[{"id":832,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/installing-observium-on-centos-7\/","url_meta":{"origin":731,"position":0},"title":"Installing Observium on CentOS 7 &#8211; (Step by Step Guide)","author":"Cavin","date":"April 30, 2018","format":false,"excerpt":"How to install Observium on CentOS 7 Installing Observium on CentOS 7 Observium: A Complete Network Management and Monitoring System. It is a PHP\/MySQL driven Network Observation and Monitoring application, that supports a wide range of operating systems\/hardware platforms including, Linux, Windows, FreeBSD, Cisco, HP, Dell, NetApp and more. It\u2026","rel":"","context":"In &quot;MONITORING TOOLS&quot;","block_context":{"text":"MONITORING TOOLS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/monitoring-tools\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/04\/oservium.jpg?fit=660%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/04\/oservium.jpg?fit=660%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/04\/oservium.jpg?fit=660%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":581,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/install-configure-nagios-centos-7\/","url_meta":{"origin":731,"position":1},"title":"Install and Configure Nagios on CentOS 7","author":"Cavin","date":"July 26, 2017","format":false,"excerpt":"Install and configure NAGIOS on CentOS 7 Let see about NAGIOS, Nagios is an open source monitoring system,It was designed with core components to run on the Linux operating system and can monitor devices running Linux, Windows and Unix Operating systems. Nagios runs periodic checks on critical parameters of application,\u2026","rel":"","context":"In &quot;MONITORING TOOLS&quot;","block_context":{"text":"MONITORING TOOLS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/monitoring-tools\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/07\/Nagios.jpg?fit=640%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/07\/Nagios.jpg?fit=640%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/07\/Nagios.jpg?fit=640%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":661,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/disabling-direct-root-login\/","url_meta":{"origin":731,"position":2},"title":"Disabling direct root login and Permitting through &#8220;su&#8221; user in Linux","author":"Cavin","date":"January 2, 2018","format":false,"excerpt":"Disabling direct root login and Permitting through \"su\" user in Linux Does everyone knows, nowadays we have facing number of Hacking attempts. Especially in linux servers,\u00a0 we need to enable\/disable some components to prevent those kind of hacking attempts. By default the root user is enabled in linux server and\u2026","rel":"","context":"In &quot;VPS&quot;","block_context":{"text":"VPS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/vps\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/01\/SSH-Root.jpg?fit=640%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/01\/SSH-Root.jpg?fit=640%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/01\/SSH-Root.jpg?fit=640%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":461,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/installing-cacti-monitoring-tool-on-centos-7\/","url_meta":{"origin":731,"position":3},"title":"Installing Cacti Monitoring Tool on CentOS 7","author":"Cavin","date":"July 11, 2017","format":false,"excerpt":"Installing Cacti Monitoring Tool on CentOS 7 Let us see about cacti,\u00a0Cacti is a complete front end \u00a0RRDTool(round-robin database tool), it stores all of the vital information to create graphs and populate them with data in a MySQL database. Along with this, it is capable\u00a0 to maintain Graphs, Data Sources,\u2026","rel":"","context":"In &quot;MONITORING TOOLS&quot;","block_context":{"text":"MONITORING TOOLS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/monitoring-tools\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/07\/cacti.jpg?fit=640%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/07\/cacti.jpg?fit=640%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/07\/cacti.jpg?fit=640%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1412,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/installing-icinga-web-2-on-centos7\/","url_meta":{"origin":731,"position":4},"title":"Installing Icinga web 2 on CentOS7 \/ RHEL 7","author":"Cavin","date":"March 30, 2019","format":false,"excerpt":"Installing Icinga web 2 on CentOS7 \/ RHEL 7 In this post we are going to see the installation of Icinga web 2, a web interface for Icinga 2 where we can monitor our whole infrastructure in single place. Icinga is an open-source computer system and network monitoring application. It\u2026","rel":"","context":"In &quot;MONITORING TOOLS&quot;","block_context":{"text":"MONITORING TOOLS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/monitoring-tools\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/03\/icingaweb2.jpg?fit=640%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/03\/icingaweb2.jpg?fit=640%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/03\/icingaweb2.jpg?fit=640%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1496,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/pgadmin-4-installation-steps\/","url_meta":{"origin":731,"position":5},"title":"pgAdmin 4 : Installation steps on centOS 7","author":"Cavin","date":"April 12, 2019","format":false,"excerpt":"pgAdmin 4 : Installation steps on centOS 7 pgAdmin,\u00a0 a free and open source management tool for PostgreSQL and derivative relation databases like EDB Advanced Server. This can be installed on multiple OS platforms like Linux, Unix, Mac OS X, and Windows to manage PostgreSQL 9.2 and above. pgAdmin can\u2026","rel":"","context":"In &quot;DATABASE&quot;","block_context":{"text":"DATABASE","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/database\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/04\/pgadmin.jpg?fit=640%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/04\/pgadmin.jpg?fit=640%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/04\/pgadmin.jpg?fit=640%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_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>