•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

如何禁用SELinux的?

  • Home
  • Client
  • Qa Forum
  • 如何禁用SELinux的?

Posted By: Test | 1 Replies | Last Reply On: Sep 23, 2015 14:18:53

selinux

如何禁用SELinux的?

Psychz - Luis

Votes: 0Posted On: Sep 23, 2015 14:18:53
 

安全,提升是一个Linux内核安全模块,提供访问控制策略,以Linux应用程序。 SELinux的可能是一个问题的应用程序,如果它不是正确配置,例如Apache的页面可以显示403禁地,SSH根/用户登录将继续拒绝登录,MySQL连接被丢弃,JAVA断开连接,玩家的Minecraft将下降。可以引起故障排除TME小时的问题很多,我不建议禁用SELinux的,但鼓励用户了解如何使用它,但没有多少人想学的东西,他们不会被管理锁具,因此禁用了SELinux是比较容易的事情。

1.检查SELinux的是让你的本地Linux机器上。

 [root@lb ~]# sestatus -v 
SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: enforcing Policy version: 21 Policy from config file: targeted



2. 禁用了SELinux无需重启
[root@x ~]# setenforce 0
setenforce: SELinux is disabled



3. 手动禁用SELinux,以防止它areboot后重新启用。
vi or nano /etc/selinux/config change SELINUX=enforcing to SELINUX=disabled ,保存更改。




Was this reply helpful?

Related topics

  • 在对比:SQL VS的NoSql
  • sObject - SSE (Server Side Encryption) Guide
  • The ELK Stack: Elasticsearch, Logstash, Kibana.
  • Scaling your Business with a Dedicated Server and Containers
  • SSH without Password
  • Quad Cores Dedicated Server
  • Psychz网络保障剪切滥用和垃圾邮件的近100%
  • OpenStack的101:你需要知道的
  • Linux Antivirus Software
  • How to remotely connect to a Linux machine using a smartphone?
  • How To Be A Successful Hosting Reseller
  • Fastest Dedicated Server Hosting
  • CDN Cache Intro
  • CDN Cache
  • Best Dedicated Server Hosting in Europe
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801