{"id":4283,"date":"2023-03-24T13:55:07","date_gmt":"2023-03-24T13:55:07","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=4283"},"modified":"2023-03-27T23:48:00","modified_gmt":"2023-03-27T23:48:00","slug":"how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/","title":{"rendered":"How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/selinux_disable_en.jpg\" alt=\"Disable SELinux in CentOS \/ RHEL - 7\/8\nand Alma Linux \/ Rocky Linux tutorial\" class=\"wp-image-4310\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/selinux_disable_en.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/selinux_disable_en-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/selinux_disable_en-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/selinux_disable_en-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/selinux_disable_en-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>Ensuring server security is a critical component of server management, but smaller or personal projects may compromise some aspects of security. In the realm of Linux distributions, many already have robust security protocols in place. Among them, CentOS 7 and RHEL are widely recognized as the most dependable security options across Linux, thanks to their SELinux multi-level security protection.<\/p>\n\n\n\n<p>Despite its benefits, excessive security measures can occasionally impede every day and community activities. Therefore, disabling certain measures may become necessary. This post aims to instruct you on how to disable SELinux in CentOS 7.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-selinux\">What is SELinux?<\/h2>\n\n\n\n<p>SELinux is a security control feature installed on your system, which restricts access to specific Kernel modules. By default, CentOS 7 and RHEL incorporate this feature to offer an extra layer of security to the system. However, other Linux distributions, like Debian, can also implement it.<\/p>\n\n\n\n<p>SELinux operates via specific policies, known as \u201crules,\u201d that permit or restrict the use of certain applications for critical system components. The creation of such policies can be a challenging task.<\/p>\n\n\n\n<p>SELinux has three distinct states:<\/p>\n\n\n\n<ul>\n<li>The&nbsp;<strong>Enforcing<\/strong>&nbsp;state denies any unauthorized access, and enabling this state is referred to as having SELinux enabled.<\/li>\n\n\n\n<li>In the&nbsp;<strong>Permissive<\/strong>&nbsp;state, SELinux generates warnings. Unlike the enforcing state, unauthorized access is allowed, but a warning is displayed.<\/li>\n\n\n\n<li>The&nbsp;<strong>Disable<\/strong>&nbsp;state means that the SELinux feature is turned off, and access is permitted without warnings.<\/li>\n<\/ul>\n\n\n\n<p>Having learned how SELinux functions, we can now determine whether it is worth disabling.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"disabling-selinux\">Disabling SELinux<\/h2>\n\n\n\n<p>There are two ways to disable SELinux: temporarily or permanently. Each method has its own advantages. Temporarily disabling it enables us to test the system without compromising its security. Upon system restart, SELinux will automatically reactivate.<\/p>\n\n\n\n<p>Conversely, permanently deactivating SELinux can increase productivity, particularly for personal or medium-sized projects. It is essential to note that most Linux distributions have robust security policies in place at this stage, so this approach may be feasible.<\/p>\n\n\n\n<p>This post will instruct you on how to perform both temporary and permanent SELinux deactivation on CentOS 7.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disable-selinux-temporarily-on-centos-7\">Disable SELinux Temporarily on CentOS 7<\/h3>\n\n\n\n<p>To begin, we must establish an SSH connection to access the server. Execute the following command to achieve this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ ssh your-user@your-server<\/code><\/pre>\n\n\n\n<p>Alternatively, if we are using CentOS on our personal computer, we can open the terminal.<\/p>\n\n\n\n<p>Next, we must verify the status of SELinux, which can be accomplished by executing the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sestatus<\/code><\/pre>\n\n\n\n<p>The output will notify us that SELinux is enabled with the enforcing state.<\/p>\n\n\n\n<p>To temporarily disable SELinux, we can execute the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ su\n$ setenforce 0<\/code><\/pre>\n\n\n\n<p>We must then verify the SELinux status again.<\/p>\n\n\n\n<p>The output will indicate that SELinux is now in permissive mode, allowing us to use the system with ease.<\/p>\n\n\n\n<p>As this method temporarily disables SELinux, changes will be automatically applied during restart when SELinux is reactivated. The main benefit of this method is that it does not require a system reboot.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disable-selinux-permanently-on-centos-7\">Disable SELinux Permanently on CentOS 7<\/h3>\n\n\n\n<p>In order to permanently disable SELinux, we will need to edit a configuration file. To begin, we will need to install the nano text editor by executing the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ yum install nano<\/code><\/pre>\n\n\n\n<p>Next, we must modify the SELinux configuration file.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ nano \/etc\/sysconfig\/selinux<\/code><\/pre>\n\n\n\n<p>To disable SELinux permanently, we need to modify the SELinux configuration file. The file contains various values that can be assigned to SELinux, representing the different states it can take. In order to completely disable it, we will set the value to &#8220;Disabled&#8221; as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ SELINUX=disabled<\/code><\/pre>\n\n\n\n<p>Once this is done, we need to save the file by pressing&nbsp;<strong>CTRL+O<\/strong>&nbsp;and then close it with&nbsp;<strong>CTRL+X<\/strong>. To ensure the changes have taken effect, we need to reboot the system and then check the status of SELinux by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sestatus<\/code><\/pre>\n\n\n\n<p>By doing this, we will have successfully disabled SELinux in CentOS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Re-enabling SELinux on CentOS<\/h2>\n\n\n\n<p><strong>By enabling SELinux, you can enhance the security of your system<\/strong>, particularly in scenarios where the system is exposed to potentially hostile environments or where sensitive data is stored or processed. It can also be useful in situations where untrusted third-party applications are running on the system.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo setenforce 1<\/code><\/pre>\n\n\n\n<p>This command changes the SELinux mode to \u201cenforcing\u201d immediately, but the change will not persist across reboots.<\/p>\n\n\n\n<p>To make the change persistent, edit the SELinux configuration file <code>\/etc\/selinux\/config<\/code> using a text editor such as nano or vim.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/etc\/selinux\/config<\/code><\/pre>\n\n\n\n<p>Locate the line that starts with <code>SELINUX=<\/code> and change its value to <code>enforcing<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">SELINUX=enforcing<\/code><\/pre>\n\n\n\n<p>Save the changes to the file and exit the text editor.<\/p>\n\n\n\n<p>After reboot your system for the changes to take effect.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>While SELinux provides excellent security to CentOS, some may find it bothersome or inconvenient. Before deciding to disable any security feature, one should always consider the potential risks.<\/p>\n\n\n\n<p>In this post, we have demonstrated how to disable SELinux temporarily or permanently, depending on your needs. We hope this tutorial has been useful to you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ensuring server security is a critical component of server management, but smaller or personal projects may compromise some aspects of security. In the realm of Linux distributions, many already have robust security protocols in place. Among them, CentOS 7 and RHEL are widely recognized as the most dependable security options across Linux, thanks to their ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[69,3],"tags":[],"yoast_head":"\n<title>How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"This tutorial explains how to disable SELinux on CentOS 7 \/ 8 and RHEL and Alma Linux \/ Rocky Linux. It provides step-by-step instructions on how to disable SELinux temporarily and permanently, and how to verify the status of SELinux after disabling it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"This tutorial explains how to disable SELinux on CentOS 7 \/ 8 and RHEL and Alma Linux \/ Rocky Linux. It provides step-by-step instructions on how to disable SELinux temporarily and permanently, and how to verify the status of SELinux after disabling it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-24T13:55:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-27T23:48:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/selinux_disable_en.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux\",\"datePublished\":\"2023-03-24T13:55:07+00:00\",\"dateModified\":\"2023-03-27T23:48:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/\"},\"wordCount\":815,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Linux system administration\",\"Security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/\",\"name\":\"How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2023-03-24T13:55:07+00:00\",\"dateModified\":\"2023-03-27T23:48:00+00:00\",\"description\":\"This tutorial explains how to disable SELinux on CentOS 7 \/ 8 and RHEL and Alma Linux \/ Rocky Linux. It provides step-by-step instructions on how to disable SELinux temporarily and permanently, and how to verify the status of SELinux after disabling it.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1786053701\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1786053701\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux - WebHi Tutorials &amp; Documentations","description":"This tutorial explains how to disable SELinux on CentOS 7 \/ 8 and RHEL and Alma Linux \/ Rocky Linux. It provides step-by-step instructions on how to disable SELinux temporarily and permanently, and how to verify the status of SELinux after disabling it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/","og_locale":"en_US","og_type":"article","og_title":"How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux - WebHi Tutorials &amp; Documentations","og_description":"This tutorial explains how to disable SELinux on CentOS 7 \/ 8 and RHEL and Alma Linux \/ Rocky Linux. It provides step-by-step instructions on how to disable SELinux temporarily and permanently, and how to verify the status of SELinux after disabling it.","og_url":"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2023-03-24T13:55:07+00:00","article_modified_time":"2023-03-27T23:48:00+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2023\/03\/selinux_disable_en.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux","datePublished":"2023-03-24T13:55:07+00:00","dateModified":"2023-03-27T23:48:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/"},"wordCount":815,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Linux system administration","Security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/","url":"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/","name":"How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2023-03-24T13:55:07+00:00","dateModified":"2023-03-27T23:48:00+00:00","description":"This tutorial explains how to disable SELinux on CentOS 7 \/ 8 and RHEL and Alma Linux \/ Rocky Linux. It provides step-by-step instructions on how to disable SELinux temporarily and permanently, and how to verify the status of SELinux after disabling it.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/how-to-disable-selinux-in-centos-rhel-7-8-and-alma-linux-rocky-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"How to disable SELinux in CentOS \/ RHEL 7\/8 and Alma Linux \/ Rocky Linux"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1786053701","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1786053701","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/4283"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=4283"}],"version-history":[{"count":18,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/4283\/revisions"}],"predecessor-version":[{"id":4468,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/4283\/revisions\/4468"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=4283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=4283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=4283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}