Correct steps to disable SELinux in Redhat

Source: Internet
Author: User
Since FC3, RedHat has used SELinux to enhance security. However, it is sometimes too cumbersome to use and you want to disable it. However, if there is no graphic interface at the time of Server installation, it is really difficult to find a place to close. The correct method is as follows: Modify selinux = "" in the/etc/SELINUX/config file to disabled, and then restart. It's easy. Update: Install ZendOptione in a system with selinux.

Since FC3, RedHat has used SELinux to enhance security. However, it is sometimes too cumbersome to use and you want to disable it. However, if there is no graphic interface at the time of Server installation, it is really difficult to find a place to close.

The correct method is as follows: Modify selinux = "" in the/etc/SELINUX/config file to disabled, and then restart.

It's easy.

Update: Install Zend Optione in a system with selinux. One way is to disable Selinux, And the other way is to execute chcon ZendOptimizer. so-t shlib_t to solve the problem.

You can also set the number of Kernel commands in the Kernel command column. That is, use the Boot loader to set this parameter. In common GRUB, you can set the following parameters in/etc/grub. conf:

Kernel/boot/vmlinuz-2.6.1 ro selinux = 0 root = LABEL =/

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.